Refunds + Upgrading/Downgrading plans (#2983)

* Refunds + Upgrading/Downgrading plans

* Servers list route

* Finish, lint

* add GAM fee to payouts

* Sync payment intent id with stripe

* fix lint, update migrations

* Remove tauri generated files

* Register refund route

* fix refund bugs
This commit is contained in:
Geometrically
2024-12-06 19:37:17 -08:00
committed by GitHub
parent 2cfb637451
commit 2987f507fe
41 changed files with 1045 additions and 13604 deletions

View File

@@ -0,0 +1,5 @@
ALTER TABLE charges
ADD COLUMN payment_platform TEXT NOT NULL DEFAULT 'stripe',
ADD COLUMN payment_platform_id TEXT NULL,
ADD COLUMN parent_charge_id BIGINT REFERENCES charges(id) NULL,
ADD COLUMN net BIGINT NULL;