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