predikt/oracle/backend/supabase/shop_orders.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

23 lines
710 B
SQL

-- This file is autogenerated from regen-schema.ts
create table if not exists
shop_orders (
created_time timestamp with time zone default now() not null,
delivered_time timestamp with time zone,
id uuid primary key default gen_random_uuid () not null,
item_id text not null,
metadata jsonb,
price_mana bigint not null,
printful_order_id text,
printful_status text,
quantity integer default 1 not null,
shipped_time timestamp with time zone,
status text default 'CREATED'::text not null,
txn_id text,
user_id text not null
);
-- Indexes
drop index if exists shop_orders_pkey;
create unique index shop_orders_pkey on public.shop_orders using btree (id);