fix(be): totp migration
Some checks failed
Dev / build-local (push) Has been cancelled
Dev / migrate-boltdb (push) Has been cancelled
Dev / migrate-mysql (push) Has been cancelled
Dev / migrate-mariadb (push) Has been cancelled
Dev / migrate-postgres (push) Has been cancelled
Dev / integrate-boltdb (push) Has been cancelled
Dev / integrate-mysql (push) Has been cancelled
Dev / integrate-mariadb (push) Has been cancelled
Dev / integrate-postgres (push) Has been cancelled
Dev / deploy-server (push) Has been cancelled
Dev / deploy-runner (push) Has been cancelled

This commit is contained in:
Denis Gukov 2025-01-04 16:29:12 +05:00
parent 13656ab66f
commit 8b729366b8
No known key found for this signature in database
GPG Key ID: 044381366A5D4731

View File

@ -1,7 +1,7 @@
create table user__totp(
`id` integer primary key autoincrement,
`user_id` int NOT NULL,
`secret` varchar(200) NOT NULL,
`url` varchar(250) NOT NULL,
`created` datetime NOT NULL,
unique (`user_id`),
foreign key (`user_id`) references `user`(`id`) on delete cascade