aboutsummaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorDaniel García <[email protected]>2018-11-27 17:24:12 +0100
committerDaniel García <[email protected]>2018-11-27 17:24:12 +0100
commit6364c0578989d8ad374f91e98edee66352dbf553 (patch)
tree5cbb6fcb80f84b305968948f225c3c9f3886bc5a /migrations
parentf71f10eac6f9111217e9ed8016ce9baf9b06804e (diff)
downloadvaultwarden-6364c0578989d8ad374f91e98edee66352dbf553.tar.gz
vaultwarden-6364c0578989d8ad374f91e98edee66352dbf553.zip
Fix attachments during key rotation, add individual attachment key
Diffstat (limited to 'migrations')
-rw-r--r--migrations/2018-11-27-152651_add_att_key_columns/down.sql0
-rw-r--r--migrations/2018-11-27-152651_add_att_key_columns/up.sql3
2 files changed, 3 insertions, 0 deletions
diff --git a/migrations/2018-11-27-152651_add_att_key_columns/down.sql b/migrations/2018-11-27-152651_add_att_key_columns/down.sql
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/migrations/2018-11-27-152651_add_att_key_columns/down.sql
diff --git a/migrations/2018-11-27-152651_add_att_key_columns/up.sql b/migrations/2018-11-27-152651_add_att_key_columns/up.sql
new file mode 100644
index 00000000..4a73a8c9
--- /dev/null
+++ b/migrations/2018-11-27-152651_add_att_key_columns/up.sql
@@ -0,0 +1,3 @@
+ALTER TABLE attachments
+ ADD COLUMN
+ key TEXT; \ No newline at end of file