mirror of
https://github.com/Casvt/MIND.git
synced 2026-04-25 03:00:20 -04:00
Added 2FA in the backend
This commit is contained in:
@@ -382,3 +382,16 @@ class MigrateAddCronScheduleColumn(DBMigrator):
|
||||
COMMIT;
|
||||
PRAGMA foreign_keys = ON;
|
||||
""")
|
||||
|
||||
|
||||
class MigrateAddMFAColumn(DBMigrator):
|
||||
start_version = 13
|
||||
|
||||
def run(self) -> None:
|
||||
# V13 -> V14
|
||||
|
||||
get_db().executescript("""
|
||||
ALTER TABLE users
|
||||
ADD mfa_apprise_url TEXT;
|
||||
""")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user