Skip to content

Commit

Permalink
add createdon, editedon to tv-parameters (modxcms#126 related)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pathologic committed Jul 29, 2017
1 parent fa894e4 commit 696d96e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions install/setup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,8 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}site_tmplvars` (
`display` varchar(20) NOT NULL default '' COMMENT 'Display Control',
`display_params` text COMMENT 'Display Control Properties',
`default_text` text,
`createdon` integer NOT NULL DEFAULT '0',
`editedon` integer NOT NULL DEFAULT '0',
PRIMARY KEY (id),
KEY `indx_rank`(`rank`)
) ENGINE=MyISAM COMMENT='Site Template Variables';
Expand Down Expand Up @@ -620,6 +622,12 @@ ALTER TABLE `{PREFIX}site_templates`
ALTER TABLE `{PREFIX}site_tmplvar_templates`
ADD COLUMN `rank` integer(11) NOT NULL DEFAULT '0' AFTER `templateid`;

ALTER TABLE `{PREFIX}site_tmplvars`
ADD COLUMN `editedon` integer NOT NULL DEFAULT '0';

ALTER TABLE `{PREFIX}site_tmplvars`
ADD COLUMN `createdon` integer NOT NULL DEFAULT '0';

ALTER TABLE `{PREFIX}user_attributes`
ADD COLUMN `street` varchar(255) NOT NULL DEFAULT '' AFTER `country`;

Expand Down

0 comments on commit 696d96e

Please sign in to comment.