repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
7e8bd93
parent
7bb578e
author
Eric Bower
date
2024-11-01 19:11:30 +0000 UTC
chore: 20gb to 10gb for pico+
3 files changed,  +4, -2
M db/postgres/storage.go
+1, -1
1@@ -1912,7 +1912,7 @@ func (me *PsqlDB) AddPicoPlusUser(username, paymentType, txId string) error {
2 
3 	plus := me.createFeatureExpiresAt(user.ID, "plus")
4 	plusQuery := `INSERT INTO feature_flags (user_id, name, data, expires_at, payment_history_id)
5-		VALUES ($1, 'plus', '{"storage_max":20000000000, "file_max":50000000}'::jsonb, $2, $3);`
6+		VALUES ($1, 'plus', '{"storage_max":10000000000, "file_max":50000000}'::jsonb, $2, $3);`
7 	_, err = tx.Exec(plusQuery, user.ID, plus, paymentHistoryId)
8 	if err != nil {
9 		return err
M docker-compose.prod-irc.yml
+2, -0
1@@ -21,6 +21,8 @@ services:
2       - "[${AUTH_V6:-::1}]:443:443"
3       - "[${AUTH_V6:-::1}]:80:80"
4   auth-web:
5+    volumes:
6+      - ./data/auth-web/data:/app/ssh_data
7     networks:
8       - ${AUTH_NETWORK}
9     env_file:
M tui/plus/plus.go
+1, -1
1@@ -28,7 +28,7 @@ func PlusView(username string, w int) string {
2   - blog analytics
3 - docker registry
4   - full access
5-- 20GB total storage
6+- 10GB total storage
7 
8 There are a few ways to purchase a membership. We try our best to
9 provide immediate access to <code>pico+</code> regardless of payment