You've already forked joomla_test
first commit
This commit is contained in:
1
administrator/components/com_admin/sql/index.html
Normal file
1
administrator/components/com_admin/sql/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,9 @@
|
||||
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
|
||||
(437, 'plg_quickicon_joomlaupdate', 'plugin', 'joomlaupdate', 'quickicon', 0, 1, 1, 1, '', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0),
|
||||
(438, 'plg_quickicon_extensionupdate', 'plugin', 'extensionupdate', 'quickicon', 0, 1, 1, 1, '', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0);
|
||||
|
||||
ALTER TABLE `#__update_sites` ADD COLUMN `last_check_timestamp` bigint(20) DEFAULT '0' AFTER `enabled`;
|
||||
|
||||
REPLACE INTO `#__update_sites` VALUES
|
||||
(1, 'Joomla Core', 'collection', 'http://update.joomla.org/core/list.xml', 1, 0),
|
||||
(2, 'Joomla Extension Directory', 'collection', 'http://update.joomla.org/jed/list.xml', 1, 0);
|
@ -0,0 +1,7 @@
|
||||
CREATE TABLE IF NOT EXISTS `#__overrider` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
|
||||
`constant` varchar(255) NOT NULL,
|
||||
`string` text NOT NULL,
|
||||
`file` varchar(255) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) DEFAULT CHARSET=utf8;
|
@ -0,0 +1,20 @@
|
||||
CREATE TABLE IF NOT EXISTS `#__user_notes` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`user_id` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`catid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`subject` varchar(100) NOT NULL DEFAULT '',
|
||||
`body` text NOT NULL,
|
||||
`state` tinyint(3) NOT NULL DEFAULT '0',
|
||||
`checked_out` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`created_user_id` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`created_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`modified_user_id` int(10) unsigned NOT NULL,
|
||||
`modified_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`review_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`publish_up` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`publish_down` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_user_id` (`user_id`),
|
||||
KEY `idx_category_id` (`catid`)
|
||||
) DEFAULT CHARSET=utf8;
|
@ -0,0 +1,7 @@
|
||||
SELECT @old_params:= CONCAT(SUBSTRING_INDEX(SUBSTRING(params, LOCATE('"filters":', params)), '}}', 1), '}}') as filters
|
||||
FROM `#__extensions`
|
||||
WHERE name="com_content";
|
||||
|
||||
UPDATE `#__extensions`
|
||||
SET params=CONCAT('{',SUBSTRING(params, 2, CHAR_LENGTH(params)-2),IF(params='','',','),@old_params,'}')
|
||||
WHERE name="com_config";
|
@ -0,0 +1,11 @@
|
||||
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
|
||||
(27, 'com_finder', 'component', 'com_finder', '', 1, 1, 0, 0, '', '{"show_description":"1","description_length":255,"allow_empty_query":"0","show_url":"1","show_advanced":"1","expand_advanced":"0","show_date_filters":"0","highlight_terms":"1","opensearch_name":"","opensearch_description":"","batch_size":"50","memory_table_limit":30000,"title_multiplier":"1.7","text_multiplier":"0.7","meta_multiplier":"1.2","path_multiplier":"2.0","misc_multiplier":"0.3","stemmer":"porter_en"}', '', '', 0, '0000-00-00 00:00:00', 0, 0),
|
||||
(439, 'plg_captcha_recaptcha', 'plugin', 'recaptcha', 'captcha', 0, 1, 1, 0, '{}', '{"public_key":"","private_key":"","theme":"clean"}', '', '', 0, '0000-00-00 00:00:00', 0, 0),
|
||||
(440, 'plg_system_highlight', 'plugin', 'highlight', 'system', 0, 1, 1, 0, '', '{}', '', '', 0, '0000-00-00 00:00:00', 7, 0),
|
||||
(441, 'plg_content_finder', 'plugin', 'finder', 'content', 0, 0, 1, 0, '{"legacy":false,"name":"plg_content_finder","type":"plugin","creationDate":"December 2011","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"1.7.0","description":"PLG_CONTENT_FINDER_XML_DESCRIPTION","group":""}', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0),
|
||||
(442, 'plg_finder_categories', 'plugin', 'categories', 'finder', 0, 1, 1, 0, '', '{}', '', '', 0, '0000-00-00 00:00:00', 1, 0),
|
||||
(443, 'plg_finder_contacts', 'plugin', 'contacts', 'finder', 0, 1, 1, 0, '', '{}', '', '', 0, '0000-00-00 00:00:00', 2, 0),
|
||||
(444, 'plg_finder_content', 'plugin', 'content', 'finder', 0, 1, 1, 0, '', '{}', '', '', 0, '0000-00-00 00:00:00', 3, 0),
|
||||
(445, 'plg_finder_newsfeeds', 'plugin', 'newsfeeds', 'finder', 0, 1, 1, 0, '', '{}', '', '', 0, '0000-00-00 00:00:00', 4, 0),
|
||||
(446, 'plg_finder_weblinks', 'plugin', 'weblinks', 'finder', 0, 1, 1, 0, '', '{}', '', '', 0, '0000-00-00 00:00:00', 5, 0),
|
||||
(223, 'mod_finder', 'module', 'mod_finder', '', 0, 1, 0, 0, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0);
|
@ -0,0 +1,244 @@
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_terms0` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_terms1` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_terms2` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_terms3` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_terms4` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_terms5` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_terms6` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_terms7` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_terms8` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_terms9` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_termsa` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_termsb` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_termsc` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_termsd` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_termse` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links_termsf` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`weight` float unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`term_id`),
|
||||
KEY `idx_term_weight` (`term_id`,`weight`),
|
||||
KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_taxonomy` (
|
||||
`id` int(10) unsigned NOT NULL auto_increment,
|
||||
`parent_id` int(10) unsigned NOT NULL default '0',
|
||||
`title` varchar(255) NOT NULL,
|
||||
`state` tinyint(1) unsigned NOT NULL default '1',
|
||||
`access` tinyint(1) unsigned NOT NULL default '0',
|
||||
`ordering` tinyint(1) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `parent_id` (`parent_id`),
|
||||
KEY `state` (`state`),
|
||||
KEY `ordering` (`ordering`),
|
||||
KEY `access` (`access`),
|
||||
KEY `idx_parent_published` (`parent_id`,`state`,`access`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_taxonomy_map` (
|
||||
`link_id` int(10) unsigned NOT NULL,
|
||||
`node_id` int(10) unsigned NOT NULL,
|
||||
PRIMARY KEY (`link_id`,`node_id`),
|
||||
KEY `link_id` (`link_id`),
|
||||
KEY `node_id` (`node_id`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_terms` (
|
||||
`term_id` int(10) unsigned NOT NULL auto_increment,
|
||||
`term` varchar(75) NOT NULL,
|
||||
`stem` varchar(75) NOT NULL,
|
||||
`common` tinyint(1) unsigned NOT NULL default '0',
|
||||
`phrase` tinyint(1) unsigned NOT NULL default '0',
|
||||
`weight` float unsigned NOT NULL default '0',
|
||||
`soundex` varchar(75) NOT NULL,
|
||||
`links` int(10) NOT NULL default '0',
|
||||
PRIMARY KEY (`term_id`),
|
||||
UNIQUE KEY `idx_term` (`term`),
|
||||
KEY `idx_term_phrase` (`term`,`phrase`),
|
||||
KEY `idx_stem_phrase` (`stem`,`phrase`),
|
||||
KEY `idx_soundex_phrase` (`soundex`,`phrase`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_terms_common` (
|
||||
`term` varchar(75) NOT NULL,
|
||||
`language` varchar(3) NOT NULL,
|
||||
KEY `idx_word_lang` (`term`,`language`),
|
||||
KEY `idx_lang` (`language`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_tokens` (
|
||||
`term` varchar(75) NOT NULL,
|
||||
`stem` varchar(75) NOT NULL,
|
||||
`common` tinyint(1) unsigned NOT NULL default '0',
|
||||
`phrase` tinyint(1) unsigned NOT NULL default '0',
|
||||
`weight` float unsigned NOT NULL default '1',
|
||||
`context` tinyint(1) unsigned NOT NULL default '2',
|
||||
KEY `idx_word` (`term`),
|
||||
KEY `idx_context` (`context`)
|
||||
) ENGINE=MEMORY DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_tokens_aggregate` (
|
||||
`term_id` int(10) unsigned NOT NULL,
|
||||
`map_suffix` char(1) NOT NULL,
|
||||
`term` varchar(75) NOT NULL,
|
||||
`stem` varchar(75) NOT NULL,
|
||||
`common` tinyint(1) unsigned NOT NULL default '0',
|
||||
`phrase` tinyint(1) unsigned NOT NULL default '0',
|
||||
`term_weight` float unsigned NOT NULL,
|
||||
`context` tinyint(1) unsigned NOT NULL default '2',
|
||||
`context_weight` float unsigned NOT NULL,
|
||||
`total_weight` float unsigned NOT NULL,
|
||||
KEY `token` (`term`),
|
||||
KEY `keyword_id` (`term_id`)
|
||||
) ENGINE=MEMORY DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_types` (
|
||||
`id` int(10) unsigned NOT NULL auto_increment,
|
||||
`title` varchar(100) NOT NULL,
|
||||
`mime` varchar(100) NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `title` (`title`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
|
@ -0,0 +1,123 @@
|
||||
REPLACE INTO `#__finder_taxonomy` (`id`, `parent_id`, `title`, `state`, `access`, `ordering`) VALUES
|
||||
(1, 0, 'ROOT', 0, 0, 0);
|
||||
|
||||
REPLACE INTO `#__finder_terms_common` (`term`, `language`) VALUES
|
||||
('a', 'en'),
|
||||
('about', 'en'),
|
||||
('after', 'en'),
|
||||
('ago', 'en'),
|
||||
('all', 'en'),
|
||||
('am', 'en'),
|
||||
('an', 'en'),
|
||||
('and', 'en'),
|
||||
('ani', 'en'),
|
||||
('any', 'en'),
|
||||
('are', 'en'),
|
||||
('aren''t', 'en'),
|
||||
('as', 'en'),
|
||||
('at', 'en'),
|
||||
('be', 'en'),
|
||||
('but', 'en'),
|
||||
('by', 'en'),
|
||||
('for', 'en'),
|
||||
('from', 'en'),
|
||||
('get', 'en'),
|
||||
('go', 'en'),
|
||||
('how', 'en'),
|
||||
('if', 'en'),
|
||||
('in', 'en'),
|
||||
('into', 'en'),
|
||||
('is', 'en'),
|
||||
('isn''t', 'en'),
|
||||
('it', 'en'),
|
||||
('its', 'en'),
|
||||
('me', 'en'),
|
||||
('more', 'en'),
|
||||
('most', 'en'),
|
||||
('must', 'en'),
|
||||
('my', 'en'),
|
||||
('new', 'en'),
|
||||
('no', 'en'),
|
||||
('none', 'en'),
|
||||
('not', 'en'),
|
||||
('noth', 'en'),
|
||||
('nothing', 'en'),
|
||||
('of', 'en'),
|
||||
('off', 'en'),
|
||||
('often', 'en'),
|
||||
('old', 'en'),
|
||||
('on', 'en'),
|
||||
('onc', 'en'),
|
||||
('once', 'en'),
|
||||
('onli', 'en'),
|
||||
('only', 'en'),
|
||||
('or', 'en'),
|
||||
('other', 'en'),
|
||||
('our', 'en'),
|
||||
('ours', 'en'),
|
||||
('out', 'en'),
|
||||
('over', 'en'),
|
||||
('page', 'en'),
|
||||
('she', 'en'),
|
||||
('should', 'en'),
|
||||
('small', 'en'),
|
||||
('so', 'en'),
|
||||
('some', 'en'),
|
||||
('than', 'en'),
|
||||
('thank', 'en'),
|
||||
('that', 'en'),
|
||||
('the', 'en'),
|
||||
('their', 'en'),
|
||||
('theirs', 'en'),
|
||||
('them', 'en'),
|
||||
('then', 'en'),
|
||||
('there', 'en'),
|
||||
('these', 'en'),
|
||||
('they', 'en'),
|
||||
('this', 'en'),
|
||||
('those', 'en'),
|
||||
('thus', 'en'),
|
||||
('time', 'en'),
|
||||
('times', 'en'),
|
||||
('to', 'en'),
|
||||
('too', 'en'),
|
||||
('true', 'en'),
|
||||
('under', 'en'),
|
||||
('until', 'en'),
|
||||
('up', 'en'),
|
||||
('upon', 'en'),
|
||||
('use', 'en'),
|
||||
('user', 'en'),
|
||||
('users', 'en'),
|
||||
('veri', 'en'),
|
||||
('version', 'en'),
|
||||
('very', 'en'),
|
||||
('via', 'en'),
|
||||
('want', 'en'),
|
||||
('was', 'en'),
|
||||
('way', 'en'),
|
||||
('were', 'en'),
|
||||
('what', 'en'),
|
||||
('when', 'en'),
|
||||
('where', 'en'),
|
||||
('whi', 'en'),
|
||||
('which', 'en'),
|
||||
('who', 'en'),
|
||||
('whom', 'en'),
|
||||
('whose', 'en'),
|
||||
('why', 'en'),
|
||||
('wide', 'en'),
|
||||
('will', 'en'),
|
||||
('with', 'en'),
|
||||
('within', 'en'),
|
||||
('without', 'en'),
|
||||
('would', 'en'),
|
||||
('yes', 'en'),
|
||||
('yet', 'en'),
|
||||
('you', 'en'),
|
||||
('your', 'en'),
|
||||
('yours', 'en');
|
||||
|
||||
|
||||
INSERT INTO `#__menu` (`id`, `menutype`, `title`, `alias`, `note`, `path`, `link`, `type`, `published`, `parent_id`, `level`, `component_id`, `ordering`, `checked_out`, `checked_out_time`, `browserNav`, `access`, `img`, `template_style_id`, `params`, `lft`, `rgt`, `home`, `language`, `client_id`) VALUES
|
||||
(21, 'menu', 'com_finder', 'Smart Search', '', 'Smart Search', 'index.php?option=com_finder', 'component', 0, 1, 1, 27, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:finder', 0, '', 41, 42, 0, '*', 1);
|
@ -0,0 +1,47 @@
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_filters` (
|
||||
`filter_id` int(10) unsigned NOT NULL auto_increment,
|
||||
`title` varchar(255) NOT NULL,
|
||||
`alias` varchar(255) NOT NULL,
|
||||
`state` tinyint(1) NOT NULL default '1',
|
||||
`created` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`created_by` int(10) unsigned NOT NULL,
|
||||
`created_by_alias` varchar(255) NOT NULL,
|
||||
`modified` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`modified_by` int(10) unsigned NOT NULL default '0',
|
||||
`checked_out` int(10) unsigned NOT NULL default '0',
|
||||
`checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`map_count` int(10) unsigned NOT NULL default '0',
|
||||
`data` text NOT NULL,
|
||||
`params` mediumtext,
|
||||
PRIMARY KEY (`filter_id`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__finder_links` (
|
||||
`link_id` int(10) unsigned NOT NULL auto_increment,
|
||||
`url` varchar(255) NOT NULL,
|
||||
`route` varchar(255) NOT NULL,
|
||||
`title` varchar(255) default NULL,
|
||||
`description` varchar(255) default NULL,
|
||||
`indexdate` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`md5sum` varchar(32) default NULL,
|
||||
`published` tinyint(1) NOT NULL default '1',
|
||||
`state` int(5) default '1',
|
||||
`access` int(5) default '0',
|
||||
`language` varchar(8) NOT NULL,
|
||||
`publish_start_date` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`publish_end_date` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`start_date` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`end_date` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`list_price` double unsigned NOT NULL default '0',
|
||||
`sale_price` double unsigned NOT NULL default '0',
|
||||
`type_id` int(11) NOT NULL,
|
||||
`object` mediumblob NOT NULL,
|
||||
PRIMARY KEY (`link_id`),
|
||||
KEY `idx_type` (`type_id`),
|
||||
KEY `idx_title` (`title`),
|
||||
KEY `idx_md5` (`md5sum`),
|
||||
KEY `idx_url` (`url`(75)),
|
||||
KEY `idx_published_list` (`published`,`state`,`access`,`publish_start_date`,`publish_end_date`,`list_price`),
|
||||
KEY `idx_published_sale` (`published`,`state`,`access`,`publish_start_date`,`publish_end_date`,`sale_price`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
@ -0,0 +1,3 @@
|
||||
ALTER TABLE `#__menu` DROP INDEX `idx_client_id_parent_id_alias`;
|
||||
|
||||
ALTER TABLE `#__menu` ADD UNIQUE `idx_client_id_parent_id_alias_language` ( `client_id` , `parent_id` , `alias` , `language` );
|
@ -0,0 +1 @@
|
||||
ALTER TABLE `#__updates` ADD COLUMN `infourl` text NOT NULL AFTER `detailsurl`;
|
@ -0,0 +1,2 @@
|
||||
ALTER TABLE `#__languages` CHANGE `sitename` `sitename` VARCHAR( 1024 ) NOT NULL DEFAULT '';
|
||||
|
@ -0,0 +1,8 @@
|
||||
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
|
||||
(314, 'mod_version', 'module', 'mod_version', '', 1, 1, 1, 0, '{"legacy":false,"name":"mod_version","type":"module","creationDate":"January 2012","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"2.5.0","description":"MOD_VERSION_XML_DESCRIPTION","group":""}', '{"format":"short","product":"1","cache":"0"}', '', '', 0, '0000-00-00 00:00:00', 0, 0);
|
||||
|
||||
INSERT INTO `#__modules` (`title`, `note`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `publish_up`, `publish_down`, `published`, `module`, `access`, `showtitle`, `params`, `client_id`, `language`) VALUES
|
||||
('Joomla Version', '', '', 1, 'footer', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1, 'mod_version', 3, 1, '{"format":"short","product":"1","layout":"_:default","moduleclass_sfx":"","cache":"0"}', 1, '*');
|
||||
|
||||
INSERT INTO `#__modules_menu` (`moduleid`, `menuid`) VALUES
|
||||
(LAST_INSERT_ID(), 0);
|
@ -0,0 +1 @@
|
||||
# Dummy SQL file to set schema version
|
@ -0,0 +1 @@
|
||||
# Dummy SQL file to set schema version
|
@ -0,0 +1,5 @@
|
||||
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
|
||||
(28, 'com_joomlaupdate', 'component', 'com_joomlaupdate', '', 1, 1, 0, 1, '{"legacy":false,"name":"com_joomlaupdate","type":"component","creationDate":"February 2012","author":"Joomla! Project","copyright":"(C) 2005 - 2012 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"2.5.2","description":"COM_JOOMLAUPDATE_XML_DESCRIPTION","group":""}', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0);
|
||||
|
||||
INSERT INTO `#__menu` (`id`, `menutype`, `title`, `alias`, `note`, `path`, `link`, `type`, `published`, `parent_id`, `level`, `component_id`, `ordering`, `checked_out`, `checked_out_time`, `browserNav`, `access`, `img`, `template_style_id`, `params`, `lft`, `rgt`, `home`, `language`, `client_id`) VALUES
|
||||
(22, 'menu', 'com_joomlaupdate', 'Joomla! Update', '', 'Joomla! Update', 'index.php?option=com_joomlaupdate', 'component', 0, 1, 1, 28, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:joomlaupdate', 0, '', 41, 42, 0, '*', 1);
|
@ -0,0 +1,7 @@
|
||||
ALTER TABLE `#__languages` ADD COLUMN `access` integer unsigned NOT NULL default 0 AFTER `published`;
|
||||
|
||||
ALTER TABLE `#__languages` ADD KEY `idx_access` (`access`);
|
||||
|
||||
UPDATE `#__categories` SET `extension` = 'com_users.notes' WHERE `extension` = 'com_users';
|
||||
|
||||
UPDATE `#__extensions` SET `enabled` = '1' WHERE `protected` = '1' AND `type` <> 'plugin';
|
@ -0,0 +1,3 @@
|
||||
ALTER TABLE `#__redirect_links` ADD COLUMN `hits` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `comment`;
|
||||
ALTER TABLE `#__users` ADD COLUMN `lastResetTime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date of last password reset';
|
||||
ALTER TABLE `#__users` ADD COLUMN `resetCount` int(11) NOT NULL DEFAULT '0' COMMENT 'Count of password resets since lastResetTime';
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 2.5.6
|
@ -0,0 +1 @@
|
||||
INSERT INTO `#__update_sites` (`name`, `type`, `location`, `enabled`, `last_check_timestamp`) VALUES('Accredited Joomla! Translations','collection','http://update.joomla.org/language/translationlist.xml',1,0);INSERT INTO `#__update_sites_extensions` (`update_site_id`, `extension_id`) VALUES(LAST_INSERT_ID(),600);UPDATE `#__assets` SET name=REPLACE( name, 'com_user.notes.category','com_users.category' );UPDATE `#__categories` SET extension=REPLACE( extension, 'com_user.notes.category','com_users.category' );
|
154
administrator/components/com_admin/sql/updates/mysql/3.0.0.sql
Normal file
154
administrator/components/com_admin/sql/updates/mysql/3.0.0.sql
Normal file
@ -0,0 +1,154 @@
|
||||
ALTER TABLE `#__users` DROP KEY `usertype`;
|
||||
ALTER TABLE `#__session` DROP KEY `whosonline`;
|
||||
|
||||
DROP TABLE IF EXISTS `#__update_categories`;
|
||||
|
||||
ALTER TABLE `#__contact_details` DROP `imagepos`;
|
||||
ALTER TABLE `#__content` DROP COLUMN `title_alias`;
|
||||
ALTER TABLE `#__content` DROP COLUMN `sectionid`;
|
||||
ALTER TABLE `#__content` DROP COLUMN `mask`;
|
||||
ALTER TABLE `#__content` DROP COLUMN `parentid`;
|
||||
ALTER TABLE `#__newsfeeds` DROP COLUMN `filename`;
|
||||
ALTER TABLE `#__weblinks` DROP COLUMN `sid`;
|
||||
ALTER TABLE `#__weblinks` DROP COLUMN `date`;
|
||||
ALTER TABLE `#__weblinks` DROP COLUMN `archived`;
|
||||
ALTER TABLE `#__weblinks` DROP COLUMN `approved`;
|
||||
ALTER TABLE `#__menu` DROP COLUMN `ordering`;
|
||||
ALTER TABLE `#__session` DROP COLUMN `usertype`;
|
||||
ALTER TABLE `#__users` DROP COLUMN `usertype`;
|
||||
ALTER TABLE `#__updates` DROP COLUMN `categoryid`;
|
||||
|
||||
UPDATE `#__extensions` SET protected = 0 WHERE
|
||||
`name` = 'com_search' OR
|
||||
`name` = 'mod_articles_archive' OR
|
||||
`name` = 'mod_articles_latest' OR
|
||||
`name` = 'mod_banners' OR
|
||||
`name` = 'mod_feed' OR
|
||||
`name` = 'mod_footer' OR
|
||||
`name` = 'mod_users_latest' OR
|
||||
`name` = 'mod_articles_category' OR
|
||||
`name` = 'mod_articles_categories' OR
|
||||
`name` = 'plg_content_pagebreak' OR
|
||||
`name` = 'plg_content_pagenavigation' OR
|
||||
`name` = 'plg_content_vote' OR
|
||||
`name` = 'plg_editors_tinymce' OR
|
||||
`name` = 'plg_system_p3p' OR
|
||||
`name` = 'plg_user_contactcreator' OR
|
||||
`name` = 'plg_user_profile';
|
||||
|
||||
DELETE FROM `#__extensions` WHERE `extension_id` = 800;
|
||||
|
||||
ALTER TABLE `#__assets` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__associations` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__banners` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__banner_clients` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__banner_tracks` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__categories` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__contact_details` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__content` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__content_frontpage` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__content_rating` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__core_log_searches` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__extensions` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_filters` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_terms0` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_terms1` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_terms2` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_terms3` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_terms4` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_terms5` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_terms6` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_terms7` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_terms8` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_terms9` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_termsa` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_termsb` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_termsc` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_termsd` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_termse` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_links_termsf` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_taxonomy` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_taxonomy_map` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_terms` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_terms_common` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__finder_types` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__languages` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__menu` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__menu_types` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__messages` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__messages_cfg` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__modules` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__modules_menu` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__newsfeeds` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__overrider` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__redirect_links` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__schemas` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__session` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__template_styles` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__updates` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__update_sites` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__update_sites_extensions` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__users` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__usergroups` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__user_notes` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__user_profiles` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__user_usergroup_map` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__viewlevels` ENGINE=InnoDB;
|
||||
ALTER TABLE `#__weblinks` ENGINE=InnoDB;
|
||||
|
||||
ALTER TABLE `#__weblinks` ADD COLUMN `version` int(10) unsigned NOT NULL DEFAULT '1';
|
||||
ALTER TABLE `#__weblinks` ADD COLUMN `images` text NOT NULL;
|
||||
ALTER TABLE `#__newsfeeds` ADD COLUMN `description` text NOT NULL;
|
||||
ALTER TABLE `#__newsfeeds` ADD COLUMN `version` int(10) unsigned NOT NULL DEFAULT '1';
|
||||
ALTER TABLE `#__newsfeeds` ADD COLUMN `hits` int(10) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `#__newsfeeds` ADD COLUMN `images` text NOT NULL;
|
||||
ALTER TABLE `#__contact_details` ADD COLUMN `version` int(10) unsigned NOT NULL DEFAULT '1';
|
||||
ALTER TABLE `#__contact_details` ADD COLUMN `hits` int(10) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `#__banners` ADD COLUMN `created_by` int(10) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `#__banners` ADD COLUMN `created_by_alias` varchar(255) NOT NULL DEFAULT '';
|
||||
ALTER TABLE `#__banners` ADD COLUMN `modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00';
|
||||
ALTER TABLE `#__banners` ADD COLUMN `modified_by` int(10) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `#__banners` ADD COLUMN `version` int(10) unsigned NOT NULL DEFAULT '1';
|
||||
ALTER TABLE `#__categories` ADD COLUMN `version` int(10) unsigned NOT NULL DEFAULT '1';
|
||||
UPDATE `#__assets` SET name=REPLACE( name, 'com_user.notes.category','com_users.category' );
|
||||
UPDATE `#__categories` SET extension=REPLACE( extension, 'com_user.notes.category','com_users.category' );
|
||||
|
||||
ALTER TABLE `#__finder_terms` ADD COLUMN `language` char(3) NOT NULL DEFAULT '';
|
||||
ALTER TABLE `#__finder_tokens` ADD COLUMN `language` char(3) NOT NULL DEFAULT '';
|
||||
ALTER TABLE `#__finder_tokens_aggregate` ADD COLUMN `language` char(3) NOT NULL DEFAULT '';
|
||||
|
||||
INSERT INTO `#__extensions`
|
||||
(`name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`)
|
||||
VALUES
|
||||
('isis', 'template', 'isis', '', 1, 1, 1, 0, '{"name":"isis","type":"template","creationDate":"3\\/30\\/2012","author":"Kyle Ledbetter","copyright":"Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"","version":"1.0","description":"TPL_ISIS_XML_DESCRIPTION","group":""}', '{"templateColor":"","logoFile":""}', '', '', 0, '0000-00-00 00:00:00', 0, 0),
|
||||
('protostar', 'template', 'protostar', '', 0, 1, 1, 0, '{"name":"protostar","type":"template","creationDate":"4\\/30\\/2012","author":"Kyle Ledbetter","copyright":"Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"","version":"1.0","description":"TPL_PROTOSTAR_XML_DESCRIPTION","group":""}', '{"templateColor":"","logoFile":"","googleFont":"1","googleFontName":"Open+Sans","fluidContainer":"0"}', '', '', 0, '0000-00-00 00:00:00', 0, 0),
|
||||
('beez3', 'template', 'beez3', '', 0, 1, 1, 0, '{"legacy":false,"name":"beez3","type":"template","creationDate":"25 November 2009","author":"Angie Radtke","copyright":"Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.","authorEmail":"a.radtke@derauftritt.de","authorUrl":"http:\\/\\/www.der-auftritt.de","version":"1.6.0","description":"TPL_BEEZ3_XML_DESCRIPTION","group":""}', '{"wrapperSmall":"53","wrapperLarge":"72","sitetitle":"","sitedescription":"","navposition":"center","templatecolor":"nature"}', '', '', 0, '0000-00-00 00:00:00', 0, 0);
|
||||
|
||||
INSERT INTO `#__template_styles` (`template`, `client_id`, `home`, `title`, `params`) VALUES
|
||||
('protostar', 0, '0', 'protostar - Default', '{"templateColor":"","logoFile":"","googleFont":"1","googleFontName":"Open+Sans","fluidContainer":"0"}'),
|
||||
('isis', 1, '1', 'isis - Default', '{"templateColor":"","logoFile":""}'),
|
||||
('beez3', 0, '0', 'beez3 - Default', '{"wrapperSmall":53,"wrapperLarge":72,"logo":"","sitetitle":"","sitedescription":"","navposition":"center","bootstrap":"","templatecolor":"nature","headerImage":"","backgroundcolor":"#eee"}');
|
||||
|
||||
UPDATE `#__template_styles`
|
||||
SET home = (CASE WHEN (SELECT count FROM (SELECT count(`id`) AS count
|
||||
FROM `#__template_styles`
|
||||
WHERE home = '1'
|
||||
AND client_id = 1) as c) = 0
|
||||
THEN '1'
|
||||
ELSE '0'
|
||||
END)
|
||||
WHERE template = 'isis'
|
||||
AND home != '1';
|
||||
|
||||
UPDATE `#__template_styles`
|
||||
SET home = 0
|
||||
WHERE template = 'bluestork';
|
||||
|
||||
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
|
||||
(315, 'mod_stats_admin', 'module', 'mod_stats_admin', '', 1, 1, 1, 0, '{"name":"mod_stats_admin","type":"module","creationDate":"September 2012","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"3.0.0","description":"MOD_STATS_XML_DESCRIPTION","group":""}', '{"serverinfo":"0","siteinfo":"0","counter":"0","increase":"0","cache":"1","cache_time":"900","cachemode":"static"}', '', '', 0, '0000-00-00 00:00:00', 0, 0);
|
||||
|
||||
UPDATE `#__update_sites`
|
||||
SET location = 'http://update.joomla.org/language/translationlist_3.xml'
|
||||
WHERE location = 'http://update.joomla.org/language/translationlist.xml'
|
||||
AND name = 'Accredited Joomla! Translations';
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.0.1
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.0.2
|
@ -0,0 +1 @@
|
||||
ALTER TABLE `#__associations` CHANGE `id` `id` INT(11) NOT NULL COMMENT 'A reference to the associated item.';
|
167
administrator/components/com_admin/sql/updates/mysql/3.1.0.sql
Normal file
167
administrator/components/com_admin/sql/updates/mysql/3.1.0.sql
Normal file
@ -0,0 +1,167 @@
|
||||
--
|
||||
-- Table structure for table `#__content_types`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__content_types` (
|
||||
`type_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`type_title` varchar(255) NOT NULL DEFAULT '',
|
||||
`type_alias` varchar(255) NOT NULL DEFAULT '',
|
||||
`table` varchar(255) NOT NULL DEFAULT '',
|
||||
`rules` text NOT NULL,
|
||||
`field_mappings` text NOT NULL,
|
||||
`router` varchar(255) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`type_id`),
|
||||
KEY `idx_alias` (`type_alias`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=10000;
|
||||
|
||||
--
|
||||
-- Dumping data for table `#__content_types`
|
||||
--
|
||||
|
||||
INSERT INTO `#__content_types` (`type_id`, `type_title`, `type_alias`, `table`, `rules`, `field_mappings`,`router`) VALUES
|
||||
(1, 'Article', 'com_content.article', '{"special":{"dbtable":"#__content","key":"id","type":"Content","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"state","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"introtext", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"attribs", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"asset_id"}], "special": [{"fulltext":"fulltext"}]}','ContentHelperRoute::getArticleRoute'),
|
||||
(2, 'Weblink', 'com_weblinks.weblink', '{"special":{"dbtable":"#__weblinks","key":"id","type":"Weblink","prefix":"WeblinksTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"state","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"description", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}], "special": []}','WeblinksHelperRoute::getWeblinkRoute'),
|
||||
(3, 'Contact', 'com_contact.contact', '{"special":{"dbtable":"#__contact_details","key":"id","type":"Contact","prefix":"ContactTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"name","core_state":"published","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"address", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"image", "core_urls":"webpage", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}], "special": [{"con_position":"con_position","suburb":"suburb","state":"state","country":"country","postcode":"postcode","telephone":"telephone","fax":"fax","misc":"misc","email_to":"email_to","default_con":"default_con","user_id":"user_id","mobile":"mobile","sortname1":"sortname1","sortname2":"sortname2","sortname3":"sortname3"}]}','ContactHelperRoute::getContactRoute'),
|
||||
(4, 'Newsfeed', 'com_newsfeeds.newsfeed', '{"special":{"dbtable":"#__newsfeeds","key":"id","type":"Newsfeed","prefix":"NewsfeedsTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"name","core_state":"published","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"description", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"link", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}], "special": [{"numarticles":"numarticles","cache_time":"cache_time","rtl":"rtl"}]}','NewsfeedsHelperRoute::getNewsfeedRoute'),
|
||||
(5, 'User', 'com_users.user', '{"special":{"dbtable":"#__users","key":"id","type":"User","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"name","core_state":"null","core_alias":"username","core_created_time":"registerdate","core_modified_time":"lastvisitDate","core_body":"null", "core_hits":"null","core_publish_up":"null","core_publish_down":"null","access":"null", "core_params":"params", "core_featured":"null", "core_metadata":"null", "core_language":"null", "core_images":"null", "core_urls":"null", "core_version":"null", "core_ordering":"null", "core_metakey":"null", "core_metadesc":"null", "core_catid":"null", "core_xreference":"null", "asset_id":"null"}], "special": [{}]}','UsersHelperRoute::getUserRoute'),
|
||||
(6, 'Article Category', 'com_content.category', '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}]}','ContentHelperRoute::getCategoryRoute'),
|
||||
(7, 'Contact Category', 'com_contact.category', '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}]}','ContactHelperRoute::getCategoryRoute'),
|
||||
(8, 'Newsfeeds Category', 'com_newsfeeds.category', '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}]}','NewsfeedsHelperRoute::getCategoryRoute'),
|
||||
(9, 'Weblinks Category', 'com_weblinks.category', '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}]}','WeblinksHelperRoute::getCategoryRoute'),
|
||||
(10, 'Tag', 'com_tags.tag', '{"special":{"dbtable":"#__tags","key":"tag_id","type":"Tag","prefix":"TagsTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"null", "core_xreference":"null", "asset_id":"null"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path"}]}','TagsHelperRoute::getTagRoute');
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__contentitem_tag_map` (
|
||||
`type_alias` varchar(255) NOT NULL DEFAULT '',
|
||||
`core_content_id` int(10) unsigned NOT NULL COMMENT 'PK from the core content table',
|
||||
`content_item_id` int(11) NOT NULL COMMENT 'PK from the content type table',
|
||||
`tag_id` int(10) unsigned NOT NULL COMMENT 'PK from the tag table',
|
||||
`tag_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Date of most recent save for this tag-item',
|
||||
`type_id` mediumint(8) NOT NULL COMMENT 'PK from the content_type table',
|
||||
UNIQUE KEY `uc_ItemnameTagid` (`type_id`,`content_item_id`,`tag_id`),
|
||||
KEY `idx_tag_type` (`tag_id`,`type_id`),
|
||||
KEY `idx_date_id` (`tag_date`,`tag_id`),
|
||||
KEY `idx_tag` (`tag_id`),
|
||||
KEY `idx_type` (`type_id`),
|
||||
KEY `idx_core_content_id` (`core_content_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Maps items from content tables to tags';
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__tags` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`parent_id` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`lft` int(11) NOT NULL DEFAULT '0',
|
||||
`rgt` int(11) NOT NULL DEFAULT '0',
|
||||
`level` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`path` varchar(255) NOT NULL DEFAULT '',
|
||||
`title` varchar(255) NOT NULL,
|
||||
`alias` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`note` varchar(255) NOT NULL DEFAULT '',
|
||||
`description` mediumtext NOT NULL,
|
||||
`published` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`checked_out` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`access` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`params` text NOT NULL,
|
||||
`metadesc` varchar(1024) NOT NULL COMMENT 'The meta description for the page.',
|
||||
`metakey` varchar(1024) NOT NULL COMMENT 'The meta keywords for the page.',
|
||||
`metadata` varchar(2048) NOT NULL COMMENT 'JSON encoded metadata properties.',
|
||||
`created_user_id` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`created_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`created_by_alias` varchar(255) NOT NULL DEFAULT '',
|
||||
`modified_user_id` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`modified_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`images` text NOT NULL,
|
||||
`urls` text NOT NULL,
|
||||
`hits` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`language` char(7) NOT NULL,
|
||||
`version` int(10) unsigned NOT NULL DEFAULT '1',
|
||||
`publish_up` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`publish_down` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `tag_idx` (`published`,`access`),
|
||||
KEY `idx_access` (`access`),
|
||||
KEY `idx_checkout` (`checked_out`),
|
||||
KEY `idx_path` (`path`),
|
||||
KEY `idx_left_right` (`lft`,`rgt`),
|
||||
KEY `idx_alias` (`alias`),
|
||||
KEY `idx_language` (`language`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Dumping data for table `#__tags`
|
||||
--
|
||||
|
||||
INSERT INTO `#__tags` (`id`, `parent_id`, `lft`, `rgt`, `level`, `path`, `title`, `alias`, `note`, `description`, `published`, `checked_out`, `checked_out_time`, `access`, `params`, `metadesc`, `metakey`, `metadata`, `created_user_id`, `created_time`,`created_by_alias`, `modified_user_id`, `modified_time`, `images`, `urls`, `hits`, `language`, `version`)
|
||||
VALUES (1, 0, 0, 1, 0, '', 'ROOT', 'root', '', '', 1, 0, '0000-00-00 00:00:00', 1, '{}', '', '', '', '', '2011-01-01 00:00:01','', 0, '0000-00-00 00:00:00', '', '', 0, '*', 1);
|
||||
|
||||
--
|
||||
-- Table structure for table `#__ucm_base`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__ucm_base` (
|
||||
`ucm_id` int(10) unsigned NOT NULL,
|
||||
`ucm_item_id` int(10) NOT NULL,
|
||||
`ucm_type_id` int(11) NOT NULL,
|
||||
`ucm_language_id` int(11) NOT NULL,
|
||||
PRIMARY KEY (`ucm_id`),
|
||||
KEY `idx_ucm_item_id` (`ucm_item_id`),
|
||||
KEY `idx_ucm_type_id` (`ucm_type_id`),
|
||||
KEY `idx_ucm_language_id` (`ucm_language_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__ucm_content` (
|
||||
`core_content_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`core_type_alias` varchar(255) NOT NULL DEFAULT '' COMMENT 'FK to the content types table',
|
||||
`core_title` varchar(255) NOT NULL,
|
||||
`core_alias` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`core_body` mediumtext NOT NULL,
|
||||
`core_state` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`core_checked_out_time` varchar(255) NOT NULL DEFAULT '',
|
||||
`core_checked_out_user_id` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`core_access` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`core_params` text NOT NULL,
|
||||
`core_featured` tinyint(4) unsigned NOT NULL DEFAULT '0',
|
||||
`core_metadata` varchar(2048) NOT NULL COMMENT 'JSON encoded metadata properties.',
|
||||
`core_created_user_id` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`core_created_by_alias` varchar(255) NOT NULL DEFAULT '',
|
||||
`core_created_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`core_modified_user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Most recent user that modified',
|
||||
`core_modified_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`core_language` char(7) NOT NULL,
|
||||
`core_publish_up` datetime NOT NULL,
|
||||
`core_publish_down` datetime NOT NULL,
|
||||
`core_content_item_id` int(10) unsigned COMMENT 'ID from the individual type table',
|
||||
`asset_id` int(10) unsigned COMMENT 'FK to the #__assets table.',
|
||||
`core_images` text NOT NULL,
|
||||
`core_urls` text NOT NULL,
|
||||
`core_hits` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`core_version` int(10) unsigned NOT NULL DEFAULT '1',
|
||||
`core_ordering` int(11) NOT NULL DEFAULT '0',
|
||||
`core_metakey` text NOT NULL,
|
||||
`core_metadesc` text NOT NULL,
|
||||
`core_catid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`core_xreference` varchar(50) NOT NULL COMMENT 'A reference to enable linkages to external data sets.',
|
||||
`core_type_id` int(10) unsigned,
|
||||
PRIMARY KEY (`core_content_id`),
|
||||
KEY `tag_idx` (`core_state`,`core_access`),
|
||||
KEY `idx_access` (`core_access`),
|
||||
KEY `idx_alias` (`core_alias`),
|
||||
KEY `idx_language` (`core_language`),
|
||||
KEY `idx_title` (`core_title`),
|
||||
KEY `idx_modified_time` (`core_modified_time`),
|
||||
KEY `idx_created_time` (`core_created_time`),
|
||||
KEY `idx_content_type` (`core_type_alias`),
|
||||
KEY `idx_core_modified_user_id` (`core_modified_user_id`),
|
||||
KEY `idx_core_checked_out_user_id` (`core_checked_out_user_id`),
|
||||
KEY `idx_core_created_user_id` (`core_created_user_id`),
|
||||
KEY `idx_core_type_id` (`core_type_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Contains core content data in name spaced fields';
|
||||
|
||||
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
|
||||
(29, 'com_tags', 'component', 'com_tags', '', 1, 1, 1, 1, '{"legacy":false,"name":"com_tags","type":"component","creationDate":"March 2013","author":"Joomla! Project","copyright":"(C) 2005 - 2013 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"3.0.0","description":"COM_TAGS_XML_DESCRIPTION","group":""}', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0),
|
||||
(316, 'mod_tags_popular', 'module', 'mod_tags_popular', '', 0, 1, 1, 0, '{"name":"mod_tags_popular","type":"module","creationDate":"January 2013","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"3.1.0","description":"MOD_TAGS_POPULAR_XML_DESCRIPTION","group":""}', '{"maximum":"5","timeframe":"alltime","owncache":"1"}', '', '', 0, '0000-00-00 00:00:00', 0, 0),
|
||||
(317, 'mod_tags_similar', 'module', 'mod_tags_similar', '', 0, 1, 1, 0, '{"name":"mod_tags_similar","type":"module","creationDate":"January 2013","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"3.1.0","description":"MOD_TAGS_SIMILAR_XML_DESCRIPTION","group":""}', '{"maximum":"5","matchtype":"any","owncache":"1"}', '', '', 0, '0000-00-00 00:00:00', 0, 0),
|
||||
(447, 'plg_finder_tags', 'plugin', 'tags', 'finder', 0, 1, 1, 0, '{"name":"plg_finder_tags","type":"plugin","creationDate":"February 2013","author":"Joomla! Project","copyright":"(C) 2005 - 2013 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"3.0.0","description":"PLG_FINDER_TAGS_XML_DESCRIPTION","group":""}', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0);
|
||||
|
||||
INSERT INTO `#__menu` (`id`, `menutype`, `title`, `alias`, `note`, `path`, `link`, `type`, `published`, `parent_id`, `level`, `component_id`, `checked_out`, `checked_out_time`, `browserNav`, `access`, `img`, `template_style_id`, `params`, `lft`, `rgt`, `home`, `language`, `client_id`) VALUES
|
||||
(23, 'main', 'com_tags', 'Tags', '', 'Tags', 'index.php?option=com_tags', 'component', 0, 1, 1, 29, 0, '0000-00-00 00:00:00', 0, 1, 'class:tags', 0, '', 45, 46, 0, '', 1);
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.1.1
|
@ -0,0 +1,11 @@
|
||||
UPDATE `#__content_types` SET `table` = '{"special":{"dbtable":"#__content","key":"id","type":"Content","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE `type_title` = 'Article';UPDATE `#__content_types` SET `table` = '{"special":{"dbtable":"#__weblinks","key":"id","type":"Weblink","prefix":"WeblinksTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE `type_title` = 'Weblink';UPDATE `#__content_types` SET `table` = '{"special":{"dbtable":"#__contact_details","key":"id","type":"Contact","prefix":"ContactTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE `type_title` = 'Contact';UPDATE `#__content_types` SET `table` = '{"special":{"dbtable":"#__newsfeeds","key":"id","type":"Newsfeed","prefix":"NewsfeedsTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE `type_title` = 'Newsfeed';UPDATE `#__content_types` SET `table` = '{"special":{"dbtable":"#__users","key":"id","type":"User","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE `type_title` = 'User';UPDATE `#__content_types` SET `table` = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE `type_title` = 'Article Category';UPDATE `#__content_types` SET `table` = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE `type_title` = 'Contact Category';UPDATE `#__content_types` SET `table` = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE `type_title` = 'Newsfeeds Category';UPDATE `#__content_types` SET `table` = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE `type_title` = 'Weblinks Category';UPDATE `#__content_types` SET `table` = '{"special":{"dbtable":"#__tags","key":"tag_id","type":"Tag","prefix":"TagsTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE `type_title` = 'Tag';
|
||||
UPDATE `#__content_types` SET `field_mappings` = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"state","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"introtext", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"attribs", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"asset_id"}, "special": {"fulltext":"fulltext"}}' WHERE `type_id` = '1';
|
||||
UPDATE `#__content_types` SET `field_mappings` = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"state","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"description", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"url", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}, "special": {}}' WHERE `type_id` = '2';
|
||||
UPDATE `#__content_types` SET `field_mappings` = '{"common":{"core_content_item_id":"id","core_title":"name","core_state":"published","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"address", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"image", "core_urls":"webpage", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}, "special": {"con_position":"con_position","suburb":"suburb","state":"state","country":"country","postcode":"postcode","telephone":"telephone","fax":"fax","misc":"misc","email_to":"email_to","default_con":"default_con","user_id":"user_id","mobile":"mobile","sortname1":"sortname1","sortname2":"sortname2","sortname3":"sortname3"}}' WHERE `type_id` = '3';
|
||||
UPDATE `#__content_types` SET `field_mappings` = '{"common":{"core_content_item_id":"id","core_title":"name","core_state":"published","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"description", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"link", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}, "special": {"numarticles":"numarticles","cache_time":"cache_time","rtl":"rtl"}}' WHERE `type_id` = '4';
|
||||
UPDATE `#__content_types` SET `field_mappings` = '{"common":{"core_content_item_id":"id","core_title":"name","core_state":"null","core_alias":"username","core_created_time":"registerdate","core_modified_time":"lastvisitDate","core_body":"null", "core_hits":"null","core_publish_up":"null","core_publish_down":"null","access":"null", "core_params":"params", "core_featured":"null", "core_metadata":"null", "core_language":"null", "core_images":"null", "core_urls":"null", "core_version":"null", "core_ordering":"null", "core_metakey":"null", "core_metadesc":"null", "core_catid":"null", "core_xreference":"null", "asset_id":"null"}, "special": {}}' WHERE `type_id` = '5';
|
||||
UPDATE `#__content_types` SET `field_mappings` = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}' WHERE `type_id` = '6';
|
||||
UPDATE `#__content_types` SET `field_mappings` = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}' WHERE `type_id` = '7';
|
||||
UPDATE `#__content_types` SET `field_mappings` = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}' WHERE `type_id` = '8';
|
||||
UPDATE `#__content_types` SET `field_mappings` = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}' WHERE `type_id` = '9';
|
||||
UPDATE `#__content_types` SET `field_mappings` = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"null", "core_xreference":"null", "asset_id":"null"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path"}}' WHERE `type_id` = '10';
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.1.3
|
@ -0,0 +1,2 @@
|
||||
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
|
||||
(104, 'IDNA Convert', 'library', 'idna_convert', '', 0, 1, 1, 1, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0);
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.1.5
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1 @@
|
||||
-- Placeholder file for database changes for version 3.0.0
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.0.1
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.0.2
|
@ -0,0 +1 @@
|
||||
ALTER TABLE "#__associations" ALTER COLUMN id TYPE INT(11);
|
@ -0,0 +1,198 @@
|
||||
/* Changes to tables where data type conflicts exist with MySQL (mainly dealing with null values */
|
||||
ALTER TABLE "#__modules" ALTER COLUMN "content" SET DEFAULT '';
|
||||
ALTER TABLE "#__updates" ALTER COLUMN "data" SET DEFAULT '';
|
||||
|
||||
/* Tags database schema */
|
||||
|
||||
--
|
||||
-- Table: #__content_types
|
||||
--
|
||||
CREATE TABLE "#__content_types" (
|
||||
"type_id" serial NOT NULL,
|
||||
"type_title" character varying(255) NOT NULL DEFAULT '',
|
||||
"type_alias" character varying(255) NOT NULL DEFAULT '',
|
||||
"table" character varying(255) NOT NULL DEFAULT '',
|
||||
"rules" text NOT NULL,
|
||||
"field_mappings" text NOT NULL,
|
||||
"router" character varying(255) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY ("type_id")
|
||||
);
|
||||
CREATE INDEX "#__content_types_idx_alias" ON "#__content_types" ("type_alias");
|
||||
|
||||
--
|
||||
-- Dumping data for table #__content_types
|
||||
--
|
||||
INSERT INTO "#__content_types" ("type_id", "type_title", "type_alias", "table", "rules", "field_mappings", "router") VALUES
|
||||
(1, 'Article', 'com_content.article', '{"special":{"dbtable":"#__content","key":"id","type":"Content","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"state","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"introtext", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"attribs", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"asset_id"}], "special": [{"fulltext":"fulltext"}]}','ContentHelperRoute::getArticleRoute'),
|
||||
(2, 'Weblink', 'com_weblinks.weblink', '{"special":{"dbtable":"#__weblinks","key":"id","type":"Weblink","prefix":"WeblinksTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"state","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"description", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}], "special": []}','WeblinksHelperRoute::getWeblinkRoute'),
|
||||
(3, 'Contact', 'com_contact.contact', '{"special":{"dbtable":"#__contact_details","key":"id","type":"Contact","prefix":"ContactTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"name","core_state":"published","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"address", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"image", "core_urls":"webpage", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}], "special": [{"con_position":"con_position","suburb":"suburb","state":"state","country":"country","postcode":"postcode","telephone":"telephone","fax":"fax","misc":"misc","email_to":"email_to","default_con":"default_con","user_id":"user_id","mobile":"mobile","sortname1":"sortname1","sortname2":"sortname2","sortname3":"sortname3"}]}','ContactHelperRoute::getContactRoute'),
|
||||
(4, 'Newsfeed', 'com_newsfeeds.newsfeed', '{"special":{"dbtable":"#__newsfeeds","key":"id","type":"Newsfeed","prefix":"NewsfeedsTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"name","core_state":"published","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"description", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"link", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}], "special": [{"numarticles":"numarticles","cache_time":"cache_time","rtl":"rtl"}]}','NewsfeedsHelperRoute::getNewsfeedRoute'),
|
||||
(5, 'User', 'com_users.user', '{"special":{"dbtable":"#__users","key":"id","type":"User","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"name","core_state":"null","core_alias":"username","core_created_time":"registerdate","core_modified_time":"lastvisitDate","core_body":"null", "core_hits":"null","core_publish_up":"null","core_publish_down":"null","access":"null", "core_params":"params", "core_featured":"null", "core_metadata":"null", "core_language":"null", "core_images":"null", "core_urls":"null", "core_version":"null", "core_ordering":"null", "core_metakey":"null", "core_metadesc":"null", "core_catid":"null", "core_xreference":"null", "asset_id":"null"}], "special": [{}]}','UsersHelperRoute::getUserRoute'),
|
||||
(6, 'Article Category', 'com_content.category', '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}]}','ContentHelperRoute::getCategoryRoute'),
|
||||
(7, 'Contact Category', 'com_contact.category', '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}]}','ContactHelperRoute::getCategoryRoute'),
|
||||
(8, 'Newsfeeds Category', 'com_newsfeeds.category', '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}]}','NewsfeedsHelperRoute::getCategoryRoute'),
|
||||
(9, 'Weblinks Category', 'com_weblinks.category', '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}]}','WeblinksHelperRoute::getCategoryRoute'),
|
||||
(10, 'Tag', 'com_tags.tag', '{"special":{"dbtable":"#__tags","key":"tag_id","type":"Tag","prefix":"TagsTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}', '', '{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"null", "core_xreference":"null", "asset_id":"null"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path"}]}','TagsHelperRoute::getTagRoute');
|
||||
|
||||
SELECT nextval('#__content_types_type_id_seq');
|
||||
SELECT setval('#__content_types_type_id_seq', 10000, false);
|
||||
|
||||
--
|
||||
-- Table: #__contentitem_tag_map
|
||||
--
|
||||
CREATE TABLE "#__contentitem_tag_map" (
|
||||
"type_alias" character varying(255) NOT NULL DEFAULT '',
|
||||
"core_content_id" integer NOT NULL,
|
||||
"content_item_id" integer NOT NULL,
|
||||
"tag_id" integer NOT NULL,
|
||||
"tag_date" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
|
||||
CONSTRAINT "uc_ItemnameTagid" UNIQUE ("type_alias", "content_item_id", "tag_id")
|
||||
);
|
||||
|
||||
CREATE INDEX "#__contentitem_tag_map_idx_tag_name" ON "#__contentitem_tag_map" ("tag_id", "type_alias");
|
||||
CREATE INDEX "#__contentitem_tag_map_idx_date_id" ON "#__contentitem_tag_map" ("tag_date", "tag_id");
|
||||
CREATE INDEX "#__contentitem_tag_map_idx_tag" ON "#__contentitem_tag_map" ("tag_id");
|
||||
CREATE INDEX "#__contentitem_tag_map_idx_core_content_id" ON "#__contentitem_tag_map" ("core_content_id");
|
||||
|
||||
COMMENT ON COLUMN "#__contentitem_tag_map"."core_content_id" IS 'PK from the core content table';
|
||||
COMMENT ON COLUMN "#__contentitem_tag_map"."content_item_id" IS 'PK from the content type table';
|
||||
COMMENT ON COLUMN "#__contentitem_tag_map"."tag_id" IS 'PK from the tag table';
|
||||
COMMENT ON COLUMN "#__contentitem_tag_map"."tag_date" IS 'Date of most recent save for this tag-item';
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table: #__tags
|
||||
--
|
||||
CREATE TABLE "#__tags" (
|
||||
"id" serial NOT NULL,
|
||||
"parent_id" bigint DEFAULT 0 NOT NULL,
|
||||
"lft" bigint DEFAULT 0 NOT NULL,
|
||||
"rgt" bigint DEFAULT 0 NOT NULL,
|
||||
"level" integer DEFAULT 0 NOT NULL,
|
||||
"path" character varying(255) DEFAULT '' NOT NULL,
|
||||
"title" character varying(255) NOT NULL,
|
||||
"alias" character varying(255) DEFAULT '' NOT NULL,
|
||||
"note" character varying(255) DEFAULT '' NOT NULL,
|
||||
"description" text DEFAULT '' NOT NULL,
|
||||
"published" smallint DEFAULT 0 NOT NULL,
|
||||
"checked_out" bigint DEFAULT 0 NOT NULL,
|
||||
"checked_out_time" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
|
||||
"access" bigint DEFAULT 0 NOT NULL,
|
||||
"params" text NOT NULL,
|
||||
"metadesc" character varying(1024) NOT NULL,
|
||||
"metakey" character varying(1024) NOT NULL,
|
||||
"metadata" character varying(2048) NOT NULL,
|
||||
"created_user_id" integer DEFAULT 0 NOT NULL,
|
||||
"created_time" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
|
||||
"created_by_alias" character varying(255) DEFAULT '' NOT NULL,
|
||||
"modified_user_id" integer DEFAULT 0 NOT NULL,
|
||||
"modified_time" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
|
||||
"images" text NOT NULL,
|
||||
"urls" text NOT NULL,
|
||||
"hits" integer DEFAULT 0 NOT NULL,
|
||||
"language" character varying(7) DEFAULT '' NOT NULL,
|
||||
"version" bigint DEFAULT 1 NOT NULL,
|
||||
"publish_up" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
|
||||
"publish_down" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
|
||||
PRIMARY KEY ("id")
|
||||
);
|
||||
CREATE INDEX "#__tags_cat_idx" ON "#__tags" ("published", "access");
|
||||
CREATE INDEX "#__tags_idx_access" ON "#__tags" ("access");
|
||||
CREATE INDEX "#__tags_idx_checkout" ON "#__tags" ("checked_out");
|
||||
CREATE INDEX "#__tags_idx_path" ON "#__tags" ("path");
|
||||
CREATE INDEX "#__tags_idx_left_right" ON "#__tags" ("lft", "rgt");
|
||||
CREATE INDEX "#__tags_idx_alias" ON "#__tags" ("alias");
|
||||
CREATE INDEX "#__tags_idx_language" ON "#__tags" ("language");
|
||||
|
||||
--
|
||||
-- Dumping data for table #__tags
|
||||
--
|
||||
|
||||
INSERT INTO "#__tags" ("id", "parent_id", "lft", "rgt", "level", "path", "title", "alias", "note", "description", "published", "checked_out", "checked_out_time", "access", "params", "metadesc", "metakey", "metadata", "created_user_id", "created_time", "created_by_alias", "modified_user_id", "modified_time", "images", "urls", "hits", "language", "version") VALUES
|
||||
(1, 0, 0, 1, 0, '', 'ROOT', 'root', '', '', 1, 0, '1970-01-01 00:00:00', 1, '{}', '', '', '', 42, '1970-01-01 00:00:00', '', 0, '1970-01-01 00:00:00', '', '', 0, '*', 1);
|
||||
|
||||
SELECT nextval('#__tags_id_seq');
|
||||
SELECT setval('#__tags_id_seq', 2, false);
|
||||
|
||||
--
|
||||
-- Table: #__ucm_base
|
||||
--
|
||||
CREATE TABLE "#__ucm_base" (
|
||||
"ucm_id" serial NOT NULL,
|
||||
"ucm_item_id" bigint NOT NULL,
|
||||
"ucm_type_id" bigint NOT NULL,
|
||||
"ucm_language_id" bigint NOT NULL,
|
||||
PRIMARY KEY ("ucm_id")
|
||||
);
|
||||
CREATE INDEX "#__ucm_base_ucm_item_id" ON "#__ucm_base" ("ucm_item_id");
|
||||
CREATE INDEX "#__ucm_base_ucm_type_id" ON "#__ucm_base" ("ucm_type_id");
|
||||
CREATE INDEX "#__ucm_base_ucm_language_id" ON "#__ucm_base" ("ucm_language_id");
|
||||
|
||||
--
|
||||
-- Table: #__ucm_content
|
||||
--
|
||||
CREATE TABLE "#__ucm_content" (
|
||||
"core_content_id" serial NOT NULL,
|
||||
"core_type_alias" character varying(255) DEFAULT '' NOT NULL,
|
||||
"core_title" character varying(255) NOT NULL,
|
||||
"core_alias" character varying(255) DEFAULT '' NOT NULL,
|
||||
"core_body" text NOT NULL,
|
||||
"core_state" smallint DEFAULT 0 NOT NULL,
|
||||
"core_checked_out_time" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
|
||||
"core_checked_out_user_id" bigint DEFAULT 0 NOT NULL,
|
||||
"core_access" bigint DEFAULT 0 NOT NULL,
|
||||
"core_params" text NOT NULL,
|
||||
"core_featured" smallint DEFAULT 0 NOT NULL,
|
||||
"core_metadata" text NOT NULL,
|
||||
"core_created_user_id" bigint DEFAULT 0 NOT NULL,
|
||||
"core_created_by_alias" character varying(255) DEFAULT '' NOT NULL,
|
||||
"core_created_time" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
|
||||
"core_modified_user_id" bigint DEFAULT 0 NOT NULL,
|
||||
"core_modified_time" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
|
||||
"core_language" character varying(7) DEFAULT '' NOT NULL,
|
||||
"core_publish_up" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
|
||||
"core_publish_down" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
|
||||
"core_content_item_id" bigint DEFAULT 0 NOT NULL,
|
||||
"asset_id" bigint DEFAULT 0 NOT NULL,
|
||||
"core_images" text NOT NULL,
|
||||
"core_urls" text NOT NULL,
|
||||
"core_hits" bigint DEFAULT 0 NOT NULL,
|
||||
"core_version" bigint DEFAULT 1 NOT NULL,
|
||||
"core_ordering" bigint DEFAULT 0 NOT NULL,
|
||||
"core_metakey" text NOT NULL,
|
||||
"core_metadesc" text NOT NULL,
|
||||
"core_catid" bigint DEFAULT 0 NOT NULL,
|
||||
"core_xreference" character varying(50) DEFAULT '' NOT NULL,
|
||||
"core_type_id" bigint DEFAULT 0 NOT NULL,
|
||||
PRIMARY KEY ("core_content_id"),
|
||||
CONSTRAINT "#__ucm_content_idx_type_alias_item_id" UNIQUE ("core_type_alias", "core_content_item_id")
|
||||
);
|
||||
CREATE INDEX "#__ucm_content_tag_idx" ON "#__ucm_content" ("core_state", "core_access");
|
||||
CREATE INDEX "#__ucm_content_idx_access" ON "#__ucm_content" ("core_access");
|
||||
CREATE INDEX "#__ucm_content_idx_alias" ON "#__ucm_content" ("core_alias");
|
||||
CREATE INDEX "#__ucm_content_idx_language" ON "#__ucm_content" ("core_language");
|
||||
CREATE INDEX "#__ucm_content_idx_title" ON "#__ucm_content" ("core_title");
|
||||
CREATE INDEX "#__ucm_content_idx_modified_time" ON "#__ucm_content" ("core_modified_time");
|
||||
CREATE INDEX "#__ucm_content_idx_created_time" ON "#__ucm_content" ("core_created_time");
|
||||
CREATE INDEX "#__ucm_content_idx_content_type" ON "#__ucm_content" ("core_type_alias");
|
||||
CREATE INDEX "#__ucm_content_idx_core_modified_user_id" ON "#__ucm_content" ("core_modified_user_id");
|
||||
CREATE INDEX "#__ucm_content_idx_core_checked_out_user_id" ON "#__ucm_content" ("core_checked_out_user_id");
|
||||
CREATE INDEX "#__ucm_content_idx_core_created_user_id" ON "#__ucm_content" ("core_created_user_id");
|
||||
CREATE INDEX "#__ucm_content_idx_core_type_id" ON "#__ucm_content" ("core_type_id");
|
||||
|
||||
--
|
||||
-- Add extensions table records
|
||||
--
|
||||
INSERT INTO "#__extensions" ("extension_id", "name", "type", "element", "folder", "client_id", "enabled", "access", "protected", "manifest_cache", "params", "custom_data", "system_data", "checked_out", "checked_out_time", "ordering", "state") VALUES
|
||||
(29, 'com_tags', 'component', 'com_tags', '', 1, 1, 1, 1, '{"legacy":false,"name":"com_tags","type":"component","creationDate":"March 2013","author":"Joomla! Project","copyright":"(C) 2005 - 2013 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"3.0.0","description":"COM_TAGS_XML_DESCRIPTION","group":""}', '{}', '', '', 0, '1970-01-01 00:00:00', 0, 0),
|
||||
(315, 'mod_stats_admin', 'module', 'mod_stats_admin', '', 1, 1, 1, 0, '{"name":"mod_stats_admin","type":"module","creationDate":"September 2012","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"3.0.0","description":"MOD_STATS_XML_DESCRIPTION","group":""}', '{"serverinfo":"0","siteinfo":"0","counter":"0","increase":"0","cache":"1","cache_time":"900","cachemode":"static"}', '', '', 0, '1970-01-01 00:00:00', 0, 0),
|
||||
(316, 'mod_tags_popular', 'module', 'mod_tags_popular', '', 0, 1, 1, 0, '{"name":"mod_tags_popular","type":"module","creationDate":"January 2013","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"3.1.0","description":"MOD_TAGS_POPULAR_XML_DESCRIPTION","group":""}', '{"maximum":"5","timeframe":"alltime","owncache":"1"}', '', '', 0, '1970-01-01 00:00:00', 0, 0),
|
||||
(317, 'mod_tags_similar', 'module', 'mod_tags_similar', '', 0, 1, 1, 0, '{"name":"mod_tags_similar","type":"module","creationDate":"January 2013","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"3.1.0","description":"MOD_TAGS_SIMILAR_XML_DESCRIPTION","group":""}', '{"maximum":"5","matchtype":"any","owncache":"1"}', '', '', 0, '1970-01-01 00:00:00', 0, 0),
|
||||
(447, 'plg_finder_tags', 'plugin', 'tags', 'finder', 0, 1, 1, 0, '{"name":"plg_finder_tags","type":"plugin","creationDate":"February 2013","author":"Joomla! Project","copyright":"(C) 2005 - 2013 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"3.0.0","description":"PLG_FINDER_TAGS_XML_DESCRIPTION","group":""}', '{}', '', '', 0, '1970-01-01 00:00:00', 0, 0);
|
||||
|
||||
--
|
||||
-- Add menu table records
|
||||
--
|
||||
INSERT INTO "#__menu" ( "id", "menutype", "title", "alias", "note", "path", "link", "type", "published", "parent_id", "level", "component_id", "checked_out", "checked_out_time", "browserNav", "access", "img", "template_style_id", "params", "lft", "rgt", "home", "language", "client_id") VALUES
|
||||
(23, 'main', 'com_tags', 'Tags', '', 'Tags', 'index.php?option=com_tags', 'component', 0, 1, 1, 29, 0, '1970-01-01 00:00:00', 0, 1, 'class:tags', 0, '', 45, 46, 0, '', 1);
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.1.1
|
@ -0,0 +1,11 @@
|
||||
UPDATE "#__content_types" SET "table" = '{"special":{"dbtable":"#__content","key":"id","type":"Content","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE "type_title" = 'Article';UPDATE "#__content_types" SET "table" = '{"special":{"dbtable":"#__weblinks","key":"id","type":"Weblink","prefix":"WeblinksTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE "type_title" = 'Weblink';UPDATE "#__content_types" SET "table" = '{"special":{"dbtable":"#__contact_details","key":"id","type":"Contact","prefix":"ContactTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE "type_title" = 'Contact';UPDATE "#__content_types" SET "table" = '{"special":{"dbtable":"#__newsfeeds","key":"id","type":"Newsfeed","prefix":"NewsfeedsTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE "type_title" = 'Newsfeed';UPDATE "#__content_types" SET "table" = '{"special":{"dbtable":"#__users","key":"id","type":"User","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE "type_title" = 'User';UPDATE "#__content_types" SET "table" = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE "type_title" = 'Article Category';UPDATE "#__content_types" SET "table" = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE "type_title" = 'Contact Category';UPDATE "#__content_types" SET "table" = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE "type_title" = 'Newsfeeds Category';UPDATE "#__content_types" SET "table" = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE "type_title" = 'Weblinks Category';UPDATE "#__content_types" SET "table" = '{"special":{"dbtable":"#__tags","key":"tag_id","type":"Tag","prefix":"TagsTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE "type_title" = 'Tag';
|
||||
UPDATE "#__content_types" SET "field_mappings" = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"state","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"introtext", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"attribs", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"asset_id"}, "special": {"fulltext":"fulltext"}}' WHERE "type_id" = '1';
|
||||
UPDATE "#__content_types" SET "field_mappings" = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"state","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"description", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"url", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}, "special": {}}' WHERE "type_id" = '2';
|
||||
UPDATE "#__content_types" SET "field_mappings" = '{"common":{"core_content_item_id":"id","core_title":"name","core_state":"published","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"address", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"image", "core_urls":"webpage", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}, "special": {"con_position":"con_position","suburb":"suburb","state":"state","country":"country","postcode":"postcode","telephone":"telephone","fax":"fax","misc":"misc","email_to":"email_to","default_con":"default_con","user_id":"user_id","mobile":"mobile","sortname1":"sortname1","sortname2":"sortname2","sortname3":"sortname3"}}' WHERE "type_id" = '3';
|
||||
UPDATE "#__content_types" SET "field_mappings" = '{"common":{"core_content_item_id":"id","core_title":"name","core_state":"published","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"description", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"link", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}, "special": {"numarticles":"numarticles","cache_time":"cache_time","rtl":"rtl"}}' WHERE "type_id" = '4';
|
||||
UPDATE "#__content_types" SET "field_mappings" = '{"common":{"core_content_item_id":"id","core_title":"name","core_state":"null","core_alias":"username","core_created_time":"registerdate","core_modified_time":"lastvisitDate","core_body":"null", "core_hits":"null","core_publish_up":"null","core_publish_down":"null","access":"null", "core_params":"params", "core_featured":"null", "core_metadata":"null", "core_language":"null", "core_images":"null", "core_urls":"null", "core_version":"null", "core_ordering":"null", "core_metakey":"null", "core_metadesc":"null", "core_catid":"null", "core_xreference":"null", "asset_id":"null"}, "special": {}}' WHERE "type_id" = '5';
|
||||
UPDATE "#__content_types" SET "field_mappings" = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}' WHERE "type_id" = '6';
|
||||
UPDATE "#__content_types" SET "field_mappings" = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}' WHERE "type_id" = '7';
|
||||
UPDATE "#__content_types" SET "field_mappings" = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}' WHERE "type_id" = '8';
|
||||
UPDATE "#__content_types" SET "field_mappings" = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}' WHERE "type_id" = '9';
|
||||
UPDATE "#__content_types" SET "field_mappings" = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"null", "core_xreference":"null", "asset_id":"null"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path"}}' WHERE "type_id" = '10';
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.1.3
|
@ -0,0 +1,2 @@
|
||||
INSERT INTO "#__extensions" ("extension_id", "name", "type", "element", "folder", "client_id", "enabled", "access", "protected", "manifest_cache", "params", "custom_data", "system_data", "checked_out", "checked_out_time", "ordering", "state") VALUES
|
||||
(104, 'IDNA Convert', 'library', 'idna_convert', '', 0, 1, 1, 1, '', '', '', '', 0, '1970-01-01 00:00:00', 0, 0);
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.1.5
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1 @@
|
||||
# Dummy SQL file to set schema version
|
@ -0,0 +1 @@
|
||||
# Dummy SQL file to set schema version
|
@ -0,0 +1,13 @@
|
||||
SET IDENTITY_INSERT #__extensions ON;
|
||||
|
||||
INSERT INTO #__extensions (extension_id, name, type, element, folder, client_id, enabled, access, protected, manifest_cache, params, custom_data, system_data, checked_out, checked_out_time, ordering, state)
|
||||
SELECT 28, 'com_joomlaupdate', 'component', 'com_joomlaupdate', '', 1, 1, 0, 1, '{"legacy":false,"name":"com_joomlaupdate","type":"component","creationDate":"February 2012","author":"Joomla! Project","copyright":"(C) 2005 - 2012 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"2.5.2","description":"COM_JOOMLAUPDATE_XML_DESCRIPTION","group":""}', '{}', '', '', 0, '1900-01-01 00:00:00', 0, 0;
|
||||
|
||||
SET IDENTITY_INSERT #__extensions OFF;
|
||||
|
||||
SET IDENTITY_INSERT #__menu ON;
|
||||
|
||||
INSERT INTO #__menu (id, menutype, title, alias, note, path, link, type, published, parent_id, level, component_id, ordering, checked_out, checked_out_time, browserNav, access, img, template_style_id, params, lft, rgt, home, language, client_id)
|
||||
SELECT 22, 'menu', 'com_joomlaupdate', 'Joomla! Update', '', 'Joomla! Update', 'index.php?option=com_joomlaupdate', 'component', 0, 1, 1, 28, 0, 0, '1900-01-01 00:00:00', 0, 0, 'class:joomlaupdate', 0, '', 41, 42, 0, '*', 1;
|
||||
|
||||
SET IDENTITY_INSERT #__menu OFF;
|
@ -0,0 +1,7 @@
|
||||
ALTER TABLE [#__languages] ADD [access] INTEGER CONSTRAINT DF_languages_access DEFAULT '' NOT NULL
|
||||
|
||||
CREATE UNIQUE INDEX idx_access ON [jos_languages] (access);
|
||||
|
||||
UPDATE [#__categories] SET extension = 'com_users.notes' WHERE extension = 'com_users';
|
||||
|
||||
UPDATE [#__extensions] SET enabled = '1' WHERE protected = '1' AND [type] <> 'plugin';
|
@ -0,0 +1,3 @@
|
||||
ALTER TABLE [#__redirect_links] ADD [hits] INTEGER CONSTRAINT DF_redirect_links_hits DEFAULT '' NOT NULL;
|
||||
ALTER TABLE [#__users] ADD [lastResetTime] [datetime] NOT NULL;
|
||||
ALTER TABLE [#__users] ADD [resetCount] [int] NOT NULL;
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 2.5.6
|
@ -0,0 +1 @@
|
||||
INSERT INTO #__update_sites (name, type, location, enabled, last_check_timestamp) VALUES ('Accredited Joomla! Translations', 'collection', 'http://update.joomla.org/language/translationlist.xml', 1, 0);INSERT INTO #__update_sites_extensions (update_site_id, extension_id) VALUES (SCOPE_IDENTITY(), 600);UPDATE [#__assets] SET name=REPLACE( name, 'com_user.notes.category','com_users.category' );UPDATE [#__categories] SET extension=REPLACE( extension, 'com_user.notes.category','com_users.category' );
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.0.0
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.0.1
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.0.2
|
@ -0,0 +1 @@
|
||||
ALTER TABLE #__associations ALTER COLUMN id INT;
|
@ -0,0 +1,336 @@
|
||||
/* Changes to Smart Search tables for driver compatibility */
|
||||
ALTER TABLE [#__finder_tokens_aggregate] ALTER COLUMN [term_id] [bigint] NULL;
|
||||
ALTER TABLE [#__finder_tokens_aggregate] ALTER COLUMN [map_suffix] [nchar](1) NULL;
|
||||
ALTER TABLE [#__finder_tokens_aggregate] ADD DEFAULT ((0)) FOR [term_id];
|
||||
ALTER TABLE [#__finder_tokens_aggregate] ADD DEFAULT ((0)) FOR [total_weight];
|
||||
|
||||
/* Changes to tables where data type conflicts exist with MySQL (mainly dealing with null values */
|
||||
ALTER TABLE [#__extensions] ADD DEFAULT (N'') FOR [system_data];
|
||||
ALTER TABLE [#__modules] ADD DEFAULT (N'') FOR [content];
|
||||
ALTER TABLE [#__updates] ADD DEFAULT (N'') FOR [data];
|
||||
|
||||
/* Tags database schema */
|
||||
|
||||
/****** Object: Table [#__content_types] ******/
|
||||
SET QUOTED_IDENTIFIER ON;
|
||||
|
||||
CREATE TABLE [#__content_types](
|
||||
[type_id] [bigint] IDENTITY(1,1) NOT NULL,
|
||||
[type_title] [nvarchar](255) NOT NULL DEFAULT '',
|
||||
[type_alias] [nvarchar](255) NOT NULL DEFAULT '',
|
||||
[table] [nvarchar](255) NOT NULL DEFAULT '',
|
||||
[rules] [nvarchar](max) NOT NULL,
|
||||
[field_mappings] [nvarchar](max) NOT NULL,
|
||||
[router] [nvarchar](255) NOT NULL DEFAULT '',
|
||||
CONSTRAINT [PK_#__content_types_type_id] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[type_id] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY];
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_alias] ON [#__content_types]
|
||||
(
|
||||
[type_alias] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
SET IDENTITY_INSERT #__content_types ON;
|
||||
|
||||
INSERT INTO #__content_types ([type_id],[type_title],[type_alias],[table],[rules],[field_mappings],[router])
|
||||
SELECT 1,'Article','com_content.article','{"special":{"dbtable":"#__content","key":"id","type":"Content","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}','','{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"state","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"introtext", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"attribs", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"asset_id"}], "special": [{"fulltext":"fulltext"}]}','ContentHelperRoute::getArticleRoute'
|
||||
UNION ALL
|
||||
SELECT 2,'Weblink','com_weblinks.weblink','{"special":{"dbtable":"#__weblinks","key":"id","type":"Weblink","prefix":"WeblinksTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}','','{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"state","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"description", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}], "special": []}','WeblinksHelperRoute::getWeblinkRoute'
|
||||
UNION ALL
|
||||
SELECT 3,'Contact','com_contact.contact','{"special":{"dbtable":"#__contact_details","key":"id","type":"Contact","prefix":"ContactTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}','','{"common":[{"core_content_item_id":"id","core_title":"name","core_state":"published","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"address", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"image", "core_urls":"webpage", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}], "special": [{"con_position":"con_position","suburb":"suburb","state":"state","country":"country","postcode":"postcode","telephone":"telephone","fax":"fax","misc":"misc","email_to":"email_to","default_con":"default_con","user_id":"user_id","mobile":"mobile","sortname1":"sortname1","sortname2":"sortname2","sortname3":"sortname3"}]}','ContactHelperRoute::getContactRoute'
|
||||
UNION ALL
|
||||
SELECT 4,'Newsfeed','com_newsfeeds.newsfeed','{"special":{"dbtable":"#__newsfeeds","key":"id","type":"Newsfeed","prefix":"NewsfeedsTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}','','{"common":[{"core_content_item_id":"id","core_title":"name","core_state":"published","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"description", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"link", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}], "special": [{"numarticles":"numarticles","cache_time":"cache_time","rtl":"rtl"}]}','NewsfeedsHelperRoute::getNewsfeedRoute'
|
||||
UNION ALL
|
||||
SELECT 5,'User','com_users.user','{"special":{"dbtable":"#__users","key":"id","type":"User","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}','','{"common":[{"core_content_item_id":"id","core_title":"name","core_state":"null","core_alias":"username","core_created_time":"registerdate","core_modified_time":"lastvisitDate","core_body":"null", "core_hits":"null","core_publish_up":"null","core_publish_down":"null","access":"null", "core_params":"params", "core_featured":"null", "core_metadata":"null", "core_language":"null", "core_images":"null", "core_urls":"null", "core_version":"null", "core_ordering":"null", "core_metakey":"null", "core_metadesc":"null", "core_catid":"null", "core_xreference":"null", "asset_id":"null"}], "special": [{}]}','UsersHelperRoute::getUserRoute'
|
||||
UNION ALL
|
||||
SELECT 6,'Article Category','com_content.category','{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}','','{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}]}','ContentHelperRoute::getCategoryRoute'
|
||||
UNION ALL
|
||||
SELECT 7,'Contact Category','com_contact.category','{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}','','{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}]}','ContactHelperRoute::getCategoryRoute'
|
||||
UNION ALL
|
||||
SELECT 8,'Newsfeeds Category','com_newsfeeds.category','{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}','','{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}]}','NewsfeedsHelperRoute::getCategoryRoute'
|
||||
UNION ALL
|
||||
SELECT 9,'Weblinks Category','com_weblinks.category','{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}','','{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}]}','WeblinksHelperRoute::getCategoryRoute'
|
||||
UNION ALL
|
||||
SELECT 10,'Tag','com_tags.tag','{"special":{"dbtable":"#__tags","key":"tag_id","type":"Tag","prefix":"TagsTable","config":"array()"},"common":{"dbtable":"#__core_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}','','{"common":[{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"null", "core_xreference":"null", "asset_id":"null"}], "special": [{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path"}]}','TagsHelperRoute::getTagRoute';
|
||||
|
||||
SET IDENTITY_INSERT #__content_types OFF;
|
||||
|
||||
|
||||
/****** Object: Table [#__contentitem_tag_map] ******/
|
||||
SET QUOTED_IDENTIFIER ON;
|
||||
|
||||
CREATE TABLE [#__contentitem_tag_map](
|
||||
[type_alias] [nvarchar](255) NOT NULL DEFAULT '',
|
||||
[core_content_id] [bigint] NOT NULL,
|
||||
[content_item_id] [int] NOT NULL,
|
||||
[tag_id] [bigint] NOT NULL,
|
||||
[tag_date] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
|
||||
CONSTRAINT [#__contentitem_tag_map$uc_ItemnameTagid] UNIQUE NONCLUSTERED
|
||||
(
|
||||
[type_alias] ASC,
|
||||
[content_item_id] ASC,
|
||||
[tag_id] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY];
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_tag_name] ON [#__contentitem_tag_map]
|
||||
(
|
||||
[tag_id] ASC,
|
||||
[type_alias] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_date_id] ON [#__contentitem_tag_map]
|
||||
(
|
||||
[tag_date] ASC,
|
||||
[tag_id] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_tag] ON [#__contentitem_tag_map]
|
||||
(
|
||||
[tag_id] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_core_content_id] ON [#__contentitem_tag_map]
|
||||
(
|
||||
[core_content_id] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
|
||||
/****** Object: Table [#__tags] ******/
|
||||
SET QUOTED_IDENTIFIER ON;
|
||||
|
||||
CREATE TABLE [#__tags](
|
||||
[id] [int] IDENTITY(1,1) NOT NULL ,
|
||||
[parent_id] [bigint] NOT NULL DEFAULT '0',
|
||||
[lft] [int] NOT NULL DEFAULT '0',
|
||||
[rgt] [int] NOT NULL DEFAULT '0',
|
||||
[level] [bigint] NOT NULL DEFAULT '0',
|
||||
[path] [nvarchar](255) NOT NULL DEFAULT '',
|
||||
[title] [nvarchar](255) NOT NULL,
|
||||
[alias] [nvarchar](255) NOT NULL DEFAULT '',
|
||||
[note] [nvarchar](255) NOT NULL DEFAULT '',
|
||||
[description] [nvarchar](max) NOT NULL,
|
||||
[published] [smallint] NOT NULL DEFAULT '0',
|
||||
[checked_out] [bigint] NOT NULL DEFAULT '0',
|
||||
[checked_out_time] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
|
||||
[access] [int] NOT NULL DEFAULT '0',
|
||||
[params] [nvarchar](max) NOT NULL,
|
||||
[metadesc] [nvarchar](1024) NOT NULL,
|
||||
[metakey] [nvarchar](1024) NOT NULL,
|
||||
[metadata] [nvarchar](2048) NOT NULL,
|
||||
[created_user_id] [bigint] NOT NULL DEFAULT '0',
|
||||
[created_time] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
|
||||
[created_by_alias] [nvarchar](255) NOT NULL DEFAULT '',
|
||||
[modified_user_id] [bigint] NOT NULL DEFAULT '0',
|
||||
[modified_time] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
|
||||
[images] [nvarchar](max) NOT NULL,
|
||||
[urls] [nvarchar](max) NOT NULL,
|
||||
[hits] [bigint] NOT NULL DEFAULT '0',
|
||||
[language] [nvarchar](7) NOT NULL,
|
||||
[version] [bigint] NOT NULL DEFAULT '1',
|
||||
[publish_up] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
|
||||
[publish_down] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
|
||||
CONSTRAINT [PK_#__tags_id] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[id] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY];
|
||||
|
||||
CREATE NONCLUSTERED INDEX [tag_idx] ON [#__tags]
|
||||
(
|
||||
[published] ASC,
|
||||
[access] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_access] ON [#__tags]
|
||||
(
|
||||
[access] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_checkout] ON [#__tags]
|
||||
(
|
||||
[checked_out] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_path] ON [#__tags]
|
||||
(
|
||||
[path] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_left_right] ON [#__tags]
|
||||
(
|
||||
[lft] ASC,
|
||||
[rgt] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_alias] ON [#__tags]
|
||||
(
|
||||
[alias] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_language] ON [#__tags]
|
||||
(
|
||||
[language] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
SET IDENTITY_INSERT #__tags ON;
|
||||
|
||||
INSERT INTO #__tags (id,parent_id,lft,rgt,level,path,title,alias,note,description,published,checked_out,checked_out_time,access,params,metadesc,metakey,metadata,created_user_id,created_time,modified_user_id,modified_time,images,urls,hits,language)
|
||||
SELECT 1,0,0,1,0,'','ROOT','root','','',1,0,'1900-01-01 00:00:00',1,'{}','','','',0,'2009-10-18 16:07:09',0,'1900-01-01 00:00:00','','',0,'*';
|
||||
|
||||
SET IDENTITY_INSERT #__tags OFF;
|
||||
|
||||
/****** Object: Table [#__ucm_base] ******/
|
||||
SET QUOTED_IDENTIFIER ON;
|
||||
|
||||
CREATE TABLE [#__ucm_base](
|
||||
[ucm_id] [bigint] IDENTITY(1,1) NOT NULL,
|
||||
[ucm_item_id] [bigint] NOT NULL,
|
||||
[ucm_type_id] [bigint] NOT NULL,
|
||||
[ucm_language_id] [bigint] NOT NULL,
|
||||
CONSTRAINT [PK_#__ucm_base_ucm_id] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[ucm_id] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
|
||||
) ON [PRIMARY];
|
||||
|
||||
CREATE NONCLUSTERED INDEX [ucm_item_id] ON [#__ucm_base]
|
||||
(
|
||||
[ucm_item_id] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [ucm_type_id] ON [#__ucm_base]
|
||||
(
|
||||
[ucm_type_id] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [ucm_language_id] ON [#__ucm_base]
|
||||
(
|
||||
[ucm_language_id] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
/****** Object: Table [#__ucm_content] ******/
|
||||
SET QUOTED_IDENTIFIER ON;
|
||||
|
||||
CREATE TABLE [#__ucm_content](
|
||||
[core_content_id] [bigint] IDENTITY(1,1) NOT NULL,
|
||||
[core_type_alias] [nvarchar](255) NOT NULL,
|
||||
[core_title] [nvarchar](255) NOT NULL DEFAULT '',
|
||||
[core_alias] [nvarchar](255) NOT NULL DEFAULT '',
|
||||
[core_body] [nvarchar](max) NOT NULL,
|
||||
[core_state] [smallint] NOT NULL DEFAULT '0',
|
||||
[core_checked_out_time] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
|
||||
[core_checked_out_user_id] [bigint] NOT NULL DEFAULT '0',
|
||||
[core_access] [bigint] NOT NULL DEFAULT '0',
|
||||
[core_params] [nvarchar](max) NOT NULL,
|
||||
[core_featured] [tinyint] NOT NULL DEFAULT '0',
|
||||
[core_metadata] [nvarchar](max) NOT NULL,
|
||||
[core_created_user_id] [bigint] NOT NULL DEFAULT '0',
|
||||
[core_created_by_alias] [nvarchar](255) NOT NULL DEFAULT '',
|
||||
[core_created_time] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
|
||||
[core_modified_user_id] [bigint] NOT NULL DEFAULT '0',
|
||||
[core_modified_time] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
|
||||
[core_language] [nvarchar](7) NOT NULL,
|
||||
[core_publish_up] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
|
||||
[core_publish_down] [datetime] NOT NULL DEFAULT '1900-01-01T00:00:00.000',
|
||||
[core_content_item_id] [bigint] NOT NULL DEFAULT '0',
|
||||
[asset_id] [bigint] NOT NULL DEFAULT '0',
|
||||
[core_images] [nvarchar](max) NOT NULL,
|
||||
[core_urls] [nvarchar](max) NOT NULL,
|
||||
[core_hits] [bigint] NOT NULL DEFAULT '0',
|
||||
[core_version] [bigint] NOT NULL DEFAULT '1',
|
||||
[core_ordering] [int] NOT NULL DEFAULT '0',
|
||||
[core_metakey] [nvarchar](max) NOT NULL,
|
||||
[core_metadesc] [nvarchar](max) NOT NULL,
|
||||
[core_catid] [bigint] NOT NULL DEFAULT '0',
|
||||
[core_xreference] [nvarchar](50) NOT NULL,
|
||||
[core_type_id] [bigint] NOT NULL DEFAULT '0',
|
||||
CONSTRAINT [PK_#__ucm_content_core_content_id] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[core_content_id] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
|
||||
CONSTRAINT [#__ucm_content_core_content_id$idx_type_alias_item_id] UNIQUE NONCLUSTERED
|
||||
(
|
||||
[core_type_alias] ASC,
|
||||
[core_content_item_id] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY];
|
||||
|
||||
CREATE NONCLUSTERED INDEX [tag_idx] ON [#__ucm_content]
|
||||
(
|
||||
[core_state] ASC,
|
||||
[core_access] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_access] ON [#__ucm_content]
|
||||
(
|
||||
[core_access] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_alias] ON [#__ucm_content]
|
||||
(
|
||||
[core_alias] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_language] ON [#__ucm_content]
|
||||
(
|
||||
[core_language] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_title] ON [#__ucm_content]
|
||||
(
|
||||
[core_title] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_modified_time] ON [#__ucm_content]
|
||||
(
|
||||
[core_modified_time] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_created_time] ON [#__ucm_content]
|
||||
(
|
||||
[core_created_time] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_content_type] ON [#__ucm_content]
|
||||
(
|
||||
[core_type_alias] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_core_modified_user_id] ON [#__ucm_content]
|
||||
(
|
||||
[core_modified_user_id] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_core_checked_out_user_id] ON [#__ucm_content]
|
||||
(
|
||||
[core_checked_out_user_id] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_core_created_user_id] ON [#__ucm_content]
|
||||
(
|
||||
[core_created_user_id] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
CREATE NONCLUSTERED INDEX [idx_core_type_id] ON [#__ucm_content]
|
||||
(
|
||||
[core_type_id] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF);
|
||||
|
||||
|
||||
SET IDENTITY_INSERT #__extensions ON;
|
||||
|
||||
INSERT INTO #__extensions (extension_id, name, type, element, folder, client_id, enabled, access, protected, manifest_cache, params, custom_data, system_data, checked_out, checked_out_time, ordering, state)
|
||||
SELECT 29, 'com_tags', 'component', 'com_tags', '', 1, 1, 1, 1, '{"name":"com_joomlaupdate","type":"component","creationDate":"March 2013","author":"Joomla! Project","copyright":"(C) 2005 - 2013 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"3.1.0","description":"COM_TAGS_XML_DESCRIPTION","group":""}', '{}', '', '', 0, '1900-01-01 00:00:00', 0, 0;
|
||||
|
||||
SET IDENTITY_INSERT #__extensions OFF;
|
||||
|
||||
SET IDENTITY_INSERT #__menu ON;
|
||||
|
||||
INSERT INTO #__menu (id, menutype, title, alias, note, path, link, type, published, parent_id, level, component_id, ordering, checked_out, checked_out_time, browserNav, access, img, template_style_id, params, lft, rgt, home, language, client_id)
|
||||
SELECT 23, 'menu', 'com_tags', 'Tags', '', 'Tags', 'index.php?option=com_tags', 'component', 0, 1, 1, 29, 0, '1900-01-01 00:00:00', 0, 0, 'class:tags', 0, '', 43, 44, 0, '*', 1
|
||||
|
||||
SET IDENTITY_INSERT #__menu OFF;
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.1.1
|
@ -0,0 +1,11 @@
|
||||
UPDATE [#__content_types] SET [table] = '{"special":{"dbtable":"#__content","key":"id","type":"Content","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE [type_title] = 'Article';UPDATE [#__content_types] SET [table] = '{"special":{"dbtable":"#__weblinks","key":"id","type":"Weblink","prefix":"WeblinksTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE [type_title] = 'Weblink';UPDATE [#__content_types] SET [table] = '{"special":{"dbtable":"#__contact_details","key":"id","type":"Contact","prefix":"ContactTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE [type_title] = 'Contact';UPDATE [#__content_types] SET [table] = '{"special":{"dbtable":"#__newsfeeds","key":"id","type":"Newsfeed","prefix":"NewsfeedsTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE [type_title] = 'Newsfeed';UPDATE [#__content_types] SET [table] = '{"special":{"dbtable":"#__users","key":"id","type":"User","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE [type_title] = 'User';UPDATE [#__content_types] SET [table] = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE [type_title] = 'Article Category';UPDATE [#__content_types] SET [table] = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE [type_title] = 'Contact Category';UPDATE [#__content_types] SET [table] = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE [type_title] = 'Newsfeeds Category';UPDATE [#__content_types] SET [table] = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE [type_title] = 'Weblinks Category';UPDATE [#__content_types] SET [table] = '{"special":{"dbtable":"#__tags","key":"tag_id","type":"Tag","prefix":"TagsTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}' WHERE [type_title] = 'Tag';
|
||||
UPDATE [#__content_types] SET [field_mappings] = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"state","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"introtext", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"attribs", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"asset_id"}, "special": {"fulltext":"fulltext"}}' WHERE [type_id] = '1';
|
||||
UPDATE [#__content_types] SET [field_mappings] = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"state","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"description", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"url", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}, "special": {}}' WHERE [type_id] = '2';
|
||||
UPDATE [#__content_types] SET [field_mappings] = '{"common":{"core_content_item_id":"id","core_title":"name","core_state":"published","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"address", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"image", "core_urls":"webpage", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}, "special": {"con_position":"con_position","suburb":"suburb","state":"state","country":"country","postcode":"postcode","telephone":"telephone","fax":"fax","misc":"misc","email_to":"email_to","default_con":"default_con","user_id":"user_id","mobile":"mobile","sortname1":"sortname1","sortname2":"sortname2","sortname3":"sortname3"}}' WHERE [type_id] = '3';
|
||||
UPDATE [#__content_types] SET [field_mappings] = '{"common":{"core_content_item_id":"id","core_title":"name","core_state":"published","core_alias":"alias","core_created_time":"created","core_modified_time":"modified","core_body":"description", "core_hits":"hits","core_publish_up":"publish_up","core_publish_down":"publish_down","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"link", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"null"}, "special": {"numarticles":"numarticles","cache_time":"cache_time","rtl":"rtl"}}' WHERE [type_id] = '4';
|
||||
UPDATE [#__content_types] SET [field_mappings] = '{"common":{"core_content_item_id":"id","core_title":"name","core_state":"null","core_alias":"username","core_created_time":"registerdate","core_modified_time":"lastvisitDate","core_body":"null", "core_hits":"null","core_publish_up":"null","core_publish_down":"null","access":"null", "core_params":"params", "core_featured":"null", "core_metadata":"null", "core_language":"null", "core_images":"null", "core_urls":"null", "core_version":"null", "core_ordering":"null", "core_metakey":"null", "core_metadesc":"null", "core_catid":"null", "core_xreference":"null", "asset_id":"null"}, "special": {}}' WHERE [type_id] = '5';
|
||||
UPDATE [#__content_types] SET [field_mappings] = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}' WHERE [type_id] = '6';
|
||||
UPDATE [#__content_types] SET [field_mappings] = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}' WHERE [type_id] = '7';
|
||||
UPDATE [#__content_types] SET [field_mappings] = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}' WHERE [type_id] = '8';
|
||||
UPDATE [#__content_types] SET [field_mappings] = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}' WHERE [type_id] = '9';
|
||||
UPDATE [#__content_types] SET [field_mappings] = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"null", "core_xreference":"null", "asset_id":"null"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path"}}' WHERE [type_id] = '10';
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.1.3
|
@ -0,0 +1,6 @@
|
||||
SET IDENTITY_INSERT #__extensions ON;
|
||||
|
||||
INSERT INTO #__extensions (extension_id, name, type, element, folder, client_id, enabled, access, protected, manifest_cache, params, custom_data, system_data, checked_out, checked_out_time, ordering, state)
|
||||
SELECT 104, 'IDNA Convert', 'library', 'idna_convert', '', 0, 1, 1, 1, '', '', '', '', 0, '1900-01-01 00:00:00', 0, 0;
|
||||
|
||||
SET IDENTITY_INSERT #__extensions OFF;
|
@ -0,0 +1 @@
|
||||
# Placeholder file for database changes for version 3.1.5
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
Reference in New Issue
Block a user