hacky-ruadat/staging-diff.sql
2024-01-18 16:55:51 +01:00

6 lines
164 B
SQL

CREATE TABLE IF NOT EXISTS "family" (
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT
);
ALTER TABLE "user" ADD COLUMN "family_id" INTEGER REFERENCES family(id);