Skip to content

Commit

Permalink
Storage bump (#1662)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
vishnukvmd authored May 9, 2024
2 parents 9089f0b + e55af84 commit f60e094
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/ente/billing.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

const (
// 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 = "free"
// FreePlanTransactionID is the dummy transaction ID for the free plan
Expand Down
1 change: 1 addition & 0 deletions server/migrations/85_increase_free_storage.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-- no-op
1 change: 1 addition & 0 deletions server/migrations/85_increase_free_storage.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UPDATE subscriptions SET storage = 5368709120, expiry_time = 1749355117000000 where storage = 1073741824 and product_id = 'free';

0 comments on commit f60e094

Please sign in to comment.