Update table prefix from ogp_ to gsp_ in SQL files and config

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-11-07 10:48:01 +00:00
parent 4e5bae68c4
commit 0be96da2a0
7 changed files with 48 additions and 42 deletions

View file

@ -1,9 +1,10 @@
-- Add missing service_id column to ogp_billing_invoices table
-- Add missing service_id column to gsp_billing_invoices table
-- This column is required to track which service/game plan was purchased
-- Table prefix is hardcoded to gsp_ for standalone billing module
ALTER TABLE `ogp_billing_invoices`
ALTER TABLE `gsp_billing_invoices`
ADD COLUMN `service_id` INT(11) NOT NULL AFTER `user_id`;
-- Add index for better query performance
ALTER TABLE `ogp_billing_invoices`
ALTER TABLE `gsp_billing_invoices`
ADD KEY `service_id` (`service_id`);