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
13691369
13701370 plus := me.createFeatureExpiresAt(user.ID, "plus")
13711371 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)
13731373 _, err = tx.Exec(plusQuery, user.ID, plus, paymentHistoryId)
13741374 if err != nil {
13751375 return err