Consolidate module SQL queries into mysql_template.sql and set all modules to version 1.0

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-09-09 17:43:53 +00:00
parent 926167b6c8
commit 389bced05b
20 changed files with 60 additions and 650 deletions

View file

@ -24,19 +24,14 @@
// Module general information
$module_title = "LGSL";
$module_version = "0.2";
$module_version = "1.0";
$db_version = 0;
$module_required = FALSE;
$module_menus = array( array( 'subpage' => 'lgsl', 'name'=>'LGSL', 'group'=>'user' ),
array( 'subpage' => 'lgsl', 'name'=>'LGSL', 'group'=>'guest' ),
array( 'subpage' => 'lgsl_admin', 'name'=>'LGSL Admin', 'group'=>'admin' ));
$install_queries = array();
$install_queries[0] = array(
"CREATE TABLE IF NOT EXISTS ".OGP_DB_PREFIX."lgsl
(
`id` INT (11) NOT NULL auto_increment,
NOT NULL auto_increment,
`type` VARCHAR (50) NOT NULL DEFAULT '',
`ip` VARCHAR (255) NOT NULL DEFAULT '',
`c_port` VARCHAR (5) NOT NULL DEFAULT '0',