Skip to content

Commit 7eef46b

Browse files
committed
run pnpm db:generate
1 parent bb373bd commit 7eef46b

2 files changed

Lines changed: 1663 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
CREATE TABLE "app_customisation" (
2+
"id" integer PRIMARY KEY DEFAULT 1,
3+
"accent_color" text DEFAULT '#4f46e5' NOT NULL,
4+
"organization_name" jsonb DEFAULT '{"fi":"Kilta ry","en":"Guild Registered Association"}' NOT NULL,
5+
"app_name" jsonb DEFAULT '{"fi":"Jäsenrekisteri","en":"Member Registry"}' NOT NULL,
6+
"logo" bytea,
7+
"logo_dark" bytea,
8+
"favicon" bytea,
9+
"favicon_dark" bytea,
10+
"business_id" text DEFAULT '0123456-7' NOT NULL,
11+
"overseer_contact" text DEFAULT 'hallitus@kilta.fi' NOT NULL,
12+
"overseer_address" text DEFAULT 'Kiltatalo, Otakaari 1, 02150 Espoo' NOT NULL,
13+
"privacy_policy" jsonb DEFAULT '{"fi":"Tämä on jäsenrekisterin tietosuojaseloste.","en":"This is the privacy policy for the membership registry."}' NOT NULL,
14+
"organization_rules_url" text DEFAULT 'https://kilta.fi/saannot' NOT NULL,
15+
"member_resign_rule" text DEFAULT '§67',
16+
"member_resign_default_reason" jsonb DEFAULT '{"fi":"§67 nojalla. Liiallinen brainrot.","en":"By applying of §67. Too much brainrot."}',
17+
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
18+
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
19+
);

0 commit comments

Comments
 (0)