t3-code-android-nightly/.repos/alchemy-effect/examples/stripe-connect/migrations/0001_init.sql
Julius Marminge e3c85ead63
chore(refs): sync Effect and Alchemy references to rc.115 and beta.78 (#12327)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-17 23:21:25 -07:00

10 lines
394 B
SQL

CREATE TABLE merchants (
id text PRIMARY KEY,
email text NOT NULL,
-- Stripe flips these on account.updated once hosted onboarding is done.
details_submitted integer NOT NULL DEFAULT 0,
charges_enabled integer NOT NULL DEFAULT 0,
payouts_enabled integer NOT NULL DEFAULT 0,
created_at integer NOT NULL DEFAULT (unixepoch()),
updated_at integer NOT NULL DEFAULT (unixepoch())
);