Skip to content
Snippets Groups Projects
Commit 350fcc8f authored by Jared Hancock's avatar Jared Hancock Committed by Peter Rotich
Browse files

queue: Add install and migration scripts

parent 62081768
No related branches found
No related tags found
No related merge requests found
/**
* @version v1.11
* @signature 00000000000000000000000000000000
*
* Add custom queues, custom columns, and quick filter capabilities to the
* system.
*/
ALTER TABLE `%TABLE_PREFIX%queue`
ADD `filter` varchar(64) AFTER `config`,
ADD `root` varchar(32) DEFAULT NULL AFTER `filter`,
ADD `path` varchar(80) NOT NULL DEFAULT '/' AFTER `root`;
DROP TABLE IF EXISTS `%TABLE_PREFIX%queue_column`;
CREATE TABLE `%TABLE_PREFIX%queue_column` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`queue_id` int(10) unsigned NOT NULL,
`flags` int(10) unsigned NOT NULL DEFAULT '0',
`sort` int(10) unsigned NOT NULL DEFAULT '0',
`heading` varchar(64) NOT NULL DEFAULT '',
`primary` varchar(64) NOT NULL DEFAULT '',
`secondary` varchar(64) DEFAULT NULL,
`width` int(10) unsigned DEFAULT NULL,
`link` varchar(32) DEFAULT NULL,
`truncate` varchar(16) DEFAULT NULL,
`annotations` text,
`conditions` text,
`extra` text,
PRIMARY KEY (`id`)
) DEFAULT CHARSET=utf8;
......@@ -832,11 +832,32 @@ CREATE TABLE `%TABLE_PREFIX%queue` (
`sort` int(11) unsigned not null default 0,
`title` varchar(60),
`config` text,
`filter` varchar(64),
`root` varchar(32) DEFAULT NULL,
`path` varchar(80) NOT NULL DEFAULT '/',
`created` datetime not null,
`updated` datetime not null,
primary key (`id`)
) DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `%TABLE_PREFIX%queue_column`;
CREATE TABLE `%TABLE_PREFIX%queue_column` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`queue_id` int(10) unsigned NOT NULL,
`flags` int(10) unsigned NOT NULL DEFAULT '0',
`sort` int(10) unsigned NOT NULL DEFAULT '0',
`heading` varchar(64) NOT NULL DEFAULT '',
`primary` varchar(64) NOT NULL DEFAULT '',
`secondary` varchar(64) DEFAULT NULL,
`width` int(10) unsigned DEFAULT NULL,
`link` varchar(32) DEFAULT NULL,
`truncate` varchar(16) DEFAULT NULL,
`annotations` text,
`conditions` text,
`extra` text,
PRIMARY KEY (`id`)
) DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `%TABLE_PREFIX%translation`;
CREATE TABLE `%TABLE_PREFIX%translation` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment