Files
Rocketmc/apps/labrinth/migrations/20241204190127_revenue_updates.sql
Geometrically 2987f507fe 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
2024-12-06 19:37:17 -08:00

5 lines
229 B
SQL

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;