Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
16 lines
570 B
SQL
16 lines
570 B
SQL
-- Manually maintained blocklist used to prevent account creation
|
|
-- and to seed future autoban decisions.
|
|
create table if not exists signup_blocklist (
|
|
id bigint generated always as identity primary key,
|
|
entry_type text not null check (entry_type in ('ip', 'device_token')),
|
|
value text not null,
|
|
reason text,
|
|
source_user_id text references users (id),
|
|
created_at timestamptz not null default now()
|
|
);
|
|
|
|
create index if not exists idx_signup_blocklist_lookup
|
|
on signup_blocklist (entry_type, value);
|
|
|
|
alter table signup_blocklist enable row level security;
|