rowt/staging-diff.sql
philipp dc794bde37
All checks were successful
CI/CD Pipeline / test (push) Successful in 8m48s
CI/CD Pipeline / deploy-staging (push) Successful in 4m23s
CI/CD Pipeline / deploy-main (push) Has been skipped
try
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);