Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OLD TABLE STRUCTURE IN Joomla 1.0:
- CREATE TABLE IF NOT EXISTS `jos_content` (
- `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
- `title` VARCHAR(100) NOT NULL DEFAULT '',
- `title_alias` VARCHAR(100) NOT NULL DEFAULT '',
- `introtext` mediumtext NOT NULL,
- `fulltext` mediumtext NOT NULL,
- `state` tinyint(3) NOT NULL DEFAULT '0',
- `sectionid` INT(11) UNSIGNED NOT NULL DEFAULT '0',
- `mask` INT(11) UNSIGNED NOT NULL DEFAULT '0',
- `catid` INT(11) UNSIGNED NOT NULL DEFAULT '0',
- `created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- `created_by` INT(11) UNSIGNED NOT NULL DEFAULT '0',
- `created_by_alias` VARCHAR(100) NOT NULL DEFAULT '',
- `modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- `modified_by` INT(11) UNSIGNED 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',
- `publish_up` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- `publish_down` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- `images` text NOT NULL,
- `urls` text NOT NULL,
- `attribs` text NOT NULL,
- `version` INT(11) UNSIGNED NOT NULL DEFAULT '1',
- `parentid` INT(11) UNSIGNED NOT NULL DEFAULT '0',
- `ordering` INT(11) NOT NULL DEFAULT '0',
- `metakey` text NOT NULL,
- `metadesc` text NOT NULL,
- `access` INT(11) UNSIGNED NOT NULL DEFAULT '0',
- `hits` INT(11) UNSIGNED NOT NULL DEFAULT '0',
- PRIMARY KEY (`id`),
- KEY `idx_section` (`sectionid`),
- KEY `idx_access` (`access`),
- KEY `idx_checkout` (`checked_out`),
- KEY `idx_state` (`state`),
- KEY `idx_catid` (`catid`),
- KEY `idx_mask` (`mask`)
- ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1224 ;
- NEW TABLE STRUCTURE IN Joomla 2.5:
- CREATE TABLE IF NOT EXISTS `rf1vo_content` (
- `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
- `asset_id` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'FK to the #__assets table.',
- `title` VARCHAR(255) NOT NULL DEFAULT '',
- `alias` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
- `title_alias` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'Deprecated in Joomla! 3.0',
- `introtext` mediumtext NOT NULL,
- `fulltext` mediumtext NOT NULL,
- `state` tinyint(3) NOT NULL DEFAULT '0',
- `sectionid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
- `mask` INT(10) UNSIGNED NOT NULL DEFAULT '0',
- `catid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
- `created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- `created_by` INT(10) UNSIGNED NOT NULL DEFAULT '0',
- `created_by_alias` VARCHAR(255) NOT NULL DEFAULT '',
- `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',
- `publish_up` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- `publish_down` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- `images` text NOT NULL,
- `urls` text NOT NULL,
- `attribs` VARCHAR(5120) NOT NULL,
- `version` INT(10) UNSIGNED NOT NULL DEFAULT '1',
- `parentid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
- `ordering` INT(11) NOT NULL DEFAULT '0',
- `metakey` text NOT NULL,
- `metadesc` text NOT NULL,
- `access` INT(10) UNSIGNED NOT NULL DEFAULT '0',
- `hits` INT(10) UNSIGNED NOT NULL DEFAULT '0',
- `metadata` text NOT NULL,
- `featured` tinyint(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Set if article is featured.',
- `language` CHAR(7) NOT NULL COMMENT 'The language code for the article.',
- `xreference` VARCHAR(50) NOT NULL COMMENT 'A reference to enable linkages to external data sets.',
- PRIMARY KEY (`id`),
- KEY `idx_access` (`access`),
- KEY `idx_checkout` (`checked_out`),
- KEY `idx_state` (`state`),
- KEY `idx_catid` (`catid`),
- KEY `idx_createdby` (`created_by`),
- KEY `idx_featured_catid` (`featured`,`catid`),
- KEY `idx_language` (`language`),
- KEY `idx_xreference` (`xreference`)
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=11 ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement