aboutsummaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorJeremy Lin <[email protected]>2021-05-01 01:06:06 -0700
committerJeremy Lin <[email protected]>2021-05-11 20:09:57 -0700
commita9a5706764a98fbcda1bc6ac2e0ef5f78ea6c202 (patch)
tree7d0daeb89d81d4242863621e49893a0c545440db /migrations
parente9ee8ac2fa4ea4bafdacd479c06acea0b53aac37 (diff)
downloadvaultwarden-a9a5706764a98fbcda1bc6ac2e0ef5f78ea6c202.tar.gz
vaultwarden-a9a5706764a98fbcda1bc6ac2e0ef5f78ea6c202.zip
Add support for password reprompt
Upstream PR: https://github.com/bitwarden/server/pull/1269
Diffstat (limited to 'migrations')
-rw-r--r--migrations/mysql/2021-04-30-233251_add_reprompt/down.sql0
-rw-r--r--migrations/mysql/2021-04-30-233251_add_reprompt/up.sql2
-rw-r--r--migrations/postgresql/2021-04-30-233251_add_reprompt/down.sql0
-rw-r--r--migrations/postgresql/2021-04-30-233251_add_reprompt/up.sql2
-rw-r--r--migrations/sqlite/2021-04-30-233251_add_reprompt/down.sql0
-rw-r--r--migrations/sqlite/2021-04-30-233251_add_reprompt/up.sql2
6 files changed, 6 insertions, 0 deletions
diff --git a/migrations/mysql/2021-04-30-233251_add_reprompt/down.sql b/migrations/mysql/2021-04-30-233251_add_reprompt/down.sql
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/migrations/mysql/2021-04-30-233251_add_reprompt/down.sql
diff --git a/migrations/mysql/2021-04-30-233251_add_reprompt/up.sql b/migrations/mysql/2021-04-30-233251_add_reprompt/up.sql
new file mode 100644
index 00000000..a54e503c
--- /dev/null
+++ b/migrations/mysql/2021-04-30-233251_add_reprompt/up.sql
@@ -0,0 +1,2 @@
+ALTER TABLE ciphers
+ADD COLUMN reprompt INTEGER;
diff --git a/migrations/postgresql/2021-04-30-233251_add_reprompt/down.sql b/migrations/postgresql/2021-04-30-233251_add_reprompt/down.sql
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/migrations/postgresql/2021-04-30-233251_add_reprompt/down.sql
diff --git a/migrations/postgresql/2021-04-30-233251_add_reprompt/up.sql b/migrations/postgresql/2021-04-30-233251_add_reprompt/up.sql
new file mode 100644
index 00000000..a54e503c
--- /dev/null
+++ b/migrations/postgresql/2021-04-30-233251_add_reprompt/up.sql
@@ -0,0 +1,2 @@
+ALTER TABLE ciphers
+ADD COLUMN reprompt INTEGER;
diff --git a/migrations/sqlite/2021-04-30-233251_add_reprompt/down.sql b/migrations/sqlite/2021-04-30-233251_add_reprompt/down.sql
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/migrations/sqlite/2021-04-30-233251_add_reprompt/down.sql
diff --git a/migrations/sqlite/2021-04-30-233251_add_reprompt/up.sql b/migrations/sqlite/2021-04-30-233251_add_reprompt/up.sql
new file mode 100644
index 00000000..a54e503c
--- /dev/null
+++ b/migrations/sqlite/2021-04-30-233251_add_reprompt/up.sql
@@ -0,0 +1,2 @@
+ALTER TABLE ciphers
+ADD COLUMN reprompt INTEGER;