Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/5ac91d14-7688-4ab2-9065-10d4a361750f Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
8 lines
428 B
SQL
8 lines
428 B
SQL
-- Admin Billing Integration Migration
|
|
-- Run this once to add required columns to billing_orders.
|
|
-- All statements use IF NOT EXISTS so the file is safe to re-run.
|
|
|
|
-- Mark orders that were created by an admin (not paid via checkout)
|
|
ALTER TABLE `gsp_billing_orders`
|
|
ADD COLUMN IF NOT EXISTS `created_by_admin` TINYINT(1) NOT NULL DEFAULT 0
|
|
COMMENT 'Set to 1 when an admin manually created this server via the panel';
|