hacky-ruadat/staging-diff.sql

6 lines
164 B
MySQL
Raw Normal View History

2024-01-18 16:37:54 +01:00
CREATE TABLE IF NOT EXISTS "family" (
2024-01-18 16:55:51 +01:00
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT
2024-01-18 16:37:54 +01:00
);
ALTER TABLE "user" ADD COLUMN "family_id" INTEGER REFERENCES family(id);