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,9 @@
// Module general information
$module_title = "tshock";
$module_version = "Alpha";
$module_version = "1.0";
$db_version = 0;
$module_required = FALSE;
$module_menus = array( array( 'subpage' => '', 'name'=>'tshock', 'group'=>'user' ) );
$install_queries = array();
$install_queries[0] = array(
"DROP TABLE IF EXISTS ".OGP_DB_PREFIX."tshock;",
"CREATE TABLE ".OGP_DB_PREFIX."tshock (
`token_id` int(11) NOT NULL auto_increment,
`ip` varchar(255) NOT NULL,
`port` int(11) NOT NULL,
`token` varchar(64) NOT NULL,
PRIMARY KEY (`token_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;");
?>