Skip to content

armgit / ente

Public Imported from GitHub
0

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

[server] Bump up expiry_time for free plan

Neeraj Gupta5cd37a02c7e0
diff --git a/server/migrations/91_increase_free_validity.down.sql b/server/migrations/91_increase_free_validity.down.sql
new file mode 100644
index 0000000000..f665f2cfe3
--- /dev/null
+++ b/server/migrations/91_increase_free_validity.down.sql
@@ -0,0 +1 @@
+-- no-op
\ No newline at end of file
diff --git a/server/migrations/91_increase_free_validity.up.sql b/server/migrations/91_increase_free_validity.up.sql
new file mode 100644
index 0000000000..236bf4dbca
--- /dev/null
+++ b/server/migrations/91_increase_free_validity.up.sql
@@ -0,0 +1 @@
+UPDATE subscriptions SET expiry_time = 4749355117000000 where storage = 5368709120 and product_id = 'free' and original_transaction_id ='none';