fix billing+migration: correct migration indexes, table name, column names, webhook URL

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/862c51a7-d835-4eb2-bd0e-2e2a5459036b

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-05-05 20:13:08 +00:00 committed by GitHub
parent 9dc051d090
commit e010085347
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 289 additions and 51 deletions

View file

@ -17,19 +17,19 @@
-- ============================================================
-- Map old 'installed' to 'Active'
UPDATE `gsp_billing_orders`
UPDATE `<PREFIX>billing_orders`
SET `status` = 'Active'
WHERE `status` = 'installed';
-- Map old 'paid' to 'Active'
-- (Orders that were paid but not yet provisioned should be provisioned
-- via the admin orders panel after this migration.)
UPDATE `gsp_billing_orders`
UPDATE `<PREFIX>billing_orders`
SET `status` = 'Active'
WHERE `status` = 'paid';
-- Map old 'suspended' to 'Expired'
UPDATE `gsp_billing_orders`
UPDATE `<PREFIX>billing_orders`
SET `status` = 'Expired'
WHERE `status` = 'suspended';