Add missing sql changesets

This commit is contained in:
eikek 2021-09-01 00:43:58 +02:00
parent 9dfe7f30a0
commit 3a5ef62715
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
CREATE TABLE "totp" (
"user_id" varchar(254) not null primary key,
"enabled" boolean not null,
"secret" varchar(254) not null,
"created" timestamp not null,
FOREIGN KEY ("user_id") REFERENCES "user_"("uid") ON DELETE CASCADE
);

View File

@ -0,0 +1,7 @@
CREATE TABLE `totp` (
`user_id` varchar(254) not null primary key,
`enabled` boolean not null,
`secret` varchar(254) not null,
`created` timestamp not null,
FOREIGN KEY (`user_id`) REFERENCES `user_`(`uid`) ON DELETE CASCADE
);