summaryrefslogtreecommitdiff
path: root/sql/mysql/migrations
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-05 17:16:48 +0300
committerAndrew Dolgov <[email protected]>2021-03-05 17:16:48 +0300
commit2aed79d729cc91eff4781b01f24e7edb0b2321bc (patch)
tree33ff3354c5ce0bb6acc70c8042a9f53b31aa9712 /sql/mysql/migrations
parentecb94ec23d52f628e2dcd8a20b56e6608d568608 (diff)
schema: add separate otp_secret column
Diffstat (limited to 'sql/mysql/migrations')
-rw-r--r--sql/mysql/migrations/143.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/mysql/migrations/143.sql b/sql/mysql/migrations/143.sql
new file mode 100644
index 000000000..6fb7226b5
--- /dev/null
+++ b/sql/mysql/migrations/143.sql
@@ -0,0 +1,2 @@
+alter table ttrss_users add column otp_secret varchar(250);
+alter table ttrss_users alter column otp_secret set default null;