mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-05 10:59:33 +00:00
Fix foreign key constraints
This commit is contained in:
parent
1a2b050990
commit
27d087b14c
@ -4,6 +4,5 @@ CREATE TABLE "rememberme" (
|
|||||||
"login" varchar(254) not null,
|
"login" varchar(254) not null,
|
||||||
"created" timestamp not null,
|
"created" timestamp not null,
|
||||||
"uses" int not null,
|
"uses" int not null,
|
||||||
FOREIGN KEY ("cid") REFERENCES "user_"("cid"),
|
FOREIGN KEY ("cid","login") REFERENCES "user_"("cid","login")
|
||||||
FOREIGN KEY ("login") REFERENCES "user_"("login")
|
|
||||||
);
|
);
|
||||||
|
@ -4,6 +4,5 @@ CREATE TABLE `rememberme` (
|
|||||||
`login` varchar(254) not null,
|
`login` varchar(254) not null,
|
||||||
`created` timestamp not null,
|
`created` timestamp not null,
|
||||||
`uses` int not null,
|
`uses` int not null,
|
||||||
FOREIGN KEY (`cid`) REFERENCES `user_`(`cid`),
|
FOREIGN KEY (`cid`,`login`) REFERENCES `user_`(`cid`,`login`)
|
||||||
FOREIGN KEY (`login`) REFERENCES `user_`(`login`)
|
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user