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
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
|
||||
$module_title = "Circular";
|
||||
$module_version = "0.1";
|
||||
$module_version = "1.0";
|
||||
$db_version = 0;
|
||||
$module_required = false;
|
||||
$module_menus = array(
|
||||
|
|
@ -33,15 +33,7 @@ $module_menus = array(
|
|||
'group' => 'admin',
|
||||
)
|
||||
);
|
||||
|
||||
$install_queries[0] = array(
|
||||
"DROP TABLE IF EXISTS `".OGP_DB_PREFIX."circular`",
|
||||
"CREATE TABLE IF NOT EXISTS `".OGP_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` (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue