aboutsummaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorDaniel García <[email protected]>2018-06-01 15:08:03 +0200
committerDaniel García <[email protected]>2018-06-01 15:08:03 +0200
commitb0ee5f65703d3f89c7511a8700cfd212b95b36fc (patch)
tree6249bb36bf7af7dbe8f10af5715f572bc1894a4c /migrations
parentdc188211d87c4d7a4b7cd257616ed59b42e12f26 (diff)
downloadvaultwarden-b0ee5f65703d3f89c7511a8700cfd212b95b36fc.tar.gz
vaultwarden-b0ee5f65703d3f89c7511a8700cfd212b95b36fc.zip
Improved two factor auth
Diffstat (limited to 'migrations')
-rw-r--r--migrations/2018-06-01-112529_update_devices_twofactor_remember/down.sql1
-rw-r--r--migrations/2018-06-01-112529_update_devices_twofactor_remember/up.sql3
2 files changed, 4 insertions, 0 deletions
diff --git a/migrations/2018-06-01-112529_update_devices_twofactor_remember/down.sql b/migrations/2018-06-01-112529_update_devices_twofactor_remember/down.sql
new file mode 100644
index 00000000..291a97c5
--- /dev/null
+++ b/migrations/2018-06-01-112529_update_devices_twofactor_remember/down.sql
@@ -0,0 +1 @@
+-- This file should undo anything in `up.sql` \ No newline at end of file
diff --git a/migrations/2018-06-01-112529_update_devices_twofactor_remember/up.sql b/migrations/2018-06-01-112529_update_devices_twofactor_remember/up.sql
new file mode 100644
index 00000000..aaad8eab
--- /dev/null
+++ b/migrations/2018-06-01-112529_update_devices_twofactor_remember/up.sql
@@ -0,0 +1,3 @@
+ALTER TABLE devices
+ ADD COLUMN
+ twofactor_remember TEXT; \ No newline at end of file