Skip to content

Commit

Permalink
sql fixes and more
Browse files Browse the repository at this point in the history
  • Loading branch information
Praesidiarius committed Jan 23, 2020
1 parent fb809fc commit d083198
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
11 changes: 6 additions & 5 deletions data/install.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/book/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# oneplace-core
# oneplace-tag

onePlace Tag Module. Add Tags to every Module in onePlace with ease!

Expand Down
4 changes: 2 additions & 2 deletions src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d083198

Please sign in to comment.