mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-11-02 01:54:38 +01:00
10 lines
394 B
SQL
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())
|
|
);
|