Fixed gh-400 the MySQL v5.7 Install Error

This commit is contained in:
Llewellyn van der Merwe 2019-04-02 13:00:25 +02:00
parent 09dcd16b02
commit 781fb9162c
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
6 changed files with 58 additions and 51 deletions

View File

@ -146,7 +146,7 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 19th March, 2019 + *Last Build*: 2nd April, 2019
+ *Version*: 2.9.13 + *Version*: 2.9.13
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt + *License*: GNU General Public License version 2 or later; see LICENSE.txt

View File

@ -146,7 +146,7 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 19th March, 2019 + *Last Build*: 2nd April, 2019
+ *Version*: 2.9.13 + *Version*: 2.9.13
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt + *License*: GNU General Public License version 2 or later; see LICENSE.txt

View File

@ -101,7 +101,7 @@ class ###Component###View###View### extends JViewLegacy
{ {
if(strlen($var) > 30) if(strlen($var) > 30)
{ {
// use the helper htmlEscape method instead and shorten the string // use the helper htmlEscape method instead and shorten the string
return ###Component###Helper::htmlEscape($var, $this->_charset, true, 30); return ###Component###Helper::htmlEscape($var, $this->_charset, true, 30);
} }
// use the helper htmlEscape method instead. // use the helper htmlEscape method instead.
@ -121,13 +121,20 @@ class ###Component###View###View### extends JViewLegacy
$this->document = JFactory::getDocument(); $this->document = JFactory::getDocument();
} }
$this->document->setTitle(JText::_($isNew ? 'COM_###COMPONENT###_###VIEW###_NEW' : 'COM_###COMPONENT###_###VIEW###_EDIT')); $this->document->setTitle(JText::_($isNew ? 'COM_###COMPONENT###_###VIEW###_NEW' : 'COM_###COMPONENT###_###VIEW###_EDIT'));
// we need this to fix the form display (TODO) // only add the ISIS template css & js if needed (default is 1 = true)
$this->document->addStyleSheet(JURI::root()."administrator/templates/isis/css/template.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // you can override this in the global component options
$this->document->addScript(JURI::root()."administrator/templates/isis/js/template.js", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); // just add a (radio yes/no field) with a name called add_isis_template
// to your components config area
if ($this->params->get('add_isis_template', 1))
{
// we need this to fix the form display (TODO)
$this->document->addStyleSheet(JURI::root() . "administrator/templates/isis/css/template.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');
$this->document->addScript(JURI::root() . "administrator/templates/isis/js/template.js", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript');
}
// the default style of this view // the default style of this view
$this->document->addStyleSheet(JURI::root()."components/com_###component###/assets/css/###view###.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###AJAXTOKE######LINKEDVIEWTABLESCRIPTS### $this->document->addStyleSheet(JURI::root()."components/com_###component###/assets/css/###view###.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###AJAXTOKE######LINKEDVIEWTABLESCRIPTS###
// default javascript of this view // default javascript of this view
$this->document->addScript(JURI::root().$this->script, (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root(). $this->script, (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript');
$this->document->addScript(JURI::root(). "components/com_###component###/views/###view###/submitbutton.js", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); ###DOCUMENT_CUSTOM_PHP### $this->document->addScript(JURI::root(). "components/com_###component###/views/###view###/submitbutton.js", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); ###DOCUMENT_CUSTOM_PHP###
JText::script('view not acceptable. Error'); JText::script('view not acceptable. Error');
} }

View File

@ -6198,7 +6198,7 @@ class Interpretation extends Fields
} }
else else
{ {
$default = $data['null_switch'] . " DEFAULT ''"; $default = $data['null_switch'];
} }
// set the lenght // set the lenght
$lenght = ''; $lenght = '';
@ -6240,7 +6240,7 @@ class Interpretation extends Fields
// check if default field was over written // check if default field was over written
if (!isset($this->fieldsNames[$view]['params'])) if (!isset($this->fieldsNames[$view]['params']))
{ {
$db_ .= PHP_EOL . $this->_t(1) . "`params` text NOT NULL DEFAULT '',"; $db_ .= PHP_EOL . $this->_t(1) . "`params` text NOT NULL,";
} }
// check if default field was over written // check if default field was over written
if (!isset($this->fieldsNames[$view]['published'])) if (!isset($this->fieldsNames[$view]['published']))
@ -6300,9 +6300,9 @@ class Interpretation extends Fields
// check if metadata is added to this view // check if metadata is added to this view
if (isset($this->metadataBuilder[$view]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$view])) if (isset($this->metadataBuilder[$view]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$view]))
{ {
$db_ .= PHP_EOL . $this->_t(1) . "`metakey` TEXT NOT NULL DEFAULT '',"; $db_ .= PHP_EOL . $this->_t(1) . "`metakey` TEXT NOT NULL,";
$db_ .= PHP_EOL . $this->_t(1) . "`metadesc` TEXT NOT NULL DEFAULT '',"; $db_ .= PHP_EOL . $this->_t(1) . "`metadesc` TEXT NOT NULL,";
$db_ .= PHP_EOL . $this->_t(1) . "`metadata` TEXT NOT NULL DEFAULT '',"; $db_ .= PHP_EOL . $this->_t(1) . "`metadata` TEXT NOT NULL,";
} }
$db_ .= PHP_EOL . $this->_t(1) . "PRIMARY KEY (`id`)"; $db_ .= PHP_EOL . $this->_t(1) . "PRIMARY KEY (`id`)";
if (isset($this->dbUniqueKeys[$view]) && ComponentbuilderHelper::checkArray($this->dbUniqueKeys[$view])) if (isset($this->dbUniqueKeys[$view]) && ComponentbuilderHelper::checkArray($this->dbUniqueKeys[$view]))

View File

@ -79,7 +79,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_component` (
`whmcs_buy_link` VARCHAR(255) NOT NULL DEFAULT '', `whmcs_buy_link` VARCHAR(255) NOT NULL DEFAULT '',
`whmcs_key` VARCHAR(255) NOT NULL DEFAULT '', `whmcs_key` VARCHAR(255) NOT NULL DEFAULT '',
`whmcs_url` VARCHAR(255) NOT NULL DEFAULT '', `whmcs_url` VARCHAR(255) NOT NULL DEFAULT '',
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -91,9 +91,9 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_component` (
`hits` INT(10) unsigned NOT NULL DEFAULT 0, `hits` INT(10) unsigned NOT NULL DEFAULT 0,
`access` INT(10) unsigned NOT NULL DEFAULT 0, `access` INT(10) unsigned NOT NULL DEFAULT 0,
`ordering` INT(11) NOT NULL DEFAULT 0, `ordering` INT(11) NOT NULL DEFAULT 0,
`metakey` TEXT NOT NULL DEFAULT '', `metakey` TEXT NOT NULL,
`metadesc` TEXT NOT NULL DEFAULT '', `metadesc` TEXT NOT NULL,
`metadata` TEXT NOT NULL DEFAULT '', `metadata` TEXT NOT NULL,
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
KEY `idx_access` (`access`), KEY `idx_access` (`access`),
KEY `idx_checkout` (`checked_out`), KEY `idx_checkout` (`checked_out`),
@ -224,7 +224,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
`sql` MEDIUMTEXT NOT NULL, `sql` MEDIUMTEXT NOT NULL,
`system_name` VARCHAR(255) NOT NULL DEFAULT '', `system_name` VARCHAR(255) NOT NULL DEFAULT '',
`type` INT(11) NOT NULL DEFAULT 0, `type` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -319,7 +319,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_admin_view` (
`php_view` MEDIUMTEXT NOT NULL, `php_view` MEDIUMTEXT NOT NULL,
`snippet` INT(11) NOT NULL DEFAULT 0, `snippet` INT(11) NOT NULL DEFAULT 0,
`system_name` VARCHAR(255) NOT NULL DEFAULT '', `system_name` VARCHAR(255) NOT NULL DEFAULT '',
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -393,7 +393,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_site_view` (
`php_view` MEDIUMTEXT NOT NULL, `php_view` MEDIUMTEXT NOT NULL,
`snippet` INT(11) NOT NULL DEFAULT 0, `snippet` INT(11) NOT NULL DEFAULT 0,
`system_name` VARCHAR(255) NOT NULL DEFAULT '', `system_name` VARCHAR(255) NOT NULL DEFAULT '',
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -441,7 +441,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_template` (
`php_view` MEDIUMTEXT NOT NULL, `php_view` MEDIUMTEXT NOT NULL,
`snippet` INT(11) NOT NULL DEFAULT 0, `snippet` INT(11) NOT NULL DEFAULT 0,
`template` TEXT NOT NULL, `template` TEXT NOT NULL,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -477,7 +477,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_layout` (
`name` VARCHAR(255) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '',
`php_view` MEDIUMTEXT NOT NULL, `php_view` MEDIUMTEXT NOT NULL,
`snippet` INT(11) NOT NULL DEFAULT 0, `snippet` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -537,7 +537,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_dynamic_get` (
`view_selection` TEXT NOT NULL, `view_selection` TEXT NOT NULL,
`view_table_main` INT(11) NOT NULL DEFAULT 0, `view_table_main` INT(11) NOT NULL DEFAULT 0,
`where` TEXT NOT NULL, `where` TEXT NOT NULL,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -585,7 +585,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_code` (
`target` TINYINT(1) NOT NULL DEFAULT 0, `target` TINYINT(1) NOT NULL DEFAULT 0,
`to_line` VARCHAR(100) NOT NULL DEFAULT '', `to_line` VARCHAR(100) NOT NULL DEFAULT '',
`type` TINYINT(1) NOT NULL DEFAULT 0, `type` TINYINT(1) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -616,7 +616,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_placeholder` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`target` VARCHAR(255) NOT NULL DEFAULT '', `target` VARCHAR(255) NOT NULL DEFAULT '',
`value` TEXT NOT NULL, `value` TEXT NOT NULL,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -648,7 +648,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_library` (
`not_required` INT(1) NOT NULL DEFAULT 0, `not_required` INT(1) NOT NULL DEFAULT 0,
`php_setdocument` MEDIUMTEXT NOT NULL, `php_setdocument` MEDIUMTEXT NOT NULL,
`type` TINYINT(1) NOT NULL DEFAULT 0, `type` TINYINT(1) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -685,7 +685,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_snippet` (
`type` INT(11) NOT NULL DEFAULT 0, `type` INT(11) NOT NULL DEFAULT 0,
`url` VARCHAR(255) NOT NULL DEFAULT '', `url` VARCHAR(255) NOT NULL DEFAULT '',
`usage` TEXT NOT NULL, `usage` TEXT NOT NULL,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -715,7 +715,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_validation_rule` (
`name` VARCHAR(255) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '',
`php` MEDIUMTEXT NOT NULL, `php` MEDIUMTEXT NOT NULL,
`short_description` VARCHAR(255) NOT NULL DEFAULT '', `short_description` VARCHAR(255) NOT NULL DEFAULT '',
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -759,7 +759,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_field` (
`null_switch` CHAR(64) NOT NULL DEFAULT '', `null_switch` CHAR(64) NOT NULL DEFAULT '',
`store` INT(11) NOT NULL DEFAULT 0, `store` INT(11) NOT NULL DEFAULT 0,
`xml` TEXT NOT NULL, `xml` TEXT NOT NULL,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -801,7 +801,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_fieldtype` (
`name` VARCHAR(255) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '',
`properties` TEXT NOT NULL, `properties` TEXT NOT NULL,
`short_description` VARCHAR(255) NOT NULL DEFAULT '', `short_description` VARCHAR(255) NOT NULL DEFAULT '',
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -829,7 +829,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_language_translation` (
`components` TEXT NOT NULL, `components` TEXT NOT NULL,
`source` MEDIUMTEXT NOT NULL, `source` MEDIUMTEXT NOT NULL,
`translation` TEXT NOT NULL, `translation` TEXT NOT NULL,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -854,7 +854,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_language` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`langtag` VARCHAR(64) NOT NULL DEFAULT '', `langtag` VARCHAR(64) NOT NULL DEFAULT '',
`name` VARCHAR(255) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '',
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -891,7 +891,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_server` (
`secret` TEXT NOT NULL, `secret` TEXT NOT NULL,
`signature` TEXT NOT NULL, `signature` TEXT NOT NULL,
`username` TEXT NOT NULL, `username` TEXT NOT NULL,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -928,7 +928,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_help_document` (
`title` CHAR(64) NOT NULL DEFAULT '', `title` CHAR(64) NOT NULL DEFAULT '',
`type` TINYINT(1) NOT NULL DEFAULT 0, `type` TINYINT(1) NOT NULL DEFAULT 0,
`url` VARCHAR(255) NOT NULL DEFAULT '', `url` VARCHAR(255) NOT NULL DEFAULT '',
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -957,7 +957,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`addfields` MEDIUMTEXT NOT NULL, `addfields` MEDIUMTEXT NOT NULL,
`admin_view` INT(11) NOT NULL DEFAULT 0, `admin_view` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -983,7 +983,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields_conditions` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`addconditions` MEDIUMTEXT NOT NULL, `addconditions` MEDIUMTEXT NOT NULL,
`admin_view` INT(11) NOT NULL DEFAULT 0, `admin_view` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1009,7 +1009,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields_relations` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`addrelations` MEDIUMTEXT NOT NULL, `addrelations` MEDIUMTEXT NOT NULL,
`admin_view` INT(11) NOT NULL DEFAULT 0, `admin_view` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1035,7 +1035,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_custom_tabs` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`admin_view` INT(11) NOT NULL DEFAULT 0, `admin_view` INT(11) NOT NULL DEFAULT 0,
`tabs` TEXT NOT NULL, `tabs` TEXT NOT NULL,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1061,7 +1061,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_admin_views` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`addadmin_views` TEXT NOT NULL, `addadmin_views` TEXT NOT NULL,
`joomla_component` INT(11) NOT NULL DEFAULT 0, `joomla_component` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1087,7 +1087,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_site_views` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`addsite_views` TEXT NOT NULL, `addsite_views` TEXT NOT NULL,
`joomla_component` INT(11) NOT NULL DEFAULT 0, `joomla_component` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1113,7 +1113,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_custom_admin_views` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`addcustom_admin_views` TEXT NOT NULL, `addcustom_admin_views` TEXT NOT NULL,
`joomla_component` INT(11) NOT NULL DEFAULT 0, `joomla_component` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1139,7 +1139,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_updates` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`joomla_component` INT(11) NOT NULL DEFAULT 0, `joomla_component` INT(11) NOT NULL DEFAULT 0,
`version_update` TEXT NOT NULL, `version_update` TEXT NOT NULL,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1165,7 +1165,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_mysql_tweaks` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`joomla_component` INT(11) NOT NULL DEFAULT 0, `joomla_component` INT(11) NOT NULL DEFAULT 0,
`sql_tweak` TEXT NOT NULL, `sql_tweak` TEXT NOT NULL,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1191,7 +1191,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_custom_admin_menus` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`addcustommenus` TEXT NOT NULL, `addcustommenus` TEXT NOT NULL,
`joomla_component` INT(11) NOT NULL DEFAULT 0, `joomla_component` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1217,7 +1217,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_config` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`addconfig` TEXT NOT NULL, `addconfig` TEXT NOT NULL,
`joomla_component` INT(11) NOT NULL DEFAULT 0, `joomla_component` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1244,7 +1244,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_dashboard` (
`dashboard_tab` TEXT NOT NULL, `dashboard_tab` TEXT NOT NULL,
`joomla_component` INT(11) NOT NULL DEFAULT 0, `joomla_component` INT(11) NOT NULL DEFAULT 0,
`php_dashboard_methods` MEDIUMTEXT NOT NULL, `php_dashboard_methods` MEDIUMTEXT NOT NULL,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1273,7 +1273,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_files_folders` (
`addfolders` TEXT NOT NULL, `addfolders` TEXT NOT NULL,
`addfoldersfullpath` TEXT NOT NULL, `addfoldersfullpath` TEXT NOT NULL,
`joomla_component` INT(11) NOT NULL DEFAULT 0, `joomla_component` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1299,7 +1299,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_placeholders` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`addplaceholders` TEXT NOT NULL, `addplaceholders` TEXT NOT NULL,
`joomla_component` INT(11) NOT NULL DEFAULT 0, `joomla_component` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1325,7 +1325,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_snippet_type` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`description` VARCHAR(255) NOT NULL DEFAULT '', `description` VARCHAR(255) NOT NULL DEFAULT '',
`name` VARCHAR(255) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '',
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1351,7 +1351,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_library_config` (
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`addconfig` TEXT NOT NULL, `addconfig` TEXT NOT NULL,
`library` INT(11) NOT NULL DEFAULT 0, `library` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -1381,7 +1381,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_library_files_folders_urls` (
`addfoldersfullpath` TEXT NOT NULL, `addfoldersfullpath` TEXT NOT NULL,
`addurls` TEXT NOT NULL, `addurls` TEXT NOT NULL,
`library` INT(11) NOT NULL DEFAULT 0, `library` INT(11) NOT NULL DEFAULT 0,
`params` text NOT NULL DEFAULT '', `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade"> <extension type="component" version="3.2" method="upgrade">
<name>COM_COMPONENTBUILDER</name> <name>COM_COMPONENTBUILDER</name>
<creationDate>19th March, 2019</creationDate> <creationDate>2nd April, 2019</creationDate>
<author>Llewellyn van der Merwe</author> <author>Llewellyn van der Merwe</author>
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail> <authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl> <authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>