summaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorFolke Ashberg <[email protected]>2023-06-28 20:37:13 +0200
committerMathijs van Veluw <[email protected]>2023-07-04 20:26:03 +0200
commit6050c8dac50ad892d8ed8e00cd0c930c42dff039 (patch)
treea74f0e20a96f91a581f6702e04ddb3fd0875c5d7 /migrations
parent19e671ff25bffa47424b5af44264c2c74c2cc84b (diff)
downloadvaultwarden-6050c8dac50ad892d8ed8e00cd0c930c42dff039.tar.gz
vaultwarden-6050c8dac50ad892d8ed8e00cd0c930c42dff039.zip
Added-External_id for Collections
Diffstat (limited to 'migrations')
-rw-r--r--migrations/mysql/2023-06-28-133700_add_collection_external_id/down.sql0
-rw-r--r--migrations/mysql/2023-06-28-133700_add_collection_external_id/up.sql1
-rw-r--r--migrations/postgresql/2023-06-28-133700_add_collection_external_id/down.sql0
-rw-r--r--migrations/postgresql/2023-06-28-133700_add_collection_external_id/up.sql1
-rw-r--r--migrations/sqlite/2023-06-28-133700_add_collection_external_id/down.sql0
-rw-r--r--migrations/sqlite/2023-06-28-133700_add_collection_external_id/up.sql1
6 files changed, 3 insertions, 0 deletions
diff --git a/migrations/mysql/2023-06-28-133700_add_collection_external_id/down.sql b/migrations/mysql/2023-06-28-133700_add_collection_external_id/down.sql
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/migrations/mysql/2023-06-28-133700_add_collection_external_id/down.sql
diff --git a/migrations/mysql/2023-06-28-133700_add_collection_external_id/up.sql b/migrations/mysql/2023-06-28-133700_add_collection_external_id/up.sql
new file mode 100644
index 00000000..7f44709b
--- /dev/null
+++ b/migrations/mysql/2023-06-28-133700_add_collection_external_id/up.sql
@@ -0,0 +1 @@
+ALTER TABLE collections ADD COLUMN external_id TEXT;
diff --git a/migrations/postgresql/2023-06-28-133700_add_collection_external_id/down.sql b/migrations/postgresql/2023-06-28-133700_add_collection_external_id/down.sql
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/migrations/postgresql/2023-06-28-133700_add_collection_external_id/down.sql
diff --git a/migrations/postgresql/2023-06-28-133700_add_collection_external_id/up.sql b/migrations/postgresql/2023-06-28-133700_add_collection_external_id/up.sql
new file mode 100644
index 00000000..7f44709b
--- /dev/null
+++ b/migrations/postgresql/2023-06-28-133700_add_collection_external_id/up.sql
@@ -0,0 +1 @@
+ALTER TABLE collections ADD COLUMN external_id TEXT;
diff --git a/migrations/sqlite/2023-06-28-133700_add_collection_external_id/down.sql b/migrations/sqlite/2023-06-28-133700_add_collection_external_id/down.sql
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/migrations/sqlite/2023-06-28-133700_add_collection_external_id/down.sql
diff --git a/migrations/sqlite/2023-06-28-133700_add_collection_external_id/up.sql b/migrations/sqlite/2023-06-28-133700_add_collection_external_id/up.sql
new file mode 100644
index 00000000..7f44709b
--- /dev/null
+++ b/migrations/sqlite/2023-06-28-133700_add_collection_external_id/up.sql
@@ -0,0 +1 @@
+ALTER TABLE collections ADD COLUMN external_id TEXT;