watch/migrations/20240902212954_add-series.sql

13 lines
399 B
MySQL
Raw Normal View History

create table if not exists series (
id uuid default gen_random_uuid() not null primary key,
created timestamptz default now() not null,
updated timestamptz default now() not null,
name text not null,
source text not null check (source in (
'Disney', 'Hulu', 'Paramount', 'Prime', 'Max', 'Netflix', 'Shudder'
)),
source_url text not null,
imdb text null,
wikipedia text null
2024-09-02 21:43:49 +00:00
);