predikt/oracle/backend/scripts/migrate-manalinks.sql
caelum0x 2b68bde5d5 Predikt: full Polymarket-style prediction market — web + mobile + on-chain + bots
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>
2026-07-06 23:29:50 +03:00

20 lines
400 B
SQL

alter table manalinks
alter column id
set default random_alphanumeric (8),
alter column amount
set not null,
alter column creator_id
set not null,
alter column created_time
set default now(),
alter column data
drop not null,
alter column fs_updated_time
drop not null;
alter table manalink_claims enable row level security;
create policy "public read" on manalink_claims for
select
using (true);