6 lines
165 B
SQL
6 lines
165 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);
|