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:
parent
4e5bae68c4
commit
0be96da2a0
7 changed files with 48 additions and 42 deletions
|
|
@ -1,10 +1,11 @@
|
|||
-- Fix missing columns / indexes for ogp_billing_invoices
|
||||
-- Fix missing columns / indexes for gsp_billing_invoices
|
||||
-- Safe script: checks information_schema and adds each missing column/index using prepared statements.
|
||||
-- IMPORTANT: Run on the target database (use the panel DB). Make a backup before running.
|
||||
-- Table prefix is hardcoded to gsp_ for standalone billing module
|
||||
|
||||
-- Use the current database
|
||||
SET @db = DATABASE();
|
||||
SET @tbl = 'ogp_billing_invoices';
|
||||
SET @tbl = 'gsp_billing_invoices';
|
||||
|
||||
-- Helper: add a column if missing
|
||||
-- Usage pattern below; repeated for every column we expect from module.php
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue