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