π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[server] Add ip column
Neeraj Guptabadd9263f465
diff --git a/server/migrations/84_add_cast_column.down.sql b/server/migrations/84_add_cast_column.down.sqlnew file mode 100644index 0000000000..c08fed94e6--- /dev/null+++ b/server/migrations/84_add_cast_column.down.sql@@ -0,0 +1 @@+ALTER TABLE casting DROP COLUMN IF EXISTS ip;\ No newline at end of filediff --git a/server/migrations/84_add_cast_column.up.sql b/server/migrations/84_add_cast_column.up.sqlnew file mode 100644index 0000000000..828c2e57c2--- /dev/null+++ b/server/migrations/84_add_cast_column.up.sql@@ -0,0 +1,5 @@+--- Delete all rows from casting table and add a non-nullable column called ip+BEGIN;+DELETE FROM casting;+ALTER TABLE casting ADD COLUMN ip text NOT NULL;+COMMIT;