Adjusted for new db patch management

This commit is contained in:
Ponkhy
2021-09-11 16:37:33 +02:00
parent 8cd5bad44c
commit 295ccba44b
2 changed files with 1 additions and 0 deletions

10
db/patch-2fa.sql Normal file
View File

@@ -0,0 +1,10 @@
-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
BEGIN TRANSACTION;
ALTER TABLE user
ADD twofa_secret VARCHAR(64);
ALTER TABLE user
ADD twofa_status BOOLEAN default 0 NOT NULL;
COMMIT;