Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

add: migration scripts for storage table

mngshm284fc41c652e
diff --git a/server/migrations/96_storage_table_families.down.sql b/server/migrations/96_storage_table_families.down.sql
new file mode 100644
index 0000000000..ddf3a78f97
--- /dev/null
+++ b/server/migrations/96_storage_table_families.down.sql
@@ -0,0 +1,2 @@
+ALTER TABLE families
+DROP COLUMN storage;
\ No newline at end of file
diff --git a/server/migrations/96_storage_table_families.up.sql b/server/migrations/96_storage_table_families.up.sql
new file mode 100644
index 0000000000..322dca337d
--- /dev/null
+++ b/server/migrations/96_storage_table_families.up.sql
@@ -0,0 +1,2 @@
+ALTER TABLE families
+ADD COLUMN storage INTEGER;
\ No newline at end of file