diff options
author | Daniel García <[email protected]> | 2018-09-19 17:30:14 +0200 |
---|---|---|
committer | Daniel García <[email protected]> | 2018-09-19 17:30:14 +0200 |
commit | ebb66c374e3b8b6404929c4b90bfaab4a48f4fae (patch) | |
tree | a878e300cbe5bf7282ab6fc9ccdca772ba88cf69 /migrations | |
parent | 89e3c41043c49da2e906181e50cd1e2686d62abe (diff) | |
download | vaultwarden-ebb66c374e3b8b6404929c4b90bfaab4a48f4fae.tar.gz vaultwarden-ebb66c374e3b8b6404929c4b90bfaab4a48f4fae.zip |
Implement KDF iterations change (Fixes #195)
Diffstat (limited to 'migrations')
-rw-r--r-- | migrations/2018-09-19-144557_add_kdf_columns/down.sql | 0 | ||||
-rw-r--r-- | migrations/2018-09-19-144557_add_kdf_columns/up.sql | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/migrations/2018-09-19-144557_add_kdf_columns/down.sql b/migrations/2018-09-19-144557_add_kdf_columns/down.sql new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/migrations/2018-09-19-144557_add_kdf_columns/down.sql diff --git a/migrations/2018-09-19-144557_add_kdf_columns/up.sql b/migrations/2018-09-19-144557_add_kdf_columns/up.sql new file mode 100644 index 00000000..bd98f40e --- /dev/null +++ b/migrations/2018-09-19-144557_add_kdf_columns/up.sql @@ -0,0 +1,7 @@ +ALTER TABLE users + ADD COLUMN + client_kdf_type INTEGER NOT NULL DEFAULT 0; -- PBKDF2 + +ALTER TABLE users + ADD COLUMN + client_kdf_iter INTEGER NOT NULL DEFAULT 5000; |