summaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorJeremy Lin <[email protected]>2021-05-11 22:51:12 -0700
committerJeremy Lin <[email protected]>2021-05-11 22:51:12 -0700
commitd3449bfa00cff40dc1f9ef349c9c6524e78f64e1 (patch)
treea4c6988f302dd83ab6c76a1b29e5fc44d4b0d07b /migrations
parente9ee8ac2fa4ea4bafdacd479c06acea0b53aac37 (diff)
downloadvaultwarden-d3449bfa00cff40dc1f9ef349c9c6524e78f64e1.tar.gz
vaultwarden-d3449bfa00cff40dc1f9ef349c9c6524e78f64e1.zip
Add support for hiding the sender's email address in Bitwarden Sends
Note: The original Vaultwarden implementation of Bitwarden Send would always hide the email address, while the upstream implementation would always show it. Upstream PR: https://github.com/bitwarden/server/pull/1234
Diffstat (limited to 'migrations')
-rw-r--r--migrations/mysql/2021-05-11-205202_add_hide_email/down.sql0
-rw-r--r--migrations/mysql/2021-05-11-205202_add_hide_email/up.sql2
-rw-r--r--migrations/postgresql/2021-05-11-205202_add_hide_email/down.sql0
-rw-r--r--migrations/postgresql/2021-05-11-205202_add_hide_email/up.sql2
-rw-r--r--migrations/sqlite/2021-05-11-205202_add_hide_email/down.sql0
-rw-r--r--migrations/sqlite/2021-05-11-205202_add_hide_email/up.sql2
6 files changed, 6 insertions, 0 deletions
diff --git a/migrations/mysql/2021-05-11-205202_add_hide_email/down.sql b/migrations/mysql/2021-05-11-205202_add_hide_email/down.sql
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/migrations/mysql/2021-05-11-205202_add_hide_email/down.sql
diff --git a/migrations/mysql/2021-05-11-205202_add_hide_email/up.sql b/migrations/mysql/2021-05-11-205202_add_hide_email/up.sql
new file mode 100644
index 00000000..4d6e0225
--- /dev/null
+++ b/migrations/mysql/2021-05-11-205202_add_hide_email/up.sql
@@ -0,0 +1,2 @@
+ALTER TABLE sends
+ADD COLUMN hide_email BOOLEAN;
diff --git a/migrations/postgresql/2021-05-11-205202_add_hide_email/down.sql b/migrations/postgresql/2021-05-11-205202_add_hide_email/down.sql
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/migrations/postgresql/2021-05-11-205202_add_hide_email/down.sql
diff --git a/migrations/postgresql/2021-05-11-205202_add_hide_email/up.sql b/migrations/postgresql/2021-05-11-205202_add_hide_email/up.sql
new file mode 100644
index 00000000..4d6e0225
--- /dev/null
+++ b/migrations/postgresql/2021-05-11-205202_add_hide_email/up.sql
@@ -0,0 +1,2 @@
+ALTER TABLE sends
+ADD COLUMN hide_email BOOLEAN;
diff --git a/migrations/sqlite/2021-05-11-205202_add_hide_email/down.sql b/migrations/sqlite/2021-05-11-205202_add_hide_email/down.sql
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/migrations/sqlite/2021-05-11-205202_add_hide_email/down.sql
diff --git a/migrations/sqlite/2021-05-11-205202_add_hide_email/up.sql b/migrations/sqlite/2021-05-11-205202_add_hide_email/up.sql
new file mode 100644
index 00000000..4d6e0225
--- /dev/null
+++ b/migrations/sqlite/2021-05-11-205202_add_hide_email/up.sql
@@ -0,0 +1,2 @@
+ALTER TABLE sends
+ADD COLUMN hide_email BOOLEAN;