- commit
- 58bf183
- parent
- 3640880
- author
- Eric Bower
- date
- 2026-04-16 19:36:22 -0400 EDT
feat(pgs): increase max file size to 250mb
1 files changed,
+1,
-1
+1,
-1
1@@ -1369,7 +1369,7 @@ func (me *PsqlDB) AddPicoPlusUser(username, email, paymentType, txId string) err
2
3 plus := me.createFeatureExpiresAt(user.ID, "plus")
4 plusQuery := fmt.Sprintf(`INSERT INTO feature_flags (user_id, name, data, expires_at, payment_history_id)
5- VALUES ($1, 'plus', '{"storage_max":10000000000, "file_max":50000000, "email": "%s"}'::jsonb, $2, $3);`, email)
6+ VALUES ($1, 'plus', '{"storage_max":10000000000, "file_max":250000000, "email": "%s"}'::jsonb, $2, $3);`, email)
7 _, err = tx.Exec(plusQuery, user.ID, plus, paymentHistoryId)
8 if err != nil {
9 return err