wip
This commit is contained in:
parent
cf2cbbde22
commit
e46a1e3161
1 changed files with 1 additions and 4 deletions
|
@ -15,10 +15,7 @@ setup = '''
|
||||||
CREATE TABLE users (
|
CREATE TABLE users (
|
||||||
"id" BIGSERIAL PRIMARY KEY,
|
"id" BIGSERIAL PRIMARY KEY,
|
||||||
"name" varchar(255) NOT NULL,
|
"name" varchar(255) NOT NULL,
|
||||||
"domain_id" BIGSERIAL NOT NULL,
|
"domain_id" BIGSERIAL REFERENCES domains(id),
|
||||||
CONSTRAINT "fk_domain"
|
|
||||||
FOREIGN KEY("domain_id")
|
|
||||||
REFERENCES domains("id"),
|
|
||||||
"password" varchar(255) NULL,
|
"password" varchar(255) NULL,
|
||||||
"redirect" varchar(255) DEFAULT NULL
|
"redirect" varchar(255) DEFAULT NULL
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue