summaryrefslogtreecommitdiff
path: root/migrations/sqlite/2023-10-21-221242_add_cipher_key
diff options
context:
space:
mode:
authorDaniel GarcĂ­a <[email protected]>2023-10-23 00:18:14 +0200
committerGitHub <[email protected]>2023-10-23 00:18:14 +0200
commitcb4b683dcd51eff4508bcf50e34d657b8d2225d4 (patch)
treee57f1041f6161eed11cc618a80849e1f06f32b3a /migrations/sqlite/2023-10-21-221242_add_cipher_key
parent6eaf1319227158df7724d25f53bf03f7c1a52bc1 (diff)
downloadvaultwarden-cb4b683dcd51eff4508bcf50e34d657b8d2225d4.tar.gz
vaultwarden-cb4b683dcd51eff4508bcf50e34d657b8d2225d4.zip
Implement cipher key encryption (#3990)
Diffstat (limited to 'migrations/sqlite/2023-10-21-221242_add_cipher_key')
-rw-r--r--migrations/sqlite/2023-10-21-221242_add_cipher_key/down.sql0
-rw-r--r--migrations/sqlite/2023-10-21-221242_add_cipher_key/up.sql2
2 files changed, 2 insertions, 0 deletions
diff --git a/migrations/sqlite/2023-10-21-221242_add_cipher_key/down.sql b/migrations/sqlite/2023-10-21-221242_add_cipher_key/down.sql
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/migrations/sqlite/2023-10-21-221242_add_cipher_key/down.sql
diff --git a/migrations/sqlite/2023-10-21-221242_add_cipher_key/up.sql b/migrations/sqlite/2023-10-21-221242_add_cipher_key/up.sql
new file mode 100644
index 00000000..1b060b60
--- /dev/null
+++ b/migrations/sqlite/2023-10-21-221242_add_cipher_key/up.sql
@@ -0,0 +1,2 @@
+ALTER TABLE ciphers
+ADD COLUMN "key" TEXT;