-- phpMyAdmin SQL Dump -- version 3.4.5 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Aug 20, 2012 at 02:40 AM -- Server version: 5.5.16 -- PHP Version: 5.3.8 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `test` -- -- -------------------------------------------------------- -- -- Table structure for table `actions` -- DROP TABLE IF EXISTS `actions`; CREATE TABLE IF NOT EXISTS `actions` ( `aid` varchar(255) NOT NULL DEFAULT '0' COMMENT 'Primary Key: Unique actions ID.', `type` varchar(32) NOT NULL DEFAULT '' COMMENT 'The object that that action acts on (node, user, comment, system or custom types.)', `callback` varchar(255) NOT NULL DEFAULT '' COMMENT 'The callback function that executes when the action runs.', `parameters` longblob NOT NULL COMMENT 'Parameters to be passed to the callback function.', `label` varchar(255) NOT NULL DEFAULT '0' COMMENT 'Label of the action.', PRIMARY KEY (`aid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores action information.'; -- -------------------------------------------------------- -- -- Table structure for table `authmap` -- DROP TABLE IF EXISTS `authmap`; CREATE TABLE IF NOT EXISTS `authmap` ( `aid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key: Unique authmap ID.', `uid` int(11) NOT NULL DEFAULT '0' COMMENT 'User’s users.uid.', `authname` varchar(128) NOT NULL DEFAULT '' COMMENT 'Unique authentication name.', `module` varchar(128) NOT NULL DEFAULT '' COMMENT 'Module which is controlling the authentication.', PRIMARY KEY (`aid`), UNIQUE KEY `authname` (`authname`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores distributed authentication mapping.' AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `batch` -- DROP TABLE IF EXISTS `batch`; CREATE TABLE IF NOT EXISTS `batch` ( `bid` int(10) unsigned NOT NULL COMMENT 'Primary Key: Unique batch ID.', `token` varchar(64) NOT NULL COMMENT 'A string token generated against the current user’s session id and the batch id, used to ensure that only the user who submitted the batch can effectively access it.', `timestamp` int(11) NOT NULL COMMENT 'A Unix timestamp indicating when this batch was submitted for processing. Stale batches are purged at cron time.', `batch` longblob COMMENT 'A serialized array containing the processing data for the batch.', PRIMARY KEY (`bid`), KEY `token` (`token`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores details about batches (processes that run in...'; -- -------------------------------------------------------- -- -- Table structure for table `block` -- DROP TABLE IF EXISTS `block`; CREATE TABLE IF NOT EXISTS `block` ( `bid` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary Key: Unique block ID.', `module` varchar(64) NOT NULL DEFAULT '' COMMENT 'The module from which the block originates; for example, ’user’ for the Who’s Online block, and ’block’ for any custom blocks.', `delta` varchar(32) NOT NULL DEFAULT '0' COMMENT 'Unique ID for block within a module.', `theme` varchar(64) NOT NULL DEFAULT '' COMMENT 'The theme under which the block settings apply.', `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Block enabled status. (1 = enabled, 0 = disabled)', `weight` int(11) NOT NULL DEFAULT '0' COMMENT 'Block weight within region.', `region` varchar(64) NOT NULL DEFAULT '' COMMENT 'Theme region within which the block is set.', `custom` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Flag to indicate how users may control visibility of the block. (0 = Users cannot control, 1 = On by default, but can be hidden, 2 = Hidden by default, but can be shown)', `visibility` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Flag to indicate how to show blocks on pages. (0 = Show on all pages except listed pages, 1 = Show only on listed pages, 2 = Use custom PHP code to determine visibility)', `pages` text NOT NULL COMMENT 'Contents of the \\"Pages\\" block; contains either a list of paths on which to include/exclude the block or PHP code, depending on \\"visibility\\" setting.', `title` varchar(64) NOT NULL DEFAULT '' COMMENT 'Custom title for the block. (Empty string will use block default title, will remove the title, text will cause block to use specified title.)', `cache` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'Binary flag to indicate block cache mode. (-2: Custom cache, -1: Do not cache, 1: Cache per role, 2: Cache per user, 4: Cache per page, 8: Block cache global) See DRUPAL_CACHE_* constants in ../includes/common.inc for more detailed information.', PRIMARY KEY (`bid`), UNIQUE KEY `tmd` (`theme`,`module`,`delta`), KEY `list` (`theme`,`status`,`region`,`weight`,`module`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores block settings, such as region and visibility...' AUTO_INCREMENT=154 ; -- -------------------------------------------------------- -- -- Table structure for table `blocked_ips` -- DROP TABLE IF EXISTS `blocked_ips`; CREATE TABLE IF NOT EXISTS `blocked_ips` ( `iid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key: unique ID for IP addresses.', `ip` varchar(40) NOT NULL DEFAULT '' COMMENT 'IP address', PRIMARY KEY (`iid`), KEY `blocked_ip` (`ip`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores blocked IP addresses.' AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `block_custom` -- DROP TABLE IF EXISTS `block_custom`; CREATE TABLE IF NOT EXISTS `block_custom` ( `bid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'The block’s block.bid.', `body` longtext COMMENT 'Block contents.', `info` varchar(128) NOT NULL DEFAULT '' COMMENT 'Block description.', `format` varchar(255) DEFAULT NULL COMMENT 'The filter_format.format of the block body.', PRIMARY KEY (`bid`), UNIQUE KEY `info` (`info`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores contents of custom-made blocks.' AUTO_INCREMENT=5 ; -- -------------------------------------------------------- -- -- Table structure for table `block_node_type` -- DROP TABLE IF EXISTS `block_node_type`; CREATE TABLE IF NOT EXISTS `block_node_type` ( `module` varchar(64) NOT NULL COMMENT 'The block’s origin module, from block.module.', `delta` varchar(32) NOT NULL COMMENT 'The block’s unique delta within module, from block.delta.', `type` varchar(32) NOT NULL COMMENT 'The machine-readable name of this type from node_type.type.', PRIMARY KEY (`module`,`delta`,`type`), KEY `type` (`type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sets up display criteria for blocks based on content types'; -- -------------------------------------------------------- -- -- Table structure for table `block_role` -- DROP TABLE IF EXISTS `block_role`; CREATE TABLE IF NOT EXISTS `block_role` ( `module` varchar(64) NOT NULL COMMENT 'The block’s origin module, from block.module.', `delta` varchar(32) NOT NULL COMMENT 'The block’s unique delta within module, from block.delta.', `rid` int(10) unsigned NOT NULL COMMENT 'The user’s role ID from users_roles.rid.', PRIMARY KEY (`module`,`delta`,`rid`), KEY `rid` (`rid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sets up access permissions for blocks based on user roles'; -- -------------------------------------------------------- -- -- Table structure for table `brilliant_gallery_checklist` -- DROP TABLE IF EXISTS `brilliant_gallery_checklist`; CREATE TABLE IF NOT EXISTS `brilliant_gallery_checklist` ( `nid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Unused now.', `user` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'User ID.', `qid` text NOT NULL COMMENT 'Image.', `state` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Visible or invisible.', PRIMARY KEY (`nid`,`user`,`qid`(255)) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Table tracing which Brilliant Gallery images are hidden...'; -- -------------------------------------------------------- -- -- Table structure for table `brilliant_gallery_image_arrays` -- DROP TABLE IF EXISTS `brilliant_gallery_image_arrays`; CREATE TABLE IF NOT EXISTS `brilliant_gallery_image_arrays` ( `hash` varchar(32) NOT NULL COMMENT 'Hash of the serialized array.', `array` text NOT NULL COMMENT 'Array of image parametres.', `datetime` int(10) unsigned NOT NULL COMMENT 'Date and time of last value refresh.', PRIMARY KEY (`hash`), KEY `datetime` (`datetime`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Binds image property array with its hash that is present...'; -- -------------------------------------------------------- -- -- Table structure for table `cache` -- DROP TABLE IF EXISTS `cache`; CREATE TABLE IF NOT EXISTS `cache` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Generic cache table for caching things not separated out...'; -- -------------------------------------------------------- -- -- Table structure for table `cache_block` -- DROP TABLE IF EXISTS `cache_block`; CREATE TABLE IF NOT EXISTS `cache_block` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cache table for the Block module to store already built...'; -- -------------------------------------------------------- -- -- Table structure for table `cache_bootstrap` -- DROP TABLE IF EXISTS `cache_bootstrap`; CREATE TABLE IF NOT EXISTS `cache_bootstrap` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cache table for data required to bootstrap Drupal, may be...'; -- -------------------------------------------------------- -- -- Table structure for table `cache_field` -- DROP TABLE IF EXISTS `cache_field`; CREATE TABLE IF NOT EXISTS `cache_field` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Generic cache table for caching things not separated out...'; -- -------------------------------------------------------- -- -- Table structure for table `cache_filter` -- DROP TABLE IF EXISTS `cache_filter`; CREATE TABLE IF NOT EXISTS `cache_filter` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cache table for the Filter module to store already...'; -- -------------------------------------------------------- -- -- Table structure for table `cache_form` -- DROP TABLE IF EXISTS `cache_form`; CREATE TABLE IF NOT EXISTS `cache_form` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cache table for the form system to store recently built...'; -- -------------------------------------------------------- -- -- Table structure for table `cache_image` -- DROP TABLE IF EXISTS `cache_image`; CREATE TABLE IF NOT EXISTS `cache_image` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cache table used to store information about image...'; -- -------------------------------------------------------- -- -- Table structure for table `cache_media_xml` -- DROP TABLE IF EXISTS `cache_media_xml`; CREATE TABLE IF NOT EXISTS `cache_media_xml` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cache table for the the results of retreived XML...'; -- -------------------------------------------------------- -- -- Table structure for table `cache_menu` -- DROP TABLE IF EXISTS `cache_menu`; CREATE TABLE IF NOT EXISTS `cache_menu` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cache table for the menu system to store router...'; -- -------------------------------------------------------- -- -- Table structure for table `cache_page` -- DROP TABLE IF EXISTS `cache_page`; CREATE TABLE IF NOT EXISTS `cache_page` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cache table used to store compressed pages for anonymous...'; -- -------------------------------------------------------- -- -- Table structure for table `cache_path` -- DROP TABLE IF EXISTS `cache_path`; CREATE TABLE IF NOT EXISTS `cache_path` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cache table for path alias lookup.'; -- -------------------------------------------------------- -- -- Table structure for table `cache_update` -- DROP TABLE IF EXISTS `cache_update`; CREATE TABLE IF NOT EXISTS `cache_update` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cache table for the Update module to store information...'; -- -------------------------------------------------------- -- -- Table structure for table `cache_views` -- DROP TABLE IF EXISTS `cache_views`; CREATE TABLE IF NOT EXISTS `cache_views` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Generic cache table for caching things not separated out...'; -- -------------------------------------------------------- -- -- Table structure for table `cache_views_data` -- DROP TABLE IF EXISTS `cache_views_data`; CREATE TABLE IF NOT EXISTS `cache_views_data` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '1' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cache table for views to store pre-rendered queries,...'; -- -------------------------------------------------------- -- -- Table structure for table `captcha_points` -- DROP TABLE IF EXISTS `captcha_points`; CREATE TABLE IF NOT EXISTS `captcha_points` ( `form_id` varchar(128) NOT NULL DEFAULT '' COMMENT 'The form_id of the form to add a CAPTCHA to.', `module` varchar(64) DEFAULT NULL COMMENT 'The module that provides the challenge.', `captcha_type` varchar(64) DEFAULT NULL COMMENT 'The challenge type to use.', PRIMARY KEY (`form_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='This table describes which challenges should be added to...'; -- -------------------------------------------------------- -- -- Table structure for table `captcha_sessions` -- DROP TABLE IF EXISTS `captcha_sessions`; CREATE TABLE IF NOT EXISTS `captcha_sessions` ( `csid` int(11) NOT NULL AUTO_INCREMENT COMMENT 'CAPTCHA session ID.', `token` varchar(64) DEFAULT NULL COMMENT 'One time CAPTCHA token.', `uid` int(11) NOT NULL DEFAULT '0' COMMENT 'User’s users.uid.', `sid` varchar(64) NOT NULL DEFAULT '' COMMENT 'Session ID of the user.', `ip_address` varchar(128) DEFAULT NULL COMMENT 'IP address of the visitor.', `timestamp` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the challenge was generated.', `form_id` varchar(128) NOT NULL COMMENT 'The form_id of the form where the CAPTCHA is added to.', `solution` varchar(128) NOT NULL DEFAULT '' COMMENT 'Solution of the challenge.', `status` int(11) NOT NULL DEFAULT '0' COMMENT 'Status of the CAPTCHA session (unsolved, solved, ...)', `attempts` int(11) NOT NULL DEFAULT '0' COMMENT 'The number of attempts.', PRIMARY KEY (`csid`), KEY `csid_ip` (`csid`,`ip_address`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores the data about CAPTCHA sessions (solution, IP...' AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `ckeditor_input_format` -- DROP TABLE IF EXISTS `ckeditor_input_format`; CREATE TABLE IF NOT EXISTS `ckeditor_input_format` ( `name` varchar(128) NOT NULL DEFAULT '' COMMENT 'Name of the CKEditor role', `format` varchar(128) NOT NULL DEFAULT '' COMMENT 'Drupal filter format ID', PRIMARY KEY (`name`,`format`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores CKEditor input format assignments'; -- -------------------------------------------------------- -- -- Table structure for table `ckeditor_settings` -- DROP TABLE IF EXISTS `ckeditor_settings`; CREATE TABLE IF NOT EXISTS `ckeditor_settings` ( `name` varchar(128) NOT NULL DEFAULT '' COMMENT 'Name of the CKEditor profile', `settings` text COMMENT 'Profile settings', PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores CKEditor profile settings'; -- -------------------------------------------------------- -- -- Table structure for table `comment` -- DROP TABLE IF EXISTS `comment`; CREATE TABLE IF NOT EXISTS `comment` ( `cid` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary Key: Unique comment ID.', `pid` int(11) NOT NULL DEFAULT '0' COMMENT 'The comment.cid to which this comment is a reply. If set to 0, this comment is not a reply to an existing comment.', `nid` int(11) NOT NULL DEFAULT '0' COMMENT 'The node.nid to which this comment is a reply.', `uid` int(11) NOT NULL DEFAULT '0' COMMENT 'The users.uid who authored the comment. If set to 0, this comment was created by an anonymous user.', `subject` varchar(64) NOT NULL DEFAULT '' COMMENT 'The comment title.', `hostname` varchar(128) NOT NULL DEFAULT '' COMMENT 'The author’s host name.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'The time that the comment was created, as a Unix timestamp.', `changed` int(11) NOT NULL DEFAULT '0' COMMENT 'The time that the comment was last edited, as a Unix timestamp.', `status` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT 'The published status of a comment. (0 = Not Published, 1 = Published)', `thread` varchar(255) NOT NULL COMMENT 'The vancode representation of the comment’s place in a thread.', `name` varchar(60) DEFAULT NULL COMMENT 'The comment author’s name. Uses users.name if the user is logged in, otherwise uses the value typed into the comment form.', `mail` varchar(64) DEFAULT NULL COMMENT 'The comment author’s e-mail address from the comment form, if user is anonymous, and the ’Anonymous users may/must leave their contact information’ setting is turned on.', `homepage` varchar(255) DEFAULT NULL COMMENT 'The comment author’s home page address from the comment form, if user is anonymous, and the ’Anonymous users may/must leave their contact information’ setting is turned on.', `language` varchar(12) NOT NULL DEFAULT '' COMMENT 'The languages.language of this comment.', PRIMARY KEY (`cid`), KEY `comment_status_pid` (`pid`,`status`), KEY `comment_num_new` (`nid`,`status`,`created`,`cid`,`thread`), KEY `comment_uid` (`uid`), KEY `comment_nid_language` (`nid`,`language`), KEY `comment_created` (`created`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores comments and associated data.' AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `contact` -- DROP TABLE IF EXISTS `contact`; CREATE TABLE IF NOT EXISTS `contact` ( `cid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key: Unique category ID.', `category` varchar(255) NOT NULL DEFAULT '' COMMENT 'Category name.', `recipients` longtext NOT NULL COMMENT 'Comma-separated list of recipient e-mail addresses.', `reply` longtext NOT NULL COMMENT 'Text of the auto-reply message.', `weight` int(11) NOT NULL DEFAULT '0' COMMENT 'The category’s weight.', `selected` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Flag to indicate whether or not category is selected by default. (1 = Yes, 0 = No)', PRIMARY KEY (`cid`), UNIQUE KEY `category` (`category`), KEY `list` (`weight`,`category`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Contact form category settings.' AUTO_INCREMENT=2 ; -- -------------------------------------------------------- -- -- Table structure for table `context` -- DROP TABLE IF EXISTS `context`; CREATE TABLE IF NOT EXISTS `context` ( `name` varchar(255) NOT NULL DEFAULT '' COMMENT 'The primary identifier for a context.', `description` varchar(255) NOT NULL DEFAULT '' COMMENT 'Description for this context.', `tag` varchar(255) NOT NULL DEFAULT '' COMMENT 'Tag for this context.', `conditions` text COMMENT 'Serialized storage of all context condition settings.', `reactions` text COMMENT 'Serialized storage of all context reaction settings.', `condition_mode` int(11) DEFAULT '0' COMMENT 'Condition mode for this context.', PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Storage for normal (user-defined) contexts.'; -- -------------------------------------------------------- -- -- Table structure for table `ctools_css_cache` -- DROP TABLE IF EXISTS `ctools_css_cache`; CREATE TABLE IF NOT EXISTS `ctools_css_cache` ( `cid` varchar(128) NOT NULL COMMENT 'The CSS ID this cache object belongs to.', `filename` varchar(255) DEFAULT NULL COMMENT 'The filename this CSS is stored in.', `css` longtext COMMENT 'CSS being stored.', `filter` tinyint(4) DEFAULT NULL COMMENT 'Whether or not this CSS needs to be filtered.', PRIMARY KEY (`cid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='A special cache used to store CSS that must be non-volatile.'; -- -------------------------------------------------------- -- -- Table structure for table `ctools_object_cache` -- DROP TABLE IF EXISTS `ctools_object_cache`; CREATE TABLE IF NOT EXISTS `ctools_object_cache` ( `sid` varchar(64) NOT NULL COMMENT 'The session ID this cache object belongs to.', `name` varchar(128) NOT NULL COMMENT 'The name of the object this cache is attached to.', `obj` varchar(32) NOT NULL COMMENT 'The type of the object this cache is attached to; this essentially represents the owner so that several sub-systems can use this cache.', `updated` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The time this cache was created or updated.', `data` longtext COMMENT 'Serialized data being stored.', PRIMARY KEY (`sid`,`obj`,`name`), KEY `updated` (`updated`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='A special cache used to store objects that are being...'; -- -------------------------------------------------------- -- -- Table structure for table `date_formats` -- DROP TABLE IF EXISTS `date_formats`; CREATE TABLE IF NOT EXISTS `date_formats` ( `dfid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'The date format identifier.', `format` varchar(100) NOT NULL COMMENT 'The date format string.', `type` varchar(64) NOT NULL COMMENT 'The date format type, e.g. medium.', `locked` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Whether or not this format can be modified.', PRIMARY KEY (`dfid`), UNIQUE KEY `formats` (`format`,`type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores configured date formats.' AUTO_INCREMENT=36 ; -- -------------------------------------------------------- -- -- Table structure for table `date_format_locale` -- DROP TABLE IF EXISTS `date_format_locale`; CREATE TABLE IF NOT EXISTS `date_format_locale` ( `format` varchar(100) NOT NULL COMMENT 'The date format string.', `type` varchar(64) NOT NULL COMMENT 'The date format type, e.g. medium.', `language` varchar(12) NOT NULL COMMENT 'A languages.language for this format to be used with.', PRIMARY KEY (`type`,`language`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores configured date formats for each locale.'; -- -------------------------------------------------------- -- -- Table structure for table `date_format_type` -- DROP TABLE IF EXISTS `date_format_type`; CREATE TABLE IF NOT EXISTS `date_format_type` ( `type` varchar(64) NOT NULL COMMENT 'The date format type, e.g. medium.', `title` varchar(255) NOT NULL COMMENT 'The human readable name of the format type.', `locked` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Whether or not this is a system provided format.', PRIMARY KEY (`type`), KEY `title` (`title`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores configured date format types.'; -- -------------------------------------------------------- -- -- Table structure for table `delta` -- DROP TABLE IF EXISTS `delta`; CREATE TABLE IF NOT EXISTS `delta` ( `machine_name` varchar(32) NOT NULL COMMENT 'The system name of this theme settings template.', `name` varchar(128) NOT NULL COMMENT 'The friendly name of this theme settings template.', `description` mediumtext NOT NULL COMMENT 'A brief description of this theme settings template.', `theme` varchar(128) NOT NULL COMMENT 'The theme for which this theme settings template is relevant.', `mode` varchar(32) NOT NULL COMMENT 'The mode that this template operrates in.', `parent` varchar(32) NOT NULL COMMENT 'The system name of the parent of this theme settings template.', `settings` longblob COMMENT 'Serialized data which is a copy of the theme settings array stored in the system table based on these overrides', PRIMARY KEY (`machine_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores theme-settings templates that allow overriding the...'; -- -------------------------------------------------------- -- -- Table structure for table `field_config` -- DROP TABLE IF EXISTS `field_config`; CREATE TABLE IF NOT EXISTS `field_config` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'The primary identifier for a field', `field_name` varchar(32) NOT NULL COMMENT 'The name of this field. Non-deleted field names are unique, but multiple deleted fields can have the same name.', `type` varchar(128) NOT NULL COMMENT 'The type of this field.', `module` varchar(128) NOT NULL DEFAULT '' COMMENT 'The module that implements the field type.', `active` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Boolean indicating whether the module that implements the field type is enabled.', `storage_type` varchar(128) NOT NULL COMMENT 'The storage backend for the field.', `storage_module` varchar(128) NOT NULL DEFAULT '' COMMENT 'The module that implements the storage backend.', `storage_active` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Boolean indicating whether the module that implements the storage backend is enabled.', `locked` tinyint(4) NOT NULL DEFAULT '0' COMMENT '@TODO', `data` longblob NOT NULL COMMENT 'Serialized data containing the field properties that do not warrant a dedicated column.', `cardinality` tinyint(4) NOT NULL DEFAULT '0', `translatable` tinyint(4) NOT NULL DEFAULT '0', `deleted` tinyint(4) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `field_name` (`field_name`), KEY `active` (`active`), KEY `storage_active` (`storage_active`), KEY `deleted` (`deleted`), KEY `module` (`module`), KEY `storage_module` (`storage_module`), KEY `type` (`type`), KEY `storage_type` (`storage_type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; -- -------------------------------------------------------- -- -- Table structure for table `field_config_instance` -- DROP TABLE IF EXISTS `field_config_instance`; CREATE TABLE IF NOT EXISTS `field_config_instance` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'The primary identifier for a field instance', `field_id` int(11) NOT NULL COMMENT 'The identifier of the field attached by this instance', `field_name` varchar(32) NOT NULL DEFAULT '', `entity_type` varchar(32) NOT NULL DEFAULT '', `bundle` varchar(128) NOT NULL DEFAULT '', `data` longblob NOT NULL, `deleted` tinyint(4) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `field_name_bundle` (`field_name`,`entity_type`,`bundle`), KEY `deleted` (`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ; -- -------------------------------------------------------- -- -- Table structure for table `field_data_body` -- DROP TABLE IF EXISTS `field_data_body`; CREATE TABLE IF NOT EXISTS `field_data_body` ( `entity_type` varchar(128) NOT NULL DEFAULT '' COMMENT 'The entity type this data is attached to', `bundle` varchar(128) NOT NULL DEFAULT '' COMMENT 'The field instance bundle to which this row belongs, used when deleting a field instance', `deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'A boolean indicating whether this data item has been deleted', `entity_id` int(10) unsigned NOT NULL COMMENT 'The entity id this data is attached to', `revision_id` int(10) unsigned DEFAULT NULL COMMENT 'The entity revision id this data is attached to, or NULL if the entity type is not versioned', `language` varchar(32) NOT NULL DEFAULT '' COMMENT 'The language for this data item.', `delta` int(10) unsigned NOT NULL COMMENT 'The sequence number for this data item, used for multi-value fields', `body_value` longtext, `body_summary` longtext, `body_format` varchar(255) DEFAULT NULL, PRIMARY KEY (`entity_type`,`entity_id`,`deleted`,`delta`,`language`), KEY `entity_type` (`entity_type`), KEY `bundle` (`bundle`), KEY `deleted` (`deleted`), KEY `entity_id` (`entity_id`), KEY `revision_id` (`revision_id`), KEY `language` (`language`), KEY `body_format` (`body_format`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Data storage for field 2 (body)'; -- -------------------------------------------------------- -- -- Table structure for table `field_data_comment_body` -- DROP TABLE IF EXISTS `field_data_comment_body`; CREATE TABLE IF NOT EXISTS `field_data_comment_body` ( `entity_type` varchar(128) NOT NULL DEFAULT '' COMMENT 'The entity type this data is attached to', `bundle` varchar(128) NOT NULL DEFAULT '' COMMENT 'The field instance bundle to which this row belongs, used when deleting a field instance', `deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'A boolean indicating whether this data item has been deleted', `entity_id` int(10) unsigned NOT NULL COMMENT 'The entity id this data is attached to', `revision_id` int(10) unsigned DEFAULT NULL COMMENT 'The entity revision id this data is attached to, or NULL if the entity type is not versioned', `language` varchar(32) NOT NULL DEFAULT '' COMMENT 'The language for this data item.', `delta` int(10) unsigned NOT NULL COMMENT 'The sequence number for this data item, used for multi-value fields', `comment_body_value` longtext, `comment_body_format` varchar(255) DEFAULT NULL, PRIMARY KEY (`entity_type`,`entity_id`,`deleted`,`delta`,`language`), KEY `entity_type` (`entity_type`), KEY `bundle` (`bundle`), KEY `deleted` (`deleted`), KEY `entity_id` (`entity_id`), KEY `revision_id` (`revision_id`), KEY `language` (`language`), KEY `comment_body_format` (`comment_body_format`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Data storage for field 1 (comment_body)'; -- -------------------------------------------------------- -- -- Table structure for table `field_data_field_image` -- DROP TABLE IF EXISTS `field_data_field_image`; CREATE TABLE IF NOT EXISTS `field_data_field_image` ( `entity_type` varchar(128) NOT NULL DEFAULT '' COMMENT 'The entity type this data is attached to', `bundle` varchar(128) NOT NULL DEFAULT '' COMMENT 'The field instance bundle to which this row belongs, used when deleting a field instance', `deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'A boolean indicating whether this data item has been deleted', `entity_id` int(10) unsigned NOT NULL COMMENT 'The entity id this data is attached to', `revision_id` int(10) unsigned DEFAULT NULL COMMENT 'The entity revision id this data is attached to, or NULL if the entity type is not versioned', `language` varchar(32) NOT NULL DEFAULT '' COMMENT 'The language for this data item.', `delta` int(10) unsigned NOT NULL COMMENT 'The sequence number for this data item, used for multi-value fields', `field_image_fid` int(10) unsigned DEFAULT NULL COMMENT 'The file_managed.fid being referenced in this field.', `field_image_alt` varchar(512) DEFAULT NULL COMMENT 'Alternative image text, for the image’s ’alt’ attribute.', `field_image_title` varchar(1024) DEFAULT NULL COMMENT 'Image title text, for the image’s ’title’ attribute.', `field_image_width` int(10) unsigned DEFAULT NULL COMMENT 'The width of the image in pixels.', `field_image_height` int(10) unsigned DEFAULT NULL COMMENT 'The height of the image in pixels.', PRIMARY KEY (`entity_type`,`entity_id`,`deleted`,`delta`,`language`), KEY `entity_type` (`entity_type`), KEY `bundle` (`bundle`), KEY `deleted` (`deleted`), KEY `entity_id` (`entity_id`), KEY `revision_id` (`revision_id`), KEY `language` (`language`), KEY `field_image_fid` (`field_image_fid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Data storage for field 4 (field_image)'; -- -------------------------------------------------------- -- -- Table structure for table `field_data_field_tags` -- DROP TABLE IF EXISTS `field_data_field_tags`; CREATE TABLE IF NOT EXISTS `field_data_field_tags` ( `entity_type` varchar(128) NOT NULL DEFAULT '' COMMENT 'The entity type this data is attached to', `bundle` varchar(128) NOT NULL DEFAULT '' COMMENT 'The field instance bundle to which this row belongs, used when deleting a field instance', `deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'A boolean indicating whether this data item has been deleted', `entity_id` int(10) unsigned NOT NULL COMMENT 'The entity id this data is attached to', `revision_id` int(10) unsigned DEFAULT NULL COMMENT 'The entity revision id this data is attached to, or NULL if the entity type is not versioned', `language` varchar(32) NOT NULL DEFAULT '' COMMENT 'The language for this data item.', `delta` int(10) unsigned NOT NULL COMMENT 'The sequence number for this data item, used for multi-value fields', `field_tags_tid` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`entity_type`,`entity_id`,`deleted`,`delta`,`language`), KEY `entity_type` (`entity_type`), KEY `bundle` (`bundle`), KEY `deleted` (`deleted`), KEY `entity_id` (`entity_id`), KEY `revision_id` (`revision_id`), KEY `language` (`language`), KEY `field_tags_tid` (`field_tags_tid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Data storage for field 3 (field_tags)'; -- -------------------------------------------------------- -- -- Table structure for table `field_revision_body` -- DROP TABLE IF EXISTS `field_revision_body`; CREATE TABLE IF NOT EXISTS `field_revision_body` ( `entity_type` varchar(128) NOT NULL DEFAULT '' COMMENT 'The entity type this data is attached to', `bundle` varchar(128) NOT NULL DEFAULT '' COMMENT 'The field instance bundle to which this row belongs, used when deleting a field instance', `deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'A boolean indicating whether this data item has been deleted', `entity_id` int(10) unsigned NOT NULL COMMENT 'The entity id this data is attached to', `revision_id` int(10) unsigned NOT NULL COMMENT 'The entity revision id this data is attached to', `language` varchar(32) NOT NULL DEFAULT '' COMMENT 'The language for this data item.', `delta` int(10) unsigned NOT NULL COMMENT 'The sequence number for this data item, used for multi-value fields', `body_value` longtext, `body_summary` longtext, `body_format` varchar(255) DEFAULT NULL, PRIMARY KEY (`entity_type`,`entity_id`,`revision_id`,`deleted`,`delta`,`language`), KEY `entity_type` (`entity_type`), KEY `bundle` (`bundle`), KEY `deleted` (`deleted`), KEY `entity_id` (`entity_id`), KEY `revision_id` (`revision_id`), KEY `language` (`language`), KEY `body_format` (`body_format`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Revision archive storage for field 2 (body)'; -- -------------------------------------------------------- -- -- Table structure for table `field_revision_comment_body` -- DROP TABLE IF EXISTS `field_revision_comment_body`; CREATE TABLE IF NOT EXISTS `field_revision_comment_body` ( `entity_type` varchar(128) NOT NULL DEFAULT '' COMMENT 'The entity type this data is attached to', `bundle` varchar(128) NOT NULL DEFAULT '' COMMENT 'The field instance bundle to which this row belongs, used when deleting a field instance', `deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'A boolean indicating whether this data item has been deleted', `entity_id` int(10) unsigned NOT NULL COMMENT 'The entity id this data is attached to', `revision_id` int(10) unsigned NOT NULL COMMENT 'The entity revision id this data is attached to', `language` varchar(32) NOT NULL DEFAULT '' COMMENT 'The language for this data item.', `delta` int(10) unsigned NOT NULL COMMENT 'The sequence number for this data item, used for multi-value fields', `comment_body_value` longtext, `comment_body_format` varchar(255) DEFAULT NULL, PRIMARY KEY (`entity_type`,`entity_id`,`revision_id`,`deleted`,`delta`,`language`), KEY `entity_type` (`entity_type`), KEY `bundle` (`bundle`), KEY `deleted` (`deleted`), KEY `entity_id` (`entity_id`), KEY `revision_id` (`revision_id`), KEY `language` (`language`), KEY `comment_body_format` (`comment_body_format`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Revision archive storage for field 1 (comment_body)'; -- -------------------------------------------------------- -- -- Table structure for table `field_revision_field_image` -- DROP TABLE IF EXISTS `field_revision_field_image`; CREATE TABLE IF NOT EXISTS `field_revision_field_image` ( `entity_type` varchar(128) NOT NULL DEFAULT '' COMMENT 'The entity type this data is attached to', `bundle` varchar(128) NOT NULL DEFAULT '' COMMENT 'The field instance bundle to which this row belongs, used when deleting a field instance', `deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'A boolean indicating whether this data item has been deleted', `entity_id` int(10) unsigned NOT NULL COMMENT 'The entity id this data is attached to', `revision_id` int(10) unsigned NOT NULL COMMENT 'The entity revision id this data is attached to', `language` varchar(32) NOT NULL DEFAULT '' COMMENT 'The language for this data item.', `delta` int(10) unsigned NOT NULL COMMENT 'The sequence number for this data item, used for multi-value fields', `field_image_fid` int(10) unsigned DEFAULT NULL COMMENT 'The file_managed.fid being referenced in this field.', `field_image_alt` varchar(512) DEFAULT NULL COMMENT 'Alternative image text, for the image’s ’alt’ attribute.', `field_image_title` varchar(1024) DEFAULT NULL COMMENT 'Image title text, for the image’s ’title’ attribute.', `field_image_width` int(10) unsigned DEFAULT NULL COMMENT 'The width of the image in pixels.', `field_image_height` int(10) unsigned DEFAULT NULL COMMENT 'The height of the image in pixels.', PRIMARY KEY (`entity_type`,`entity_id`,`revision_id`,`deleted`,`delta`,`language`), KEY `entity_type` (`entity_type`), KEY `bundle` (`bundle`), KEY `deleted` (`deleted`), KEY `entity_id` (`entity_id`), KEY `revision_id` (`revision_id`), KEY `language` (`language`), KEY `field_image_fid` (`field_image_fid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Revision archive storage for field 4 (field_image)'; -- -------------------------------------------------------- -- -- Table structure for table `field_revision_field_tags` -- DROP TABLE IF EXISTS `field_revision_field_tags`; CREATE TABLE IF NOT EXISTS `field_revision_field_tags` ( `entity_type` varchar(128) NOT NULL DEFAULT '' COMMENT 'The entity type this data is attached to', `bundle` varchar(128) NOT NULL DEFAULT '' COMMENT 'The field instance bundle to which this row belongs, used when deleting a field instance', `deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'A boolean indicating whether this data item has been deleted', `entity_id` int(10) unsigned NOT NULL COMMENT 'The entity id this data is attached to', `revision_id` int(10) unsigned NOT NULL COMMENT 'The entity revision id this data is attached to', `language` varchar(32) NOT NULL DEFAULT '' COMMENT 'The language for this data item.', `delta` int(10) unsigned NOT NULL COMMENT 'The sequence number for this data item, used for multi-value fields', `field_tags_tid` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`entity_type`,`entity_id`,`revision_id`,`deleted`,`delta`,`language`), KEY `entity_type` (`entity_type`), KEY `bundle` (`bundle`), KEY `deleted` (`deleted`), KEY `entity_id` (`entity_id`), KEY `revision_id` (`revision_id`), KEY `language` (`language`), KEY `field_tags_tid` (`field_tags_tid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Revision archive storage for field 3 (field_tags)'; -- -------------------------------------------------------- -- -- Table structure for table `file_display` -- DROP TABLE IF EXISTS `file_display`; CREATE TABLE IF NOT EXISTS `file_display` ( `name` varchar(255) NOT NULL COMMENT 'A combined string (FILE_TYPE__VIEW_MODE__FILE_FORMATTER) identifying a file display configuration. For integration with CTools Exportables, stored as a single string rather than as a compound primary key.', `weight` int(11) NOT NULL DEFAULT '0' COMMENT 'Weight of formatter within the display chain for the associated file type and view mode. A file is rendered using the lowest weighted enabled display configuration that matches the file type and view mode and that is capable of displaying the file.', `status` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'The status of the display. (1 = enabled, 0 = disabled)', `settings` longblob COMMENT 'A serialized array of name value pairs that store the formatter settings for the display.', PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores configuration options for file displays.'; -- -------------------------------------------------------- -- -- Table structure for table `file_managed` -- DROP TABLE IF EXISTS `file_managed`; CREATE TABLE IF NOT EXISTS `file_managed` ( `fid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'File ID.', `uid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The users.uid of the user who is associated with the file.', `filename` varchar(255) NOT NULL DEFAULT '' COMMENT 'Name of the file with no path components. This may differ from the basename of the URI if the file is renamed to avoid overwriting an existing file.', `uri` varchar(255) NOT NULL DEFAULT '' COMMENT 'The URI to access the file (either local or remote).', `filemime` varchar(255) NOT NULL DEFAULT '' COMMENT 'The file’s MIME type.', `filesize` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The size of the file in bytes.', `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'A field indicating the status of the file. Two status are defined in core: temporary (0) and permanent (1). Temporary files older than DRUPAL_MAXIMUM_TEMP_FILE_AGE will be removed during a cron run.', `timestamp` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'UNIX timestamp for when the file was added.', `type` varchar(50) NOT NULL DEFAULT 'undefined' COMMENT 'The type of this file.', PRIMARY KEY (`fid`), UNIQUE KEY `uri` (`uri`), KEY `uid` (`uid`), KEY `status` (`status`), KEY `timestamp` (`timestamp`), KEY `file_type` (`type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores information for uploaded files.' AUTO_INCREMENT=20 ; -- -------------------------------------------------------- -- -- Table structure for table `file_usage` -- DROP TABLE IF EXISTS `file_usage`; CREATE TABLE IF NOT EXISTS `file_usage` ( `fid` int(10) unsigned NOT NULL COMMENT 'File ID.', `module` varchar(255) NOT NULL DEFAULT '' COMMENT 'The name of the module that is using the file.', `type` varchar(64) NOT NULL DEFAULT '' COMMENT 'The name of the object type in which the file is used.', `id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The primary key of the object using the file.', `count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The number of times this file is used by this object.', PRIMARY KEY (`fid`,`type`,`id`,`module`), KEY `type_id` (`type`,`id`), KEY `fid_count` (`fid`,`count`), KEY `fid_module` (`fid`,`module`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Track where a file is used.'; -- -------------------------------------------------------- -- -- Table structure for table `filter` -- DROP TABLE IF EXISTS `filter`; CREATE TABLE IF NOT EXISTS `filter` ( `format` varchar(255) NOT NULL COMMENT 'Foreign key: The filter_format.format to which this filter is assigned.', `module` varchar(64) NOT NULL DEFAULT '' COMMENT 'The origin module of the filter.', `name` varchar(32) NOT NULL DEFAULT '' COMMENT 'Name of the filter being referenced.', `weight` int(11) NOT NULL DEFAULT '0' COMMENT 'Weight of filter within format.', `status` int(11) NOT NULL DEFAULT '0' COMMENT 'Filter enabled status. (1 = enabled, 0 = disabled)', `settings` longblob COMMENT 'A serialized array of name value pairs that store the filter settings for the specific format.', PRIMARY KEY (`format`,`name`), KEY `list` (`weight`,`module`,`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Table that maps filters (HTML corrector) to text formats ...'; -- -------------------------------------------------------- -- -- Table structure for table `filter_format` -- DROP TABLE IF EXISTS `filter_format`; CREATE TABLE IF NOT EXISTS `filter_format` ( `format` varchar(255) NOT NULL COMMENT 'Primary Key: Unique machine name of the format.', `name` varchar(255) NOT NULL DEFAULT '' COMMENT 'Name of the text format (Filtered HTML).', `cache` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Flag to indicate whether format is cacheable. (1 = cacheable, 0 = not cacheable)', `status` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT 'The status of the text format. (1 = enabled, 0 = disabled)', `weight` int(11) NOT NULL DEFAULT '0' COMMENT 'Weight of text format to use when listing.', PRIMARY KEY (`format`), UNIQUE KEY `name` (`name`), KEY `status_weight` (`status`,`weight`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores text formats: custom groupings of filters, such as...'; -- -------------------------------------------------------- -- -- Table structure for table `flood` -- DROP TABLE IF EXISTS `flood`; CREATE TABLE IF NOT EXISTS `flood` ( `fid` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Unique flood event ID.', `event` varchar(64) NOT NULL DEFAULT '' COMMENT 'Name of event (e.g. contact).', `identifier` varchar(128) NOT NULL DEFAULT '' COMMENT 'Identifier of the visitor, such as an IP address or hostname.', `timestamp` int(11) NOT NULL DEFAULT '0' COMMENT 'Timestamp of the event.', `expiration` int(11) NOT NULL DEFAULT '0' COMMENT 'Expiration timestamp. Expired events are purged on cron run.', PRIMARY KEY (`fid`), KEY `allow` (`event`,`identifier`,`timestamp`), KEY `purge` (`expiration`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Flood controls the threshold of events, such as the...' AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `history` -- DROP TABLE IF EXISTS `history`; CREATE TABLE IF NOT EXISTS `history` ( `uid` int(11) NOT NULL DEFAULT '0' COMMENT 'The users.uid that read the node nid.', `nid` int(11) NOT NULL DEFAULT '0' COMMENT 'The node.nid that was read.', `timestamp` int(11) NOT NULL DEFAULT '0' COMMENT 'The Unix timestamp at which the read occurred.', PRIMARY KEY (`uid`,`nid`), KEY `nid` (`nid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='A record of which users have read which nodes.'; -- -------------------------------------------------------- -- -- Table structure for table `image_effects` -- DROP TABLE IF EXISTS `image_effects`; CREATE TABLE IF NOT EXISTS `image_effects` ( `ieid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'The primary identifier for an image effect.', `isid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The image_styles.isid for an image style.', `weight` int(11) NOT NULL DEFAULT '0' COMMENT 'The weight of the effect in the style.', `name` varchar(255) NOT NULL COMMENT 'The unique name of the effect to be executed.', `data` longblob NOT NULL COMMENT 'The configuration data for the effect.', PRIMARY KEY (`ieid`), KEY `isid` (`isid`), KEY `weight` (`weight`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores configuration options for image effects.' AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `image_styles` -- DROP TABLE IF EXISTS `image_styles`; CREATE TABLE IF NOT EXISTS `image_styles` ( `isid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'The primary identifier for an image style.', `name` varchar(255) NOT NULL COMMENT 'The style name.', PRIMARY KEY (`isid`), UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores configuration options for image styles.' AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `media_filter_usage` -- DROP TABLE IF EXISTS `media_filter_usage`; CREATE TABLE IF NOT EXISTS `media_filter_usage` ( `fid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The media file_managed.fid.', `timestamp` int(11) NOT NULL DEFAULT '0' COMMENT 'The timestamp the fid was last recorded by media_filter()', PRIMARY KEY (`fid`), KEY `timestamp` (`timestamp`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores fids that have been included in the media tag in...'; -- -------------------------------------------------------- -- -- Table structure for table `media_list_type` -- DROP TABLE IF EXISTS `media_list_type`; CREATE TABLE IF NOT EXISTS `media_list_type` ( `uid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The user.uid of the user.', `type` varchar(32) NOT NULL DEFAULT '' COMMENT 'The type of display (table or images).', PRIMARY KEY (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores the user preference for whether to list as table...'; -- -------------------------------------------------------- -- -- Table structure for table `media_type` -- DROP TABLE IF EXISTS `media_type`; CREATE TABLE IF NOT EXISTS `media_type` ( `name` varchar(255) NOT NULL DEFAULT '' COMMENT 'The machine name of the media type.', `label` varchar(255) NOT NULL DEFAULT '' COMMENT 'The label of the media type.', `base` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'If this is a base type (i.e. cannot be deleted)', `weight` int(11) NOT NULL DEFAULT '0' COMMENT 'Weight of media type. Determines which one wins when claiming a piece of media (first wins)', `type_callback` varchar(255) DEFAULT '' COMMENT 'Callback to determine if provided media is of this type.', `type_callback_args` longtext COMMENT 'A serialized array of name value pairs that will be passed to the callback function', PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores the settings for media types.'; -- -------------------------------------------------------- -- -- Table structure for table `menu_custom` -- DROP TABLE IF EXISTS `menu_custom`; CREATE TABLE IF NOT EXISTS `menu_custom` ( `menu_name` varchar(32) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique key for menu. This is used as a block delta so length is 32.', `title` varchar(255) NOT NULL DEFAULT '' COMMENT 'Menu title; displayed at top of block.', `description` text COMMENT 'Menu description.', PRIMARY KEY (`menu_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Holds definitions for top-level custom menus (for example...'; -- -------------------------------------------------------- -- -- Table structure for table `menu_links` -- DROP TABLE IF EXISTS `menu_links`; CREATE TABLE IF NOT EXISTS `menu_links` ( `menu_name` varchar(32) NOT NULL DEFAULT '' COMMENT 'The menu name. All links with the same menu name (such as ’navigation’) are part of the same menu.', `mlid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'The menu link ID (mlid) is the integer primary key.', `plid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The parent link ID (plid) is the mlid of the link above in the hierarchy, or zero if the link is at the top level in its menu.', `link_path` varchar(255) NOT NULL DEFAULT '' COMMENT 'The Drupal path or external path this link points to.', `router_path` varchar(255) NOT NULL DEFAULT '' COMMENT 'For links corresponding to a Drupal path (external = 0), this connects the link to a menu_router.path for joins.', `link_title` varchar(255) NOT NULL DEFAULT '' COMMENT 'The text displayed for the link, which may be modified by a title callback stored in menu_router.', `options` blob COMMENT 'A serialized array of options to be passed to the url() or l() function, such as a query string or HTML attributes.', `module` varchar(255) NOT NULL DEFAULT 'system' COMMENT 'The name of the module that generated this link.', `hidden` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag for whether the link should be rendered in menus. (1 = a disabled menu item that may be shown on admin screens, -1 = a menu callback, 0 = a normal, visible link)', `external` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate if the link points to a full URL starting with a protocol, like http:// (1 = external, 0 = internal).', `has_children` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Flag indicating whether any links have this link as a parent (1 = children exist, 0 = no children).', `expanded` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Flag for whether this link should be rendered as expanded in menus - expanded links always have their child links displayed, instead of only when the link is in the active trail (1 = expanded, 0 = not expanded)', `weight` int(11) NOT NULL DEFAULT '0' COMMENT 'Link weight among links in the same menu at the same depth.', `depth` smallint(6) NOT NULL DEFAULT '0' COMMENT 'The depth relative to the top level. A link with plid == 0 will have depth == 1.', `customized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate that the user has manually created or edited the link (1 = customized, 0 = not customized).', `p1` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The first mlid in the materialized path. If N = depth, then pN must equal the mlid. If depth > 1 then p(N-1) must equal the plid. All pX where X > depth must equal zero. The columns p1 .. p9 are also called the parents.', `p2` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The second mlid in the materialized path. See p1.', `p3` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The third mlid in the materialized path. See p1.', `p4` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The fourth mlid in the materialized path. See p1.', `p5` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The fifth mlid in the materialized path. See p1.', `p6` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The sixth mlid in the materialized path. See p1.', `p7` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The seventh mlid in the materialized path. See p1.', `p8` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The eighth mlid in the materialized path. See p1.', `p9` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The ninth mlid in the materialized path. See p1.', `updated` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Flag that indicates that this link was generated during the update from Drupal 5.', PRIMARY KEY (`mlid`), KEY `path_menu` (`link_path`(128),`menu_name`), KEY `menu_plid_expand_child` (`menu_name`,`plid`,`expanded`,`has_children`), KEY `menu_parents` (`menu_name`,`p1`,`p2`,`p3`,`p4`,`p5`,`p6`,`p7`,`p8`,`p9`), KEY `router_path` (`router_path`(128)) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Contains the individual links within a menu.' AUTO_INCREMENT=548 ; -- -------------------------------------------------------- -- -- Table structure for table `menu_router` -- DROP TABLE IF EXISTS `menu_router`; CREATE TABLE IF NOT EXISTS `menu_router` ( `path` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: the Drupal path this entry describes', `load_functions` blob NOT NULL COMMENT 'A serialized array of function names (like node_load) to be called to load an object corresponding to a part of the current path.', `to_arg_functions` blob NOT NULL COMMENT 'A serialized array of function names (like user_uid_optional_to_arg) to be called to replace a part of the router path with another string.', `access_callback` varchar(255) NOT NULL DEFAULT '' COMMENT 'The callback which determines the access to this router path. Defaults to user_access.', `access_arguments` blob COMMENT 'A serialized array of arguments for the access callback.', `page_callback` varchar(255) NOT NULL DEFAULT '' COMMENT 'The name of the function that renders the page.', `page_arguments` blob COMMENT 'A serialized array of arguments for the page callback.', `delivery_callback` varchar(255) NOT NULL DEFAULT '' COMMENT 'The name of the function that sends the result of the page_callback function to the browser.', `fit` int(11) NOT NULL DEFAULT '0' COMMENT 'A numeric representation of how specific the path is.', `number_parts` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Number of parts in this router path.', `context` int(11) NOT NULL DEFAULT '0' COMMENT 'Only for local tasks (tabs) - the context of a local task to control its placement.', `tab_parent` varchar(255) NOT NULL DEFAULT '' COMMENT 'Only for local tasks (tabs) - the router path of the parent page (which may also be a local task).', `tab_root` varchar(255) NOT NULL DEFAULT '' COMMENT 'Router path of the closest non-tab parent page. For pages that are not local tasks, this will be the same as the path.', `title` varchar(255) NOT NULL DEFAULT '' COMMENT 'The title for the current page, or the title for the tab if this is a local task.', `title_callback` varchar(255) NOT NULL DEFAULT '' COMMENT 'A function which will alter the title. Defaults to t()', `title_arguments` varchar(255) NOT NULL DEFAULT '' COMMENT 'A serialized array of arguments for the title callback. If empty, the title will be used as the sole argument for the title callback.', `theme_callback` varchar(255) NOT NULL DEFAULT '' COMMENT 'A function which returns the name of the theme that will be used to render this page. If left empty, the default theme will be used.', `theme_arguments` varchar(255) NOT NULL DEFAULT '' COMMENT 'A serialized array of arguments for the theme callback.', `type` int(11) NOT NULL DEFAULT '0' COMMENT 'Numeric representation of the type of the menu item, like MENU_LOCAL_TASK.', `description` text NOT NULL COMMENT 'A description of this item.', `position` varchar(255) NOT NULL DEFAULT '' COMMENT 'The position of the block (left or right) on the system administration page for this item.', `weight` int(11) NOT NULL DEFAULT '0' COMMENT 'Weight of the element. Lighter weights are higher up, heavier weights go down.', `include_file` mediumtext COMMENT 'The file to include for this element, usually the page callback function lives in this file.', PRIMARY KEY (`path`), KEY `fit` (`fit`), KEY `tab_parent` (`tab_parent`(64),`weight`,`title`), KEY `tab_root_weight_title` (`tab_root`(64),`weight`,`title`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Maps paths to various callbacks (access, page and title)'; -- -------------------------------------------------------- -- -- Table structure for table `node` -- DROP TABLE IF EXISTS `node`; CREATE TABLE IF NOT EXISTS `node` ( `nid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'The primary identifier for a node.', `vid` int(10) unsigned DEFAULT NULL COMMENT 'The current node_revision.vid version identifier.', `type` varchar(32) NOT NULL DEFAULT '' COMMENT 'The node_type.type of this node.', `language` varchar(12) NOT NULL DEFAULT '' COMMENT 'The languages.language of this node.', `title` varchar(255) NOT NULL DEFAULT '' COMMENT 'The title of this node, always treated as non-markup plain text.', `uid` int(11) NOT NULL DEFAULT '0' COMMENT 'The users.uid that owns this node; initially, this is the user that created it.', `status` int(11) NOT NULL DEFAULT '1' COMMENT 'Boolean indicating whether the node is published (visible to non-administrators).', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'The Unix timestamp when the node was created.', `changed` int(11) NOT NULL DEFAULT '0' COMMENT 'The Unix timestamp when the node was most recently saved.', `comment` int(11) NOT NULL DEFAULT '0' COMMENT 'Whether comments are allowed on this node: 0 = no, 1 = closed (read only), 2 = open (read/write).', `promote` int(11) NOT NULL DEFAULT '0' COMMENT 'Boolean indicating whether the node should be displayed on the front page.', `sticky` int(11) NOT NULL DEFAULT '0' COMMENT 'Boolean indicating whether the node should be displayed at the top of lists in which it appears.', `tnid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The translation set id for this node, which equals the node id of the source post in each set.', `translate` int(11) NOT NULL DEFAULT '0' COMMENT 'A boolean indicating whether this translation page needs to be updated.', PRIMARY KEY (`nid`), UNIQUE KEY `vid` (`vid`), KEY `node_changed` (`changed`), KEY `node_created` (`created`), KEY `node_frontpage` (`promote`,`status`,`sticky`,`created`), KEY `node_status_type` (`status`,`type`,`nid`), KEY `node_title_type` (`title`,`type`(4)), KEY `node_type` (`type`(4)), KEY `uid` (`uid`), KEY `tnid` (`tnid`), KEY `translate` (`translate`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='The base table for nodes.' AUTO_INCREMENT=17 ; -- -------------------------------------------------------- -- -- Table structure for table `node_access` -- DROP TABLE IF EXISTS `node_access`; CREATE TABLE IF NOT EXISTS `node_access` ( `nid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The node.nid this record affects.', `gid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The grant ID a user must possess in the specified realm to gain this row’s privileges on the node.', `realm` varchar(255) NOT NULL DEFAULT '' COMMENT 'The realm in which the user must possess the grant ID. Each node access node can define one or more realms.', `grant_view` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Boolean indicating whether a user with the realm/grant pair can view this node.', `grant_update` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Boolean indicating whether a user with the realm/grant pair can edit this node.', `grant_delete` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Boolean indicating whether a user with the realm/grant pair can delete this node.', PRIMARY KEY (`nid`,`gid`,`realm`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Identifies which realm/grant pairs a user must possess in...'; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;