summaryrefslogtreecommitdiffstats
path: root/db/old_migrations/patch-2fa-invalidate-used-token.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/old_migrations/patch-2fa-invalidate-used-token.sql')
-rw-r--r--db/old_migrations/patch-2fa-invalidate-used-token.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/old_migrations/patch-2fa-invalidate-used-token.sql b/db/old_migrations/patch-2fa-invalidate-used-token.sql
new file mode 100644
index 0000000..2f0b42c
--- /dev/null
+++ b/db/old_migrations/patch-2fa-invalidate-used-token.sql
@@ -0,0 +1,7 @@
+-- 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_last_token VARCHAR(6);
+
+COMMIT;