14 lines
671 B
Markdown
14 lines
671 B
Markdown
create table public.early_player_emails (
|
|
id bigint generated by default as identity not null,
|
|
created_at timestamp with time zone not null default now(),
|
|
email text not null,
|
|
preset text not null default 'founder-card-5',
|
|
constraint early_player_emails_pkey primary key (id),
|
|
constraint early_player_emails_email_key unique (email),
|
|
constraint early_player_emails_email_len check (char_length(email) between 3 and 254),
|
|
constraint early_player_emails_preset_len check (char_length(preset) between 1 and 80)
|
|
);
|
|
|
|
-- Row `id` is the founder card number stamped onto the PNG.
|
|
-- Access is service-role only (RLS on, no policies; anon/authenticated revoked).
|