This commit is contained in:
mwiegand 2021-06-14 19:09:22 +02:00
parent cf2cbbde22
commit e46a1e3161

View file

@ -15,10 +15,7 @@ setup = '''
CREATE TABLE users (
"id" BIGSERIAL PRIMARY KEY,
"name" varchar(255) NOT NULL,
"domain_id" BIGSERIAL NOT NULL,
CONSTRAINT "fk_domain"
FOREIGN KEY("domain_id")
REFERENCES domains("id"),
"domain_id" BIGSERIAL REFERENCES domains(id),
"password" varchar(255) NULL,
"redirect" varchar(255) DEFAULT NULL
);