Storage bump (#1662)

## Description
- Increase free trial limit from 1 GB to 5 GBs
- Update the storage for existing users on the free plan
- Push the subscription expiry time for existing users on the free plan
This commit is contained in:
Vishnu Mohandas 2024-05-09 11:57:40 +05:30 committed by GitHub
commit f60e094aed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View file

@ -11,7 +11,7 @@ import (
const ( const (
// FreePlanStorage is the amount of storage in free plan // FreePlanStorage is the amount of storage in free plan
FreePlanStorage = 1 * 1024 * 1024 * 1024 FreePlanStorage = 5 * 1024 * 1024 * 1024
// FreePlanProductID is the product ID of free plan // FreePlanProductID is the product ID of free plan
FreePlanProductID = "free" FreePlanProductID = "free"
// FreePlanTransactionID is the dummy transaction ID for the free plan // FreePlanTransactionID is the dummy transaction ID for the free plan

View file

@ -0,0 +1 @@
-- no-op

View file

@ -0,0 +1 @@
UPDATE subscriptions SET storage = 5368709120, expiry_time = 1749355117000000 where storage = 1073741824 and product_id = 'free';