forked from txmodxoops/tdmcreate
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #160 from ggoffy/master
fixed bug in update function
- Loading branch information
Showing
3 changed files
with
42 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,34 +13,34 @@ | |
|
||
CREATE TABLE `modulebuilder_settings` ( | ||
`set_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, | ||
`set_name` VARCHAR(255) NOT NULL DEFAULT 'My Module', | ||
`set_dirname` VARCHAR(100) NOT NULL DEFAULT 'mymoduledirname', | ||
`set_version` VARCHAR(10) NOT NULL DEFAULT '1.0.0', | ||
`set_since` VARCHAR(5) NOT NULL DEFAULT '1.0.0', | ||
`set_min_php` VARCHAR(5) NOT NULL DEFAULT '7.0', | ||
`set_min_xoops` VARCHAR(15) NOT NULL DEFAULT '2.5.10', | ||
`set_min_admin` VARCHAR(8) NOT NULL DEFAULT '1.2', | ||
`set_min_mysql` VARCHAR(8) NOT NULL DEFAULT '5.5', | ||
`set_description` VARCHAR(255) NOT NULL DEFAULT 'This module is for doing following...', | ||
`set_author` VARCHAR(255) NOT NULL DEFAULT 'TDM XOOPS', | ||
`set_author_mail` VARCHAR(255) NOT NULL DEFAULT '[email protected]', | ||
`set_author_website_url` VARCHAR(255) NOT NULL DEFAULT 'http://xoops.org', | ||
`set_author_website_name` VARCHAR(255) NOT NULL DEFAULT 'XOOPS Project', | ||
`set_credits` VARCHAR(255) NOT NULL DEFAULT 'XOOPS Development Team', | ||
`set_license` VARCHAR(255) NOT NULL DEFAULT 'GPL 2.0 or later', | ||
`set_release_info` VARCHAR(255) NOT NULL DEFAULT 'release_info', | ||
`set_release_file` VARCHAR(255) NOT NULL DEFAULT 'release_info file', | ||
`set_manual` VARCHAR(255) NOT NULL DEFAULT 'link to manual file', | ||
`set_manual_file` VARCHAR(255) NOT NULL DEFAULT 'install.txt', | ||
`set_image` VARCHAR(255) NOT NULL DEFAULT 'empty.png', | ||
`set_demo_site_url` VARCHAR(255) NOT NULL DEFAULT 'https://xoops.org', | ||
`set_demo_site_name` VARCHAR(255) NOT NULL DEFAULT 'XOOPS Demo Site', | ||
`set_support_url` VARCHAR(255) NOT NULL DEFAULT 'http://xoops.org/modules/newbb', | ||
`set_support_name` VARCHAR(255) NOT NULL DEFAULT 'Support Forum', | ||
`set_website_url` VARCHAR(255) NOT NULL DEFAULT 'www.xoops.org', | ||
`set_website_name` VARCHAR(255) NOT NULL DEFAULT 'XOOPS Project', | ||
`set_release` VARCHAR(11) NOT NULL DEFAULT '2015-05-02', | ||
`set_status` VARCHAR(150) NOT NULL DEFAULT 'Beta 1', | ||
`set_name` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_dirname` VARCHAR(100) NOT NULL DEFAULT '', | ||
`set_version` VARCHAR(15) NOT NULL DEFAULT '', | ||
`set_since` VARCHAR(15) NOT NULL DEFAULT '', | ||
`set_min_php` VARCHAR(15) NOT NULL DEFAULT '', | ||
`set_min_xoops` VARCHAR(15) NOT NULL DEFAULT '', | ||
`set_min_admin` VARCHAR(15) NOT NULL DEFAULT '', | ||
`set_min_mysql` VARCHAR(15) NOT NULL DEFAULT '', | ||
`set_description` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_author` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_author_mail` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_author_website_url` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_author_website_name` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_credits` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_license` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_release_info` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_release_file` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_manual` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_manual_file` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_image` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_demo_site_url` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_demo_site_name` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_support_url` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_support_name` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_website_url` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_website_name` VARCHAR(255) NOT NULL DEFAULT '', | ||
`set_release` VARCHAR(11) NOT NULL DEFAULT '', | ||
`set_status` VARCHAR(150) NOT NULL DEFAULT '', | ||
`set_admin` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', | ||
`set_user` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', | ||
`set_blocks` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', | ||
|
@@ -49,8 +49,8 @@ CREATE TABLE `modulebuilder_settings` ( | |
`set_notifications` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', | ||
`set_permissions` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', | ||
`set_inroot_copy` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', | ||
`set_donations` VARCHAR(50) NOT NULL DEFAULT '6KJ7RW5DR3VTJ', | ||
`set_subversion` VARCHAR(10) NOT NULL DEFAULT '13070', | ||
`set_donations` VARCHAR(50) NOT NULL DEFAULT '', | ||
`set_subversion` VARCHAR(10) NOT NULL DEFAULT '', | ||
`set_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1', | ||
PRIMARY KEY (`set_id`) | ||
) | ||
|
@@ -60,7 +60,7 @@ CREATE TABLE `modulebuilder_settings` ( | |
|
||
INSERT INTO `modulebuilder_settings` (`set_id`, `set_name`, `set_dirname`, `set_version`, `set_since`, `set_min_php`, `set_min_xoops`, `set_min_admin`, `set_min_mysql`, `set_description`, `set_author`, `set_author_mail`, `set_author_website_url`, `set_author_website_name`, `set_credits`, `set_license`, `set_release_info`, `set_release_file`, `set_manual`, `set_manual_file`, `set_image`, `set_demo_site_url`, `set_demo_site_name`, `set_support_url`, `set_support_name`, `set_website_url`, `set_website_name`, `set_release`, `set_status`, `set_admin`, `set_user`, `set_blocks`, `set_search`, `set_comments`, `set_notifications`, `set_permissions`, `set_inroot_copy`, `set_donations`, `set_subversion`, `set_type`) | ||
VALUES | ||
(1, 'My Module', 'mymoduledirname', '1.0.0', '1.0.0', '7.0', '2.5.10', '1.2', '5.6', 'This module is for doing following...', 'TDM XOOPS', '[email protected]', 'http://xoops.org', 'XOOPS Project', 'XOOPS Development Team', 'GPL 2.0 or later', 'release_info', 'release_info file', 'link to manual file', | ||
(1, 'My Module', 'mymoduledirname', '1.0.0', '1.0.0', '7.0', '2.5.10', '1.2', '5.6', 'This module is for doing following...', 'TDM XOOPS', '[email protected]', 'https://xoops.org', 'XOOPS Project', 'XOOPS Development Team', 'GPL 2.0 or later', 'release_info', 'release_info file', 'link to manual file', | ||
'install.txt', 'empty.png', 'https://xoops.org', 'XOOPS Demo Site', 'https://xoops.org/modules/newbb', 'Support Forum', 'www.xoops.org', 'XOOPS Project', | ||
'2017-12-02', 'Beta 1', '1', '1', '1', '0', '0', '0', '0', '0', '6KJ7RW5DR3VTJ', '13070', 1); | ||
|
||
|
@@ -72,12 +72,12 @@ CREATE TABLE `modulebuilder_modules` ( | |
`mod_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, | ||
`mod_name` VARCHAR(200) NOT NULL DEFAULT '', | ||
`mod_dirname` VARCHAR(100) NOT NULL DEFAULT '', | ||
`mod_version` VARCHAR(10) NOT NULL DEFAULT '1.0.0', | ||
`mod_since` VARCHAR(10) NOT NULL DEFAULT '1.0.0', | ||
`mod_min_php` VARCHAR(4) NOT NULL DEFAULT '5.5', | ||
`mod_version` VARCHAR(15) NOT NULL DEFAULT '1.0.0', | ||
`mod_since` VARCHAR(15) NOT NULL DEFAULT '1.0.0', | ||
`mod_min_php` VARCHAR(15) NOT NULL DEFAULT '5.5', | ||
`mod_min_xoops` VARCHAR(15) NOT NULL DEFAULT '2.5.11', | ||
`mod_min_admin` VARCHAR(4) NOT NULL DEFAULT '1.2', | ||
`mod_min_mysql` VARCHAR(6) NOT NULL DEFAULT '5.5', | ||
`mod_min_admin` VARCHAR(15) NOT NULL DEFAULT '1.2', | ||
`mod_min_mysql` VARCHAR(15) NOT NULL DEFAULT '5.5', | ||
`mod_description` TEXT, | ||
`mod_author` VARCHAR(200) NOT NULL DEFAULT 'TDM XOOPS', | ||
`mod_author_mail` VARCHAR(200) NOT NULL DEFAULT '[email protected]', | ||
|
@@ -106,8 +106,8 @@ CREATE TABLE `modulebuilder_modules` ( | |
`mod_notifications` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', | ||
`mod_permissions` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', | ||
`mod_inroot_copy` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', | ||
`mod_donations` VARCHAR(50) NOT NULL DEFAULT '6KJ7RW5DR3VTJ', | ||
`mod_subversion` VARCHAR(10) NOT NULL DEFAULT '12550', | ||
`mod_donations` VARCHAR(50) NOT NULL DEFAULT '', | ||
`mod_subversion` VARCHAR(10) NOT NULL DEFAULT '', | ||
PRIMARY KEY (`mod_id`), | ||
KEY `mod_name` (`mod_name`), | ||
UNIQUE KEY `mod_dirname` (`mod_dirname`) | ||
|