Phase 1: Update database configuration and schema (OGP to GSP)

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-09-08 15:45:27 +00:00
parent ea665c34d5
commit 7f19731158
82 changed files with 730 additions and 730 deletions

View file

@ -35,16 +35,16 @@ $module_menus = array(
);
$install_queries[0] = array(
"DROP TABLE IF EXISTS `".OGP_DB_PREFIX."circular`",
"CREATE TABLE IF NOT EXISTS `".OGP_DB_PREFIX."circular` (
"DROP TABLE IF EXISTS `".GSP_DB_PREFIX."circular`",
"CREATE TABLE IF NOT EXISTS `".GSP_DB_PREFIX."circular` (
`circular_id` int NOT NULL AUTO_INCREMENT,
`subject` TEXT NOT NULL,
`message` TEXT NOT NULL,
`timestamp` TIMESTAMP,
PRIMARY KEY (`circular_id`)
);",
"DROP TABLE IF EXISTS `".OGP_DB_PREFIX."circular_recipients`",
"CREATE TABLE IF NOT EXISTS `".OGP_DB_PREFIX."circular_recipients` (
"DROP TABLE IF EXISTS `".GSP_DB_PREFIX."circular_recipients`",
"CREATE TABLE IF NOT EXISTS `".GSP_DB_PREFIX."circular_recipients` (
`user_id` int NOT NULL,
`circular_id` int NOT NULL,
`status` tinyint NOT NULL,