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:
parent
926167b6c8
commit
389bced05b
20 changed files with 60 additions and 650 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue