diff options
author | Jeremy Lin <[email protected]> | 2020-07-02 21:51:20 -0700 |
---|---|---|
committer | Jeremy Lin <[email protected]> | 2020-07-02 21:51:20 -0700 |
commit | 979d010dc27376904f4435ff9dfd93b3dc52554e (patch) | |
tree | 5886c3023110b80790bfa9ac7619c4fda002cb39 /migrations | |
parent | b34d548246f6cb13e8e5392f66718205980053d7 (diff) | |
download | vaultwarden-979d010dc27376904f4435ff9dfd93b3dc52554e.tar.gz vaultwarden-979d010dc27376904f4435ff9dfd93b3dc52554e.zip |
Add support for hiding passwords in a collection
Ref: https://github.com/bitwarden/server/pull/743
Diffstat (limited to 'migrations')
6 files changed, 6 insertions, 0 deletions
diff --git a/migrations/mysql/2020-07-01-214531_add_hide_passwords/down.sql b/migrations/mysql/2020-07-01-214531_add_hide_passwords/down.sql new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/migrations/mysql/2020-07-01-214531_add_hide_passwords/down.sql diff --git a/migrations/mysql/2020-07-01-214531_add_hide_passwords/up.sql b/migrations/mysql/2020-07-01-214531_add_hide_passwords/up.sql new file mode 100644 index 00000000..4587232e --- /dev/null +++ b/migrations/mysql/2020-07-01-214531_add_hide_passwords/up.sql @@ -0,0 +1,2 @@ +ALTER TABLE users_collections +ADD COLUMN hide_passwords BOOLEAN NOT NULL DEFAULT FALSE; diff --git a/migrations/postgresql/2020-07-01-214531_add_hide_passwords/down.sql b/migrations/postgresql/2020-07-01-214531_add_hide_passwords/down.sql new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/migrations/postgresql/2020-07-01-214531_add_hide_passwords/down.sql diff --git a/migrations/postgresql/2020-07-01-214531_add_hide_passwords/up.sql b/migrations/postgresql/2020-07-01-214531_add_hide_passwords/up.sql new file mode 100644 index 00000000..4587232e --- /dev/null +++ b/migrations/postgresql/2020-07-01-214531_add_hide_passwords/up.sql @@ -0,0 +1,2 @@ +ALTER TABLE users_collections +ADD COLUMN hide_passwords BOOLEAN NOT NULL DEFAULT FALSE; diff --git a/migrations/sqlite/2020-07-01-214531_add_hide_passwords/down.sql b/migrations/sqlite/2020-07-01-214531_add_hide_passwords/down.sql new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/migrations/sqlite/2020-07-01-214531_add_hide_passwords/down.sql diff --git a/migrations/sqlite/2020-07-01-214531_add_hide_passwords/up.sql b/migrations/sqlite/2020-07-01-214531_add_hide_passwords/up.sql new file mode 100644 index 00000000..8beb0d33 --- /dev/null +++ b/migrations/sqlite/2020-07-01-214531_add_hide_passwords/up.sql @@ -0,0 +1,2 @@ +ALTER TABLE users_collections +ADD COLUMN hide_passwords BOOLEAN NOT NULL DEFAULT 0; -- FALSE |