add family
Some checks failed
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled

This commit is contained in:
2024-01-18 16:37:54 +01:00
parent 357ee21533
commit 07c76f4e64
9 changed files with 94 additions and 12 deletions

View File

@ -15,7 +15,12 @@ CREATE TABLE IF NOT EXISTS "user" (
"nickname" text,
"notes" text,
"phone" text,
"address" text
"address" text,
"family_id" INTEGER REFERENCES family(id)
);
CREATE TABLE IF NOT EXISTS "family" (
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT
);
CREATE TABLE IF NOT EXISTS "role" (