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:
parent
ea665c34d5
commit
7f19731158
82 changed files with 730 additions and 730 deletions
|
|
@ -12,8 +12,8 @@ $module_menus = array( array( 'subpage' => 'addons_manager', 'name'=>'Addons Man
|
|||
|
||||
$install_queries = array();
|
||||
$install_queries[0] = array(
|
||||
"DROP TABLE IF EXISTS `".OGP_DB_PREFIX."addons`;",
|
||||
"CREATE TABLE IF NOT EXISTS ".OGP_DB_PREFIX."addons
|
||||
"DROP TABLE IF EXISTS `".GSP_DB_PREFIX."addons`;",
|
||||
"CREATE TABLE IF NOT EXISTS ".GSP_DB_PREFIX."addons
|
||||
(addon_id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
name VARCHAR(80) NOT NULL,
|
||||
url VARCHAR(200) NOT NULL,
|
||||
|
|
@ -22,8 +22,8 @@ $install_queries[0] = array(
|
|||
home_cfg_id VARCHAR(7) NOT NULL) ENGINE=MyISAM;");
|
||||
|
||||
$install_queries[1] = array(
|
||||
"ALTER TABLE `".OGP_DB_PREFIX."addons` ADD `post_script` longtext NOT NULL;");
|
||||
"ALTER TABLE `".GSP_DB_PREFIX."addons` ADD `post_script` longtext NOT NULL;");
|
||||
|
||||
$install_queries[2] = array(
|
||||
"ALTER TABLE `".OGP_DB_PREFIX."addons` ADD `group_id` int(11) NULL;");
|
||||
"ALTER TABLE `".GSP_DB_PREFIX."addons` ADD `group_id` int(11) NULL;");
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue