diff --git a/data/install.sql b/data/install.sql index 1b0849d..45cb142 100644 --- a/data/install.sql +++ b/data/install.sql @@ -5,10 +5,10 @@ CREATE TABLE `core_tag` ( `Tag_ID` int(11) NOT NULL, `tag_key` varchar(50) NOT NULL, `tag_label` varchar(255) NOT NULL, - `created_by` int(11) NOT NULL, - `created_date` datetime NOT NULL, - `modified_by` int(11) NOT NULL, - `modified_date` datetime NOT NULL + `created_by` int(11) NOT NULL DEFAULT 1, + `created_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `modified_by` int(11) NOT NULL DEFAULT 1, + `modified_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ALTER TABLE `core_tag` @@ -99,7 +99,8 @@ INSERT INTO `core_form_field` (`Field_ID`, `type`, `label`, `fieldkey`, `tab`, ` (NULL, 'text', 'Name', 'tag_label', 'tag-base', 'tag-single', 'col-md-3', '/tag/view/##ID##', '', 0, 1, 0, '', '', ''), (NULL, 'text', 'Key', 'tag_key', 'tag-base', 'tag-single', 'col-md-3', '/tag/view/##ID##', '', 0, 1, 1, '', '', ''), (NULL, 'partial', 'Entity Tags', 'entitytags', 'tag-entitytags', 'tag-single', 'col-md-12', '', '', '0', '1', '0', '', '', ''), -(NULL, 'text', 'Name', 'tag_value', 'entitytag-base', 'entitytag-single', 'col-md-3', '/tag/entity/view/##ID##', '', '0', '1', '0', '', '', ''); +(NULL, 'text', 'Name', 'tag_value', 'entitytag-base', 'entitytag-single', 'col-md-3', '/tag/entity/view/##ID##', '', '0', '1', '0', '', '', ''), +(NULL, 'text', 'Form Name', 'entity_form_idfs', 'entitytag-base', 'entitytag-single', 'col-md-3', '', '', '0', '1', '0', '', '', ''); -- -- TAG - Core Index Table diff --git a/docs/book/index.md b/docs/book/index.md index bd3aba1..f0929fb 100644 --- a/docs/book/index.md +++ b/docs/book/index.md @@ -1,4 +1,4 @@ -# oneplace-core +# oneplace-tag onePlace Tag Module. Add Tags to every Module in onePlace with ease! diff --git a/src/Module.php b/src/Module.php index 2be44e5..54a914f 100644 --- a/src/Module.php +++ b/src/Module.php @@ -28,9 +28,9 @@ class Module { /** * Module Version * - * @since 1.0.4 + * @since 1.0.3 */ - const VERSION = '1.0.4'; + const VERSION = '1.0.3'; /** * Load module config file