schema()->createTable('accesslog', array( 'fields' => array( 'aid' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', ), 'sid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'title' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), 'path' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), 'url' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), 'hostname' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '128', ), 'uid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'default' => '0', 'unsigned' => TRUE, ), 'timer' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', 'unsigned' => TRUE, ), 'timestamp' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', 'unsigned' => TRUE, ), ), 'primary key' => array( 'aid', ), 'mysql_character_set' => 'utf8', )); $connection->insert('accesslog') ->fields(array( 'aid', 'sid', 'title', 'path', 'url', 'hostname', 'uid', 'timer', 'timestamp', )) ->values(array( 'aid' => '92', 'sid' => 'a8ksMY2GH4yXK0-PsLNAlCv4zNnapnyCpx4lryZDEfk', 'title' => '', 'path' => 'node', 'url' => 'http://drupal7.local/?q=user/register', 'hostname' => '127.0.0.1', 'uid' => '0', 'timer' => '655', 'timestamp' => '1444944970', )) ->values(array( 'aid' => '93', 'sid' => 'e89G2redQpxRTIndbV3qH8snVR621DqSQ2s4vciJedA', 'title' => '', 'path' => 'node', 'url' => 'http://drupal7.local/', 'hostname' => '127.0.0.1', 'uid' => '0', 'timer' => '214', 'timestamp' => '1444944974', )) ->values(array( 'aid' => '94', 'sid' => 'KkVxQTCiKqKEGNcRs7GYrmXXbEk4szXCHVTknFkbiG0', 'title' => 'User account', 'path' => 'user/login', 'url' => '', 'hostname' => '127.0.0.1', 'uid' => '0', 'timer' => '259', 'timestamp' => '1444945094', )) ->values(array( 'aid' => '95', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'My account', 'path' => 'user/login', 'url' => 'http://drupal7.local/?q=user/login', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '217', 'timestamp' => '1444945097', )) ->values(array( 'aid' => '96', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'root', 'path' => 'user/1', 'url' => 'http://drupal7.local/?q=user/login', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '211', 'timestamp' => '1444945097', )) ->values(array( 'aid' => '97', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Modules', 'path' => 'admin/modules', 'url' => 'http://drupal7.local/user/1', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '619', 'timestamp' => '1444945104', )) ->values(array( 'aid' => '98', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Configuration', 'path' => 'admin/config', 'url' => 'http://drupal7.local/admin/modules', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '273', 'timestamp' => '1444945114', )) ->values(array( 'aid' => '99', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Languages', 'path' => 'admin/config/regional/language', 'url' => 'http://drupal7.local/admin/config', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '213', 'timestamp' => '1444945121', )) ->values(array( 'aid' => '100', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Languages', 'path' => 'admin/config/regional/language/add', 'url' => 'http://drupal7.local/admin/config/regional/language', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '148', 'timestamp' => '1444945122', )) ->values(array( 'aid' => '101', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Languages', 'path' => 'admin/config/regional/language/add', 'url' => 'http://drupal7.local/admin/config/regional/language/add', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '260', 'timestamp' => '1444945153', )) ->values(array( 'aid' => '102', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Languages', 'path' => 'admin/config/regional/language/add', 'url' => '', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '195', 'timestamp' => '1444945160', )) ->values(array( 'aid' => '103', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Languages', 'path' => 'admin/config/regional/language/add', 'url' => 'http://drupal7.local/?q=admin/config/regional/language/add', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '177', 'timestamp' => '1444945168', )) ->values(array( 'aid' => '104', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Languages', 'path' => 'admin/config/regional/language', 'url' => 'http://drupal7.local/?q=admin/config/regional/language/add', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '145', 'timestamp' => '1444945168', )) ->values(array( 'aid' => '105', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Languages', 'path' => 'admin/config/regional/language', 'url' => '', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '159', 'timestamp' => '1444945175', )) ->values(array( 'aid' => '106', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Languages', 'path' => 'admin/config/regional/language', 'url' => 'http://drupal7.local/?q=admin/config/regional/language', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '152', 'timestamp' => '1444945176', )) ->values(array( 'aid' => '107', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Languages', 'path' => 'admin/config/regional/language', 'url' => 'http://drupal7.local/?q=admin/config/regional/language', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '148', 'timestamp' => '1444945176', )) ->values(array( 'aid' => '108', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Structure', 'path' => 'admin/structure', 'url' => 'http://drupal7.local/admin/config/regional/language', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '156', 'timestamp' => '1444945206', )) ->values(array( 'aid' => '109', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Content types', 'path' => 'admin/structure/types', 'url' => 'http://drupal7.local/admin/structure', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '154', 'timestamp' => '1444945208', )) ->values(array( 'aid' => '110', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Blog entry', 'path' => 'admin/structure/types/manage/blog', 'url' => 'http://drupal7.local/admin/structure/types', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '203', 'timestamp' => '1444945211', )) ->values(array( 'aid' => '111', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Parent menu items', 'path' => 'admin/structure/menu/parents', 'url' => 'http://drupal7.local/admin/structure/types/manage/blog', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '211', 'timestamp' => '1444945211', )) ->values(array( 'aid' => '112', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Blog entry', 'path' => 'admin/structure/types/manage/blog', 'url' => 'http://drupal7.local/admin/structure/types/manage/blog', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '224', 'timestamp' => '1444945236', )) ->values(array( 'aid' => '113', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Parent menu items', 'path' => 'admin/structure/menu/parents', 'url' => 'http://drupal7.local/admin/structure/types/manage/blog', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '165', 'timestamp' => '1444945237', )) ->values(array( 'aid' => '114', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Blog entry', 'path' => 'admin/structure/types/manage/blog', 'url' => '', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '155', 'timestamp' => '1444945242', )) ->values(array( 'aid' => '115', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Parent menu items', 'path' => 'admin/structure/menu/parents', 'url' => 'http://drupal7.local/?q=admin/structure/types/manage/blog', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '217', 'timestamp' => '1444945242', )) ->values(array( 'aid' => '116', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Blog entry', 'path' => 'admin/structure/types/manage/blog', 'url' => 'http://drupal7.local/?q=admin/structure/types/manage/blog', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '667', 'timestamp' => '1444945246', )) ->values(array( 'aid' => '117', 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA', 'title' => 'Content types', 'path' => 'admin/structure/types', 'url' => 'http://drupal7.local/?q=admin/structure/types/manage/blog', 'hostname' => '127.0.0.1', 'uid' => '1', 'timer' => '149', 'timestamp' => '1444945246', )) ->execute(); $connection->schema()->createTable('actions', array( 'fields' => array( 'aid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '0', ), 'type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'callback' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'parameters' => array( 'type' => 'blob', 'not null' => TRUE, 'size' => 'normal', ), 'label' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '0', ), ), 'primary key' => array( 'aid', ), 'mysql_character_set' => 'utf8', )); $connection->insert('actions') ->fields(array( 'aid', 'type', 'callback', 'parameters', 'label', )) ->values(array( 'aid' => '2', 'type' => 'comment', 'callback' => 'comment_unpublish_by_keyword_action', 'parameters' => 'a:1:{s:8:"keywords";a:1:{i:0;s:6:"drupal";}}', 'label' => 'Unpublish comment containing keyword(s)', )) ->values(array( 'aid' => '3', 'type' => 'node', 'callback' => 'node_assign_owner_action', 'parameters' => 'a:1:{s:9:"owner_uid";s:1:"2";}', 'label' => 'Change the author of content', )) ->values(array( 'aid' => '4', 'type' => 'node', 'callback' => 'node_unpublish_by_keyword_action', 'parameters' => 'a:1:{s:8:"keywords";a:1:{i:0;s:6:"drupal";}}', 'label' => 'Unpublish content containing keyword(s)', )) ->values(array( 'aid' => '5', 'type' => 'system', 'callback' => 'system_message_action', 'parameters' => 'a:1:{s:7:"message";s:21:"Drupal migration test";}', 'label' => 'Display a message to the user', )) ->values(array( 'aid' => '6', 'type' => 'system', 'callback' => 'system_send_email_action', 'parameters' => 'a:3:{s:9:"recipient";s:16:"test@example.com";s:7:"subject";s:21:"Drupal migration test";s:7:"message";s:21:"Drupal migration test";}', 'label' => 'Send e-mail', )) ->values(array( 'aid' => '7', 'type' => 'system', 'callback' => 'system_goto_action', 'parameters' => 'a:1:{s:3:"url";s:22:"https://www.drupal.org";}', 'label' => 'Redirect to URL', )) ->values(array( 'aid' => 'comment_publish_action', 'type' => 'comment', 'callback' => 'comment_publish_action', 'parameters' => '', 'label' => 'Publish comment', )) ->values(array( 'aid' => 'comment_save_action', 'type' => 'comment', 'callback' => 'comment_save_action', 'parameters' => '', 'label' => 'Save comment', )) ->values(array( 'aid' => 'comment_unpublish_action', 'type' => 'comment', 'callback' => 'comment_unpublish_action', 'parameters' => '', 'label' => 'Unpublish comment', )) ->values(array( 'aid' => 'node_make_sticky_action', 'type' => 'node', 'callback' => 'node_make_sticky_action', 'parameters' => '', 'label' => 'Make content sticky', )) ->values(array( 'aid' => 'node_make_unsticky_action', 'type' => 'node', 'callback' => 'node_make_unsticky_action', 'parameters' => '', 'label' => 'Make content unsticky', )) ->values(array( 'aid' => 'node_promote_action', 'type' => 'node', 'callback' => 'node_promote_action', 'parameters' => '', 'label' => 'Promote content to front page', )) ->values(array( 'aid' => 'node_publish_action', 'type' => 'node', 'callback' => 'node_publish_action', 'parameters' => '', 'label' => 'Publish content', )) ->values(array( 'aid' => 'node_save_action', 'type' => 'node', 'callback' => 'node_save_action', 'parameters' => '', 'label' => 'Save content', )) ->values(array( 'aid' => 'node_unpromote_action', 'type' => 'node', 'callback' => 'node_unpromote_action', 'parameters' => '', 'label' => 'Remove content from front page', )) ->values(array( 'aid' => 'node_unpublish_action', 'type' => 'node', 'callback' => 'node_unpublish_action', 'parameters' => '', 'label' => 'Unpublish content', )) ->values(array( 'aid' => 'system_block_ip_action', 'type' => 'user', 'callback' => 'system_block_ip_action', 'parameters' => '', 'label' => 'Ban IP address of current user', )) ->values(array( 'aid' => 'user_block_user_action', 'type' => 'user', 'callback' => 'user_block_user_action', 'parameters' => '', 'label' => 'Block current user', )) ->execute(); $connection->schema()->createTable('aggregator_category', array( 'fields' => array( 'cid' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', ), 'title' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'description' => array( 'type' => 'text', 'not null' => TRUE, 'size' => 'normal', ), 'block' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('aggregator_category_feed', array( 'fields' => array( 'fid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'cid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'fid', 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('aggregator_category_item', array( 'fields' => array( 'iid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'cid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'iid', 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('aggregator_feed', array( 'fields' => array( 'fid' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', ), 'title' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'url' => array( 'type' => 'text', 'not null' => TRUE, 'size' => 'normal', ), 'refresh' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'checked' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'queued' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'link' => array( 'type' => 'text', 'not null' => TRUE, 'size' => 'normal', ), 'description' => array( 'type' => 'text', 'not null' => TRUE, 'size' => 'normal', ), 'image' => array( 'type' => 'text', 'not null' => TRUE, 'size' => 'normal', ), 'hash' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', 'default' => '', ), 'etag' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'modified' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'block' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'fid', ), 'mysql_character_set' => 'utf8', )); $connection->insert('aggregator_feed') ->fields(array( 'fid', 'title', 'url', 'refresh', 'checked', 'queued', 'link', 'description', 'image', 'hash', 'etag', 'modified', 'block', )) ->values(array( 'fid' => '1', 'title' => 'Know Your Meme', 'url' => 'http://knowyourmeme.com/newsfeed.rss', 'refresh' => '900', 'checked' => '1444944970', 'queued' => '0', 'link' => 'http://knowyourmeme.com', 'description' => 'New items added to the News Feed', 'image' => '', 'hash' => 'e6295b3ba81b24db62b41515494a7e9fb87979ff45045a1c946de5fa5abc9c52', 'etag' => '"bad5e20e4993f31c869cffd22f1645b9"', 'modified' => '0', 'block' => '5', )) ->execute(); $connection->schema()->createTable('aggregator_item', array( 'fields' => array( 'iid' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', ), 'fid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'title' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'link' => array( 'type' => 'text', 'not null' => TRUE, 'size' => 'normal', ), 'author' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'description' => array( 'type' => 'text', 'not null' => TRUE, 'size' => 'normal', ), 'timestamp' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', ), 'guid' => array( 'type' => 'text', 'not null' => TRUE, 'size' => 'normal', ), ), 'primary key' => array( 'iid', ), 'mysql_character_set' => 'utf8', )); $connection->insert('aggregator_item') ->fields(array( 'iid', 'fid', 'title', 'link', 'author', 'description', 'timestamp', 'guid', )) ->values(array( 'iid' => '2', 'fid' => '1', 'title' => 'Fido, Take the Wheel', 'link' => 'http://knowyourmeme.com/videos/127817-dogs', 'author' => '', 'description' => 'D70olsu

When little Timmy had too much to drink, the family dog was forced into the role of designated driver.

', 'timestamp' => '1444860534', 'guid' => 'post:18816', )) ->values(array( 'iid' => '3', 'fid' => '1', 'title' => 'One Punch Man Anime Premieres in Japan', 'link' => 'http://knowyourmeme.com/memes/subcultures/one-punch-man', 'author' => '', 'description' => '49b

The first two episodes of the much anticipated anime adaptation of One Punch Man were finally aired in Japan this month.

', 'timestamp' => '1444863415', 'guid' => 'post:18819', )) ->values(array( 'iid' => '4', 'fid' => '1', 'title' => '’Tis the Season to Be Forever Alone', 'link' => 'http://knowyourmeme.com/photos/1029494-forever-alone', 'author' => '', 'description' => '336', 'timestamp' => '1444864413', 'guid' => 'post:18821', )) ->values(array( 'iid' => '5', 'fid' => '1', 'title' => 'Legend of Zelda: Symphony of The Goddesses', 'link' => 'http://knowyourmeme.com/videos/128124-the-legend-of-zelda', 'author' => '', 'description' => '1a9

Rejoice, nerds! This is the music that awaits you in heaven. Check out The Legend of Zelda: Symphony of the Goddesses’ performance on the Late Show with Stephen Colbert.

', 'timestamp' => '1444934645', 'guid' => 'post:18824', )) ->values(array( 'iid' => '6', 'fid' => '1', 'title' => '“Your Mom” Jokes', 'link' => 'http://knowyourmeme.com/memes/your-mom-jokes', 'author' => '', 'description' => '3bc

The earliest recorded example of a maternal insult joke comes from an ancient Babylonian tablet dated back to 1,500 BCE, which contains an incomplete riddle about a promiscuous mother.

', 'timestamp' => '1444928716', 'guid' => 'post:18823', )) ->values(array( 'iid' => '7', 'fid' => '1', 'title' => 'DBZ Voice Actors Dub Over Classic Movies', 'link' => 'http://knowyourmeme.com/videos/128169-dragon-ball', 'author' => '', 'description' => 'D8c

Some of the most recognizable voices behind the characters of Dragon Ball Z gather at The Nerdist studio for a parody dub of famous film scenes from Ace Ventura and Independence Day to Zoolander and Meet the Parents.

', 'timestamp' => '1444939569', 'guid' => 'post:18826', )) ->values(array( 'iid' => '8', 'fid' => '1', 'title' => 'Happy Birthday, Cure-chan!', 'link' => 'http://knowyourmeme.com/memes/cure-chan', 'author' => '', 'description' => 'E8c

The archnemesis of Ebola-chan was born one year ago this week.

', 'timestamp' => '1444938083', 'guid' => 'post:18825', )) ->values(array( 'iid' => '9', 'fid' => '1', 'title' => 'That Face When Retweets Ain’t Coming In', 'link' => 'http://knowyourmeme.com/photos/1029430-my-face-when', 'author' => '', 'description' => 'C51', 'timestamp' => '1444940736', 'guid' => 'post:18827', )) ->values(array( 'iid' => '10', 'fid' => '1', 'title' => 'Back to the Future Stars Talk Film’s Predictions', 'link' => 'http://knowyourmeme.com/videos/128173-back-to-the-future-day', 'author' => '', 'description' => '944

In honor of next week being the real Back to the Future Day, Christopher Lloyd and Michael J. Fox recently got together (at the prompting of Toyota) to discuss which of the film’s predictions have come to pass in 2015.

', 'timestamp' => '1444943309', 'guid' => 'post:18828', )) ->values(array( 'iid' => '11', 'fid' => '1', 'title' => 'Chad Says Beta Things', 'link' => 'http://knowyourmeme.com/memes/chad-says-beta-things', 'author' => '', 'description' => '937

This series of awkward Tinder messages sent by a fake Chad Tinder profile has caused a recent surge in popularity of the corn emoji.

', 'timestamp' => '1444944831', 'guid' => 'post:18829', )) ->execute(); $connection->schema()->createTable('authmap', array( 'fields' => array( 'aid' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'uid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'authname' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'module' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), ), 'primary key' => array( 'aid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('batch', array( 'fields' => array( 'bid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'token' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', ), 'timestamp' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', ), 'batch' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'bid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('block', array( 'fields' => array( 'bid' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', ), 'module' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', 'default' => '', ), 'delta' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '0', ), 'theme' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', 'default' => '', ), 'status' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'weight' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'region' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', 'default' => '', ), 'custom' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'visibility' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'pages' => array( 'type' => 'text', 'not null' => TRUE, 'size' => 'normal', ), 'title' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'cache' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '1', ), ), 'primary key' => array( 'bid', ), 'mysql_character_set' => 'utf8', )); $connection->insert('block') ->fields(array( 'bid', 'module', 'delta', 'theme', 'status', 'weight', 'region', 'custom', 'visibility', 'pages', 'title', 'cache', )) ->values(array( 'bid' => '1', 'module' => 'system', 'delta' => 'main', 'theme' => 'bartik', 'status' => '1', 'weight' => '0', 'region' => 'content', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '2', 'module' => 'search', 'delta' => 'form', 'theme' => 'bartik', 'status' => '1', 'weight' => '-1', 'region' => 'sidebar_first', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '3', 'module' => 'node', 'delta' => 'recent', 'theme' => 'seven', 'status' => '0', 'weight' => '10', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '4', 'module' => 'user', 'delta' => 'login', 'theme' => 'bartik', 'status' => '1', 'weight' => '0', 'region' => 'sidebar_first', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '5', 'module' => 'system', 'delta' => 'navigation', 'theme' => 'bartik', 'status' => '1', 'weight' => '0', 'region' => 'sidebar_first', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '6', 'module' => 'system', 'delta' => 'powered-by', 'theme' => 'bartik', 'status' => '1', 'weight' => '10', 'region' => 'footer', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '7', 'module' => 'system', 'delta' => 'help', 'theme' => 'bartik', 'status' => '1', 'weight' => '0', 'region' => 'help', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '8', 'module' => 'system', 'delta' => 'main', 'theme' => 'seven', 'status' => '1', 'weight' => '0', 'region' => 'content', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '9', 'module' => 'system', 'delta' => 'help', 'theme' => 'seven', 'status' => '1', 'weight' => '0', 'region' => 'help', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '10', 'module' => 'user', 'delta' => 'login', 'theme' => 'seven', 'status' => '1', 'weight' => '10', 'region' => 'content', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '11', 'module' => 'user', 'delta' => 'new', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '12', 'module' => 'search', 'delta' => 'form', 'theme' => 'seven', 'status' => '0', 'weight' => '-10', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '13', 'module' => 'comment', 'delta' => 'recent', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '1', )) ->values(array( 'bid' => '14', 'module' => 'node', 'delta' => 'syndicate', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '15', 'module' => 'node', 'delta' => 'recent', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '1', )) ->values(array( 'bid' => '16', 'module' => 'shortcut', 'delta' => 'shortcuts', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '17', 'module' => 'system', 'delta' => 'management', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '18', 'module' => 'system', 'delta' => 'user-menu', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '19', 'module' => 'system', 'delta' => 'main-menu', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '20', 'module' => 'user', 'delta' => 'new', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '1', )) ->values(array( 'bid' => '21', 'module' => 'user', 'delta' => 'online', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '22', 'module' => 'comment', 'delta' => 'recent', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '1', )) ->values(array( 'bid' => '23', 'module' => 'node', 'delta' => 'syndicate', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '24', 'module' => 'shortcut', 'delta' => 'shortcuts', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '25', 'module' => 'system', 'delta' => 'powered-by', 'theme' => 'seven', 'status' => '0', 'weight' => '10', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '26', 'module' => 'system', 'delta' => 'navigation', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '27', 'module' => 'system', 'delta' => 'management', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '28', 'module' => 'system', 'delta' => 'user-menu', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '29', 'module' => 'system', 'delta' => 'main-menu', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '30', 'module' => 'user', 'delta' => 'online', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '31', 'module' => 'blog', 'delta' => 'recent', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '1', )) ->values(array( 'bid' => '32', 'module' => 'book', 'delta' => 'navigation', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '5', )) ->values(array( 'bid' => '33', 'module' => 'locale', 'delta' => 'language', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '34', 'module' => 'forum', 'delta' => 'active', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-2', )) ->values(array( 'bid' => '35', 'module' => 'forum', 'delta' => 'new', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-2', )) ->values(array( 'bid' => '36', 'module' => 'blog', 'delta' => 'recent', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '1', )) ->values(array( 'bid' => '37', 'module' => 'book', 'delta' => 'navigation', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '5', )) ->values(array( 'bid' => '38', 'module' => 'locale', 'delta' => 'language', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '39', 'module' => 'forum', 'delta' => 'active', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-2', )) ->values(array( 'bid' => '40', 'module' => 'forum', 'delta' => 'new', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-2', )) ->values(array( 'bid' => '41', 'module' => 'menu', 'delta' => 'menu-test-menu', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '42', 'module' => 'statistics', 'delta' => 'popular', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '43', 'module' => 'menu', 'delta' => 'menu-test-menu', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '44', 'module' => 'statistics', 'delta' => 'popular', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '-1', )) ->values(array( 'bid' => '45', 'module' => 'block', 'delta' => '1', 'theme' => 'bartik', 'status' => '1', 'weight' => '0', 'region' => 'highlighted', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => 'Mildly amusing limerick of the day', 'cache' => '-1', )) ->values(array( 'bid' => '46', 'module' => 'block', 'delta' => '1', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => 'Mildly amusing limerick of the day', 'cache' => '-1', )) ->values(array( 'bid' => '47', 'module' => 'aggregator', 'delta' => 'feed-1', 'theme' => 'bartik', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '1', )) ->values(array( 'bid' => '48', 'module' => 'aggregator', 'delta' => 'feed-1', 'theme' => 'seven', 'status' => '0', 'weight' => '0', 'region' => '-1', 'custom' => '0', 'visibility' => '0', 'pages' => '', 'title' => '', 'cache' => '1', )) ->execute(); $connection->schema()->createTable('block_custom', array( 'fields' => array( 'bid' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'body' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), 'info' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'bid', ), 'mysql_character_set' => 'utf8', )); $connection->insert('block_custom') ->fields(array( 'bid', 'body', 'info', 'format', )) ->values(array( 'bid' => '1', 'body' => "A fellow jumped off a high wall\r\nAnd had a most terrible fall\r\nHe went back to bed\r\nWith a bump on his head\r\nThat's why you don't jump off a wall", 'info' => 'Limerick', 'format' => 'filtered_html', )) ->execute(); $connection->schema()->createTable('block_node_type', array( 'fields' => array( 'module' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', ), 'delta' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', ), 'type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', ), ), 'primary key' => array( 'module', 'delta', 'type', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('block_role', array( 'fields' => array( 'module' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', ), 'delta' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', ), 'rid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'module', 'delta', 'rid', ), 'mysql_character_set' => 'utf8', )); $connection->insert('block_role') ->fields(array( 'module', 'delta', 'rid', )) ->values(array( 'module' => 'block', 'delta' => '1', 'rid' => '2', )) ->execute(); $connection->schema()->createTable('blocked_ips', array( 'fields' => array( 'iid' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'ip' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '40', 'default' => '', ), ), 'primary key' => array( 'iid', ), 'mysql_character_set' => 'utf8', )); $connection->insert('blocked_ips') ->fields(array( 'iid', 'ip', )) ->values(array( 'iid' => '1', 'ip' => '111.111.111.111', )) ->execute(); $connection->schema()->createTable('book', array( 'fields' => array( 'mlid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', 'unsigned' => TRUE, ), 'nid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', 'unsigned' => TRUE, ), 'bid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', 'unsigned' => TRUE, ), ), 'primary key' => array( 'mlid', ), 'mysql_character_set' => 'utf8', )); $connection->insert('book') ->fields(array( 'mlid', 'nid', 'bid', )) ->values(array( 'mlid' => '480', 'nid' => '4', 'bid' => '4', )) ->values(array( 'mlid' => '481', 'nid' => '6', 'bid' => '4', )) ->values(array( 'mlid' => '482', 'nid' => '2', 'bid' => '4', )) ->values(array( 'mlid' => '483', 'nid' => '1', 'bid' => '8', )) ->execute(); $connection->schema()->createTable('cache', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), 'expire' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'serialized' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('cache_block', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), 'expire' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'serialized' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('cache_bootstrap', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), 'expire' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'serialized' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('cache_field', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), 'expire' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'serialized' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('cache_filter', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), 'expire' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'serialized' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('cache_form', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), 'expire' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'serialized' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('cache_image', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), 'expire' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'serialized' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('cache_menu', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), 'expire' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'serialized' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('cache_page', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), 'expire' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'serialized' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('cache_path', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), 'expire' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'serialized' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('cache_update', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), 'expire' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'serialized' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('cache_views', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), 'expire' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'serialized' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('cache_views_data', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), 'expire' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'serialized' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '1', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('comment', array( 'fields' => array( 'cid' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', ), 'pid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'nid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'uid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'subject' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', 'default' => '', ), 'hostname' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'created' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'changed' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'status' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '1', 'unsigned' => TRUE, ), 'thread' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', ), 'name' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '60', ), 'mail' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '64', ), 'homepage' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '12', 'default' => '', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->insert('comment') ->fields(array( 'cid', 'pid', 'nid', 'uid', 'subject', 'hostname', 'created', 'changed', 'status', 'thread', 'name', 'mail', 'homepage', 'language', )) ->values(array( 'cid' => '1', 'pid' => '0', 'nid' => '1', 'uid' => '1', 'subject' => 'A comment', 'hostname' => '2001:db8:ffff:ffff:ffff:ffff:ffff:ffff', 'created' => '1421727536', 'changed' => '1421727536', 'status' => '1', 'thread' => '01/', 'name' => 'admin', 'mail' => '', 'homepage' => '', 'language' => 'und', )) ->execute(); $connection->schema()->createTable('contact', array( 'fields' => array( 'cid' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'category' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'recipients' => array( 'type' => 'text', 'not null' => TRUE, 'size' => 'normal', ), 'reply' => array( 'type' => 'text', 'not null' => TRUE, 'size' => 'normal', ), 'weight' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'selected' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->insert('contact') ->fields(array( 'cid', 'category', 'recipients', 'reply', 'weight', 'selected', )) ->values(array( 'cid' => '1', 'category' => 'Website testing', 'recipients' => 'joseph@flattandsons.com', 'reply' => '', 'weight' => '0', 'selected' => '1', )) ->execute(); $connection->schema()->createTable('ctools_css_cache', array( 'fields' => array( 'cid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', ), 'filename' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), 'css' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), 'filter' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'cid', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('ctools_object_cache', array( 'fields' => array( 'sid' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', ), 'name' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', ), 'obj' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', ), 'updated' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', 'unsigned' => TRUE, ), 'data' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'sid', 'name', 'obj', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('date_format_locale', array( 'fields' => array( 'format' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '100', 'binary' => TRUE, ), 'type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '12', ), ), 'primary key' => array( 'type', 'language', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('date_format_type', array( 'fields' => array( 'type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', ), 'title' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', ), 'locked' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'type', ), 'mysql_character_set' => 'utf8', )); $connection->insert('date_format_type') ->fields(array( 'type', 'title', 'locked', )) ->values(array( 'type' => 'long', 'title' => 'Long', 'locked' => '1', )) ->values(array( 'type' => 'medium', 'title' => 'Medium', 'locked' => '1', )) ->values(array( 'type' => 'short', 'title' => 'Short', 'locked' => '1', )) ->execute(); $connection->schema()->createTable('date_formats', array( 'fields' => array( 'dfid' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'format' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '100', ), 'type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', ), 'locked' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'dfid', ), 'mysql_character_set' => 'utf8', )); $connection->insert('date_formats') ->fields(array( 'dfid', 'format', 'type', 'locked', )) ->values(array( 'dfid' => '1', 'format' => 'Y-m-d H:i', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '2', 'format' => 'm/d/Y - H:i', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '3', 'format' => 'd/m/Y - H:i', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '4', 'format' => 'Y/m/d - H:i', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '5', 'format' => 'd.m.Y - H:i', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '6', 'format' => 'm/d/Y - g:ia', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '7', 'format' => 'd/m/Y - g:ia', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '8', 'format' => 'Y/m/d - g:ia', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '9', 'format' => 'M j Y - H:i', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '10', 'format' => 'j M Y - H:i', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '11', 'format' => 'Y M j - H:i', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '12', 'format' => 'M j Y - g:ia', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '13', 'format' => 'j M Y - g:ia', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '14', 'format' => 'Y M j - g:ia', 'type' => 'short', 'locked' => '1', )) ->values(array( 'dfid' => '15', 'format' => 'D, Y-m-d H:i', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '16', 'format' => 'D, m/d/Y - H:i', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '17', 'format' => 'D, d/m/Y - H:i', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '18', 'format' => 'D, Y/m/d - H:i', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '19', 'format' => 'F j, Y - H:i', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '20', 'format' => 'j F, Y - H:i', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '21', 'format' => 'Y, F j - H:i', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '22', 'format' => 'D, m/d/Y - g:ia', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '23', 'format' => 'D, d/m/Y - g:ia', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '24', 'format' => 'D, Y/m/d - g:ia', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '25', 'format' => 'F j, Y - g:ia', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '26', 'format' => 'j F Y - g:ia', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '27', 'format' => 'Y, F j - g:ia', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '28', 'format' => 'j. F Y - G:i', 'type' => 'medium', 'locked' => '1', )) ->values(array( 'dfid' => '29', 'format' => 'l, F j, Y - H:i', 'type' => 'long', 'locked' => '1', )) ->values(array( 'dfid' => '30', 'format' => 'l, j F, Y - H:i', 'type' => 'long', 'locked' => '1', )) ->values(array( 'dfid' => '31', 'format' => 'l, Y, F j - H:i', 'type' => 'long', 'locked' => '1', )) ->values(array( 'dfid' => '32', 'format' => 'l, F j, Y - g:ia', 'type' => 'long', 'locked' => '1', )) ->values(array( 'dfid' => '33', 'format' => 'l, j F Y - g:ia', 'type' => 'long', 'locked' => '1', )) ->values(array( 'dfid' => '34', 'format' => 'l, Y, F j - g:ia', 'type' => 'long', 'locked' => '1', )) ->values(array( 'dfid' => '35', 'format' => 'l, j. F Y - G:i', 'type' => 'long', 'locked' => '1', )) ->values(array( 'dfid' => '36', 'format' => 'r', 'type' => 'custom', 'locked' => '0', )) ->execute(); $connection->schema()->createTable('field_config', array( 'fields' => array( 'id' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', ), 'field_name' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', ), 'type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', ), 'module' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'active' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'storage_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', ), 'storage_module' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'storage_active' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'locked' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'data' => array( 'type' => 'blob', 'not null' => TRUE, 'size' => 'normal', ), 'cardinality' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'translatable' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'id', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_config') ->fields(array( 'id', 'field_name', 'type', 'module', 'active', 'storage_type', 'storage_module', 'storage_active', 'locked', 'data', 'cardinality', 'translatable', 'deleted', )) ->values(array( 'id' => '1', 'field_name' => 'comment_body', 'type' => 'text_long', 'module' => 'text', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:6:{s:12:"entity_types";a:1:{i:0;s:7:"comment";}s:12:"translatable";b:0;s:8:"settings";a:0:{}s:7:"storage";a:4:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";i:1;}s:12:"foreign keys";a:1:{s:6:"format";a:2:{s:5:"table";s:13:"filter_format";s:7:"columns";a:1:{s:6:"format";s:6:"format";}}}s:7:"indexes";a:1:{s:6:"format";a:1:{i:0;s:6:"format";}}}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '2', 'field_name' => 'body', 'type' => 'text_with_summary', 'module' => 'text', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:6:{s:12:"entity_types";a:1:{i:0;s:4:"node";}s:12:"translatable";b:0;s:8:"settings";a:0:{}s:7:"storage";a:4:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";i:1;}s:12:"foreign keys";a:1:{s:6:"format";a:2:{s:5:"table";s:13:"filter_format";s:7:"columns";a:1:{s:6:"format";s:6:"format";}}}s:7:"indexes";a:1:{s:6:"format";a:1:{i:0;s:6:"format";}}}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '3', 'field_name' => 'field_tags', 'type' => 'taxonomy_term_reference', 'module' => 'taxonomy', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:6:{s:8:"settings";a:1:{s:14:"allowed_values";a:1:{i:0;a:2:{s:10:"vocabulary";s:4:"tags";s:6:"parent";i:0;}}}s:12:"entity_types";a:0:{}s:12:"translatable";b:0;s:7:"storage";a:4:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";i:1;}s:12:"foreign keys";a:1:{s:3:"tid";a:2:{s:5:"table";s:18:"taxonomy_term_data";s:7:"columns";a:1:{s:3:"tid";s:3:"tid";}}}s:7:"indexes";a:1:{s:3:"tid";a:1:{i:0;s:3:"tid";}}}', 'cardinality' => '-1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '4', 'field_name' => 'field_image', 'type' => 'image', 'module' => 'image', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:6:{s:7:"indexes";a:1:{s:3:"fid";a:1:{i:0;s:3:"fid";}}s:8:"settings";a:2:{s:10:"uri_scheme";s:6:"public";s:13:"default_image";b:0;}s:7:"storage";a:4:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";i:1;}s:12:"entity_types";a:0:{}s:12:"translatable";b:0;s:12:"foreign keys";a:1:{s:3:"fid";a:2:{s:5:"table";s:12:"file_managed";s:7:"columns";a:1:{s:3:"fid";s:3:"fid";}}}}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '5', 'field_name' => 'taxonomy_forums', 'type' => 'taxonomy_term_reference', 'module' => 'taxonomy', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:6:{s:8:"settings";a:1:{s:14:"allowed_values";a:1:{i:0;a:2:{s:10:"vocabulary";s:6:"forums";s:6:"parent";i:0;}}}s:12:"entity_types";a:0:{}s:12:"translatable";b:0;s:7:"storage";a:4:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";i:1;}s:12:"foreign keys";a:1:{s:3:"tid";a:2:{s:5:"table";s:18:"taxonomy_term_data";s:7:"columns";a:1:{s:3:"tid";s:3:"tid";}}}s:7:"indexes";a:1:{s:3:"tid";a:1:{i:0;s:3:"tid";}}}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '6', 'field_name' => 'field_boolean', 'type' => 'list_boolean', 'module' => 'list', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:2:{s:14:"allowed_values";a:2:{i:0;s:3:"Off";i:1;s:1:"1";}s:23:"allowed_values_function";s:0:"";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:24:"field_data_field_boolean";a:1:{s:5:"value";s:19:"field_boolean_value";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:28:"field_revision_field_boolean";a:1:{s:5:"value";s:19:"field_boolean_value";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:1:{s:5:"value";a:1:{i:0;s:5:"value";}}s:2:"id";s:1:"6";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '7', 'field_name' => 'field_email', 'type' => 'email', 'module' => 'email', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:0:{}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:22:"field_data_field_email";a:1:{s:5:"email";s:17:"field_email_email";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:26:"field_revision_field_email";a:1:{s:5:"email";s:17:"field_email_email";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:0:{}s:2:"id";s:1:"7";}', 'cardinality' => '-1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '8', 'field_name' => 'field_phone', 'type' => 'phone', 'module' => 'phone', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:1:{s:7:"country";s:2:"cr";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:22:"field_data_field_phone";a:1:{s:5:"value";s:17:"field_phone_value";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:26:"field_revision_field_phone";a:1:{s:5:"value";s:17:"field_phone_value";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:0:{}s:2:"id";s:1:"8";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '9', 'field_name' => 'field_date', 'type' => 'datetime', 'module' => 'date', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:6:{s:11:"granularity";a:6:{s:5:"month";s:5:"month";s:3:"day";s:3:"day";s:4:"hour";s:4:"hour";s:6:"minute";s:6:"minute";s:4:"year";s:4:"year";s:6:"second";i:0;}s:11:"tz_handling";s:4:"site";s:11:"timezone_db";s:3:"UTC";s:13:"cache_enabled";i:0;s:11:"cache_count";s:1:"4";s:6:"todate";s:0:"";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:21:"field_data_field_date";a:1:{s:5:"value";s:16:"field_date_value";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:25:"field_revision_field_date";a:1:{s:5:"value";s:16:"field_date_value";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:0:{}s:2:"id";s:1:"9";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '10', 'field_name' => 'field_date_with_end_time', 'type' => 'datestamp', 'module' => 'date', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:6:{s:11:"granularity";a:6:{s:5:"month";s:5:"month";s:3:"day";s:3:"day";s:4:"hour";s:4:"hour";s:6:"minute";s:6:"minute";s:4:"year";s:4:"year";s:6:"second";i:0;}s:11:"tz_handling";s:4:"site";s:11:"timezone_db";s:3:"UTC";s:13:"cache_enabled";i:0;s:11:"cache_count";s:1:"4";s:6:"todate";s:8:"optional";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:35:"field_data_field_date_with_end_time";a:2:{s:5:"value";s:30:"field_date_with_end_time_value";s:6:"value2";s:31:"field_date_with_end_time_value2";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:39:"field_revision_field_date_with_end_time";a:2:{s:5:"value";s:30:"field_date_with_end_time_value";s:6:"value2";s:31:"field_date_with_end_time_value2";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:0:{}s:2:"id";s:2:"10";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '11', 'field_name' => 'field_file', 'type' => 'file', 'module' => 'file', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:3:{s:13:"display_field";i:0;s:15:"display_default";i:0;s:10:"uri_scheme";s:6:"public";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:21:"field_data_field_file";a:3:{s:3:"fid";s:14:"field_file_fid";s:7:"display";s:18:"field_file_display";s:11:"description";s:22:"field_file_description";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:25:"field_revision_field_file";a:3:{s:3:"fid";s:14:"field_file_fid";s:7:"display";s:18:"field_file_display";s:11:"description";s:22:"field_file_description";}}}}}s:12:"foreign keys";a:1:{s:3:"fid";a:2:{s:5:"table";s:12:"file_managed";s:7:"columns";a:1:{s:3:"fid";s:3:"fid";}}}s:7:"indexes";a:1:{s:3:"fid";a:1:{i:0;s:3:"fid";}}s:2:"id";s:2:"11";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '12', 'field_name' => 'field_float', 'type' => 'number_float', 'module' => 'number', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:1:{s:17:"decimal_separator";s:1:",";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:22:"field_data_field_float";a:1:{s:5:"value";s:17:"field_float_value";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:26:"field_revision_field_float";a:1:{s:5:"value";s:17:"field_float_value";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:0:{}s:2:"id";s:2:"12";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '13', 'field_name' => 'field_images', 'type' => 'image', 'module' => 'image', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:2:{s:10:"uri_scheme";s:6:"public";s:13:"default_image";i:0;}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:23:"field_data_field_images";a:5:{s:3:"fid";s:16:"field_images_fid";s:3:"alt";s:16:"field_images_alt";s:5:"title";s:18:"field_images_title";s:5:"width";s:18:"field_images_width";s:6:"height";s:19:"field_images_height";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:27:"field_revision_field_images";a:5:{s:3:"fid";s:16:"field_images_fid";s:3:"alt";s:16:"field_images_alt";s:5:"title";s:18:"field_images_title";s:5:"width";s:18:"field_images_width";s:6:"height";s:19:"field_images_height";}}}}}s:12:"foreign keys";a:1:{s:3:"fid";a:2:{s:5:"table";s:12:"file_managed";s:7:"columns";a:1:{s:3:"fid";s:3:"fid";}}}s:7:"indexes";a:1:{s:3:"fid";a:1:{i:0;s:3:"fid";}}s:2:"id";s:2:"13";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '14', 'field_name' => 'field_integer', 'type' => 'number_integer', 'module' => 'number', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:0:{}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:24:"field_data_field_integer";a:1:{s:5:"value";s:19:"field_integer_value";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:28:"field_revision_field_integer";a:1:{s:5:"value";s:19:"field_integer_value";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:0:{}s:2:"id";s:2:"14";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '15', 'field_name' => 'field_link', 'type' => 'link_field', 'module' => 'link', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:7:{s:10:"attributes";a:3:{s:6:"target";s:7:"default";s:5:"class";s:0:"";s:3:"rel";s:0:"";}s:3:"url";i:0;s:5:"title";s:8:"optional";s:11:"title_value";s:0:"";s:15:"title_maxlength";i:128;s:13:"enable_tokens";i:1;s:7:"display";a:1:{s:10:"url_cutoff";i:80;}}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:21:"field_data_field_link";a:3:{s:3:"url";s:14:"field_link_url";s:5:"title";s:16:"field_link_title";s:10:"attributes";s:21:"field_link_attributes";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:25:"field_revision_field_link";a:3:{s:3:"url";s:14:"field_link_url";s:5:"title";s:16:"field_link_title";s:10:"attributes";s:21:"field_link_attributes";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:0:{}s:2:"id";s:2:"15";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '16', 'field_name' => 'field_text_list', 'type' => 'list_text', 'module' => 'list', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:2:{s:14:"allowed_values";a:3:{s:9:"Some Text";s:9:"Some Text";s:14:"Some more text";s:14:"Some more text";s:7:"The key";s:9:"The label";}s:23:"allowed_values_function";s:0:"";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:26:"field_data_field_text_list";a:1:{s:5:"value";s:21:"field_text_list_value";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:30:"field_revision_field_text_list";a:1:{s:5:"value";s:21:"field_text_list_value";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:1:{s:5:"value";a:1:{i:0;s:5:"value";}}s:2:"id";s:2:"16";}', 'cardinality' => '3', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '17', 'field_name' => 'field_integer_list', 'type' => 'list_integer', 'module' => 'list', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:2:{s:14:"allowed_values";a:5:{i:1;s:1:"1";i:2;s:1:"2";i:3;s:1:"3";i:6;s:1:"6";i:7;s:1:"9";}s:23:"allowed_values_function";s:0:"";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:29:"field_data_field_integer_list";a:1:{s:5:"value";s:24:"field_integer_list_value";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:33:"field_revision_field_integer_list";a:1:{s:5:"value";s:24:"field_integer_list_value";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:1:{s:5:"value";a:1:{i:0;s:5:"value";}}s:2:"id";s:2:"17";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '18', 'field_name' => 'field_long_text', 'type' => 'text_with_summary', 'module' => 'text', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:0:{}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:26:"field_data_field_long_text";a:3:{s:5:"value";s:21:"field_long_text_value";s:7:"summary";s:23:"field_long_text_summary";s:6:"format";s:22:"field_long_text_format";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:30:"field_revision_field_long_text";a:3:{s:5:"value";s:21:"field_long_text_value";s:7:"summary";s:23:"field_long_text_summary";s:6:"format";s:22:"field_long_text_format";}}}}}s:12:"foreign keys";a:1:{s:6:"format";a:2:{s:5:"table";s:13:"filter_format";s:7:"columns";a:1:{s:6:"format";s:6:"format";}}}s:7:"indexes";a:1:{s:6:"format";a:1:{i:0;s:6:"format";}}s:2:"id";s:2:"18";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '20', 'field_name' => 'field_term_reference', 'type' => 'taxonomy_term_reference', 'module' => 'taxonomy', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:1:{s:14:"allowed_values";a:1:{i:0;a:2:{s:10:"vocabulary";s:15:"test_vocabulary";s:6:"parent";s:1:"0";}}}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:31:"field_data_field_term_reference";a:1:{s:3:"tid";s:24:"field_term_reference_tid";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:35:"field_revision_field_term_reference";a:1:{s:3:"tid";s:24:"field_term_reference_tid";}}}}}s:12:"foreign keys";a:1:{s:3:"tid";a:2:{s:5:"table";s:18:"taxonomy_term_data";s:7:"columns";a:1:{s:3:"tid";s:3:"tid";}}}s:7:"indexes";a:1:{s:3:"tid";a:1:{i:0;s:3:"tid";}}s:2:"id";s:2:"20";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '21', 'field_name' => 'field_text', 'type' => 'text', 'module' => 'text', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:1:{s:10:"max_length";s:3:"256";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:21:"field_data_field_text";a:2:{s:5:"value";s:16:"field_text_value";s:6:"format";s:17:"field_text_format";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:25:"field_revision_field_text";a:2:{s:5:"value";s:16:"field_text_value";s:6:"format";s:17:"field_text_format";}}}}}s:12:"foreign keys";a:1:{s:6:"format";a:2:{s:5:"table";s:13:"filter_format";s:7:"columns";a:1:{s:6:"format";s:6:"format";}}}s:7:"indexes";a:1:{s:6:"format";a:1:{i:0;s:6:"format";}}s:2:"id";s:2:"21";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '22', 'field_name' => 'field_node_entityreference', 'type' => 'entityreference', 'module' => 'entityreference', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:3:{s:11:"target_type";s:4:"node";s:7:"handler";s:4:"base";s:16:"handler_settings";a:2:{s:14:"target_bundles";a:1:{s:7:"article";s:7:"article";}s:4:"sort";a:1:{s:4:"type";s:4:"none";}}}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:37:"field_data_field_node_entityreference";a:1:{s:9:"target_id";s:36:"field_node_entityreference_target_id";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:41:"field_revision_field_node_entityreference";a:1:{s:9:"target_id";s:36:"field_node_entityreference_target_id";}}}}}s:12:"foreign keys";a:1:{s:4:"node";a:2:{s:5:"table";s:4:"node";s:7:"columns";a:1:{s:9:"target_id";s:3:"nid";}}}s:7:"indexes";a:1:{s:9:"target_id";a:1:{i:0;s:9:"target_id";}}s:2:"id";s:2:"22";}', 'cardinality' => '-1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '23', 'field_name' => 'field_user_entityreference', 'type' => 'entityreference', 'module' => 'entityreference', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:3:{s:11:"target_type";s:4:"user";s:7:"handler";s:4:"base";s:16:"handler_settings";a:2:{s:14:"target_bundles";a:0:{}s:4:"sort";a:3:{s:4:"type";s:8:"property";s:8:"property";s:7:"created";s:9:"direction";s:4:"DESC";}}}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:37:"field_data_field_user_entityreference";a:1:{s:9:"target_id";s:36:"field_user_entityreference_target_id";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:41:"field_revision_field_user_entityreference";a:1:{s:9:"target_id";s:36:"field_user_entityreference_target_id";}}}}}s:12:"foreign keys";a:1:{s:5:"users";a:2:{s:5:"table";s:5:"users";s:7:"columns";a:1:{s:9:"target_id";s:3:"uid";}}}s:7:"indexes";a:1:{s:9:"target_id";a:1:{i:0;s:9:"target_id";}}s:2:"id";s:2:"23";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '24', 'field_name' => 'field_term_entityreference', 'type' => 'entityreference', 'module' => 'entityreference', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:3:{s:11:"target_type";s:13:"taxonomy_term";s:7:"handler";s:4:"base";s:16:"handler_settings";a:2:{s:14:"target_bundles";a:1:{s:4:"tags";s:4:"tags";}s:4:"sort";a:1:{s:4:"type";s:4:"none";}}}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:37:"field_data_field_term_entityreference";a:1:{s:9:"target_id";s:36:"field_term_entityreference_target_id";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:41:"field_revision_field_term_entityreference";a:1:{s:9:"target_id";s:36:"field_term_entityreference_target_id";}}}}}s:12:"foreign keys";a:1:{s:18:"taxonomy_term_data";a:2:{s:5:"table";s:18:"taxonomy_term_data";s:7:"columns";a:1:{s:9:"target_id";s:3:"tid";}}}s:7:"indexes";a:1:{s:9:"target_id";a:1:{i:0;s:9:"target_id";}}s:2:"id";s:2:"24";}', 'cardinality' => '-1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '25', 'field_name' => 'field_private_file', 'type' => 'file', 'module' => 'file', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:3:{s:13:"display_field";i:0;s:15:"display_default";i:0;s:10:"uri_scheme";s:7:"private";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:29:"field_data_field_private_file";a:3:{s:3:"fid";s:22:"field_private_file_fid";s:7:"display";s:26:"field_private_file_display";s:11:"description";s:30:"field_private_file_description";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:33:"field_revision_field_private_file";a:3:{s:3:"fid";s:22:"field_private_file_fid";s:7:"display";s:26:"field_private_file_display";s:11:"description";s:30:"field_private_file_description";}}}}}s:12:"foreign keys";a:1:{s:3:"fid";a:2:{s:5:"table";s:12:"file_managed";s:7:"columns";a:1:{s:3:"fid";s:3:"fid";}}}s:7:"indexes";a:1:{s:3:"fid";a:1:{i:0;s:3:"fid";}}s:2:"id";s:2:"25";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '26', 'field_name' => 'field_text_plain', 'type' => 'text', 'module' => 'text', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:1:{s:10:"max_length";s:3:"255";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:27:"field_data_field_text_plain";a:2:{s:5:"value";s:22:"field_text_plain_value";s:6:"format";s:23:"field_text_plain_format";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:31:"field_revision_field_text_plain";a:2:{s:5:"value";s:22:"field_text_plain_value";s:6:"format";s:23:"field_text_plain_format";}}}}}s:12:"foreign keys";a:1:{s:6:"format";a:2:{s:5:"table";s:13:"filter_format";s:7:"columns";a:1:{s:6:"format";s:6:"format";}}}s:7:"indexes";a:1:{s:6:"format";a:1:{i:0;s:6:"format";}}s:2:"id";s:2:"26";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '27', 'field_name' => 'field_text_filtered', 'type' => 'text', 'module' => 'text', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:1:{s:10:"max_length";s:3:"255";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:30:"field_data_field_text_filtered";a:2:{s:5:"value";s:25:"field_text_filtered_value";s:6:"format";s:26:"field_text_filtered_format";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:34:"field_revision_field_text_filtered";a:2:{s:5:"value";s:25:"field_text_filtered_value";s:6:"format";s:26:"field_text_filtered_format";}}}}}s:12:"foreign keys";a:1:{s:6:"format";a:2:{s:5:"table";s:13:"filter_format";s:7:"columns";a:1:{s:6:"format";s:6:"format";}}}s:7:"indexes";a:1:{s:6:"format";a:1:{i:0;s:6:"format";}}s:2:"id";s:2:"27";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '28', 'field_name' => 'field_text_plain_filtered', 'type' => 'text', 'module' => 'text', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:1:{s:10:"max_length";s:3:"255";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:36:"field_data_field_text_plain_filtered";a:2:{s:5:"value";s:31:"field_text_plain_filtered_value";s:6:"format";s:32:"field_text_plain_filtered_format";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:40:"field_revision_field_text_plain_filtered";a:2:{s:5:"value";s:31:"field_text_plain_filtered_value";s:6:"format";s:32:"field_text_plain_filtered_format";}}}}}s:12:"foreign keys";a:1:{s:6:"format";a:2:{s:5:"table";s:13:"filter_format";s:7:"columns";a:1:{s:6:"format";s:6:"format";}}}s:7:"indexes";a:1:{s:6:"format";a:1:{i:0;s:6:"format";}}s:2:"id";s:2:"28";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '29', 'field_name' => 'field_text_long_plain', 'type' => 'text_long', 'module' => 'text', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:0:{}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:32:"field_data_field_text_long_plain";a:2:{s:5:"value";s:27:"field_text_long_plain_value";s:6:"format";s:28:"field_text_long_plain_format";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:36:"field_revision_field_text_long_plain";a:2:{s:5:"value";s:27:"field_text_long_plain_value";s:6:"format";s:28:"field_text_long_plain_format";}}}}}s:12:"foreign keys";a:1:{s:6:"format";a:2:{s:5:"table";s:13:"filter_format";s:7:"columns";a:1:{s:6:"format";s:6:"format";}}}s:7:"indexes";a:1:{s:6:"format";a:1:{i:0;s:6:"format";}}s:2:"id";s:2:"29";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '30', 'field_name' => 'field_text_long_filtered', 'type' => 'text_long', 'module' => 'text', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:0:{}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:35:"field_data_field_text_long_filtered";a:2:{s:5:"value";s:30:"field_text_long_filtered_value";s:6:"format";s:31:"field_text_long_filtered_format";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:39:"field_revision_field_text_long_filtered";a:2:{s:5:"value";s:30:"field_text_long_filtered_value";s:6:"format";s:31:"field_text_long_filtered_format";}}}}}s:12:"foreign keys";a:1:{s:6:"format";a:2:{s:5:"table";s:13:"filter_format";s:7:"columns";a:1:{s:6:"format";s:6:"format";}}}s:7:"indexes";a:1:{s:6:"format";a:1:{i:0;s:6:"format";}}s:2:"id";s:2:"30";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '31', 'field_name' => 'field_text_long_plain_filtered', 'type' => 'text_long', 'module' => 'text', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:0:{}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:41:"field_data_field_text_long_plain_filtered";a:2:{s:5:"value";s:36:"field_text_long_plain_filtered_value";s:6:"format";s:37:"field_text_long_plain_filtered_format";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:45:"field_revision_field_text_long_plain_filtered";a:2:{s:5:"value";s:36:"field_text_long_plain_filtered_value";s:6:"format";s:37:"field_text_long_plain_filtered_format";}}}}}s:12:"foreign keys";a:1:{s:6:"format";a:2:{s:5:"table";s:13:"filter_format";s:7:"columns";a:1:{s:6:"format";s:6:"format";}}}s:7:"indexes";a:1:{s:6:"format";a:1:{i:0;s:6:"format";}}s:2:"id";s:2:"31";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '32', 'field_name' => 'field_text_sum_plain', 'type' => 'text_with_summary', 'module' => 'text', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:0:{}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:31:"field_data_field_text_sum_plain";a:3:{s:5:"value";s:26:"field_text_sum_plain_value";s:7:"summary";s:28:"field_text_sum_plain_summary";s:6:"format";s:27:"field_text_sum_plain_format";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:35:"field_revision_field_text_sum_plain";a:3:{s:5:"value";s:26:"field_text_sum_plain_value";s:7:"summary";s:28:"field_text_sum_plain_summary";s:6:"format";s:27:"field_text_sum_plain_format";}}}}}s:12:"foreign keys";a:1:{s:6:"format";a:2:{s:5:"table";s:13:"filter_format";s:7:"columns";a:1:{s:6:"format";s:6:"format";}}}s:7:"indexes";a:1:{s:6:"format";a:1:{i:0;s:6:"format";}}s:2:"id";s:2:"32";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '33', 'field_name' => 'field_text_sum_filtered', 'type' => 'text_with_summary', 'module' => 'text', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:0:{}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:34:"field_data_field_text_sum_filtered";a:3:{s:5:"value";s:29:"field_text_sum_filtered_value";s:7:"summary";s:31:"field_text_sum_filtered_summary";s:6:"format";s:30:"field_text_sum_filtered_format";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:38:"field_revision_field_text_sum_filtered";a:3:{s:5:"value";s:29:"field_text_sum_filtered_value";s:7:"summary";s:31:"field_text_sum_filtered_summary";s:6:"format";s:30:"field_text_sum_filtered_format";}}}}}s:12:"foreign keys";a:1:{s:6:"format";a:2:{s:5:"table";s:13:"filter_format";s:7:"columns";a:1:{s:6:"format";s:6:"format";}}}s:7:"indexes";a:1:{s:6:"format";a:1:{i:0;s:6:"format";}}s:2:"id";s:2:"33";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '34', 'field_name' => 'field_text_sum_plain_filtered', 'type' => 'text_with_summary', 'module' => 'text', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:0:{}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:39:"field_data_field_text_sum_plain_filtere";a:3:{s:5:"value";s:34:"field_text_sum_plain_filtere_value";s:7:"summary";s:36:"field_text_sum_plain_filtere_summary";s:6:"format";s:35:"field_text_sum_plain_filtere_format";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:43:"field_revision_field_text_sum_plain_filtere";a:3:{s:5:"value";s:34:"field_text_sum_plain_filtere_value";s:7:"summary";s:36:"field_text_sum_plain_filtere_summary";s:6:"format";s:35:"field_text_sum_plain_filtere_format";}}}}}s:12:"foreign keys";a:1:{s:6:"format";a:2:{s:5:"table";s:13:"filter_format";s:7:"columns";a:1:{s:6:"format";s:6:"format";}}}s:7:"indexes";a:1:{s:6:"format";a:1:{i:0;s:6:"format";}}s:2:"id";s:2:"34";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '35', 'field_name' => 'field_datetime_without_time', 'type' => 'datetime', 'module' => 'date', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:6:{s:11:"granularity";a:6:{s:5:"month";s:5:"month";s:3:"day";s:3:"day";s:4:"hour";i:0;s:6:"minute";i:0;s:4:"year";s:4:"year";s:6:"second";i:0;}s:11:"tz_handling";s:4:"site";s:11:"timezone_db";s:3:"UTC";s:13:"cache_enabled";i:0;s:11:"cache_count";s:1:"4";s:6:"todate";s:0:"";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:38:"field_data_field_datetime_without_time";a:1:{s:5:"value";s:33:"field_datetime_without_time_value";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:42:"field_revision_field_datetime_without_time";a:1:{s:5:"value";s:33:"field_datetime_without_time_value";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:0:{}s:2:"id";s:1:"9";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '36', 'field_name' => 'field_date_without_time', 'type' => 'date', 'module' => 'date', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:6:{s:11:"granularity";a:6:{s:5:"month";s:5:"month";s:3:"day";s:3:"day";s:4:"hour";i:0;s:6:"minute";i:0;s:4:"year";s:4:"year";s:6:"second";i:0;}s:11:"tz_handling";s:4:"site";s:11:"timezone_db";s:3:"UTC";s:13:"cache_enabled";i:0;s:11:"cache_count";s:1:"4";s:6:"todate";s:0:"";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:34:"field_data_field_date_without_time";a:1:{s:5:"value";s:29:"field_date_without_time_value";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:38:"field_revision_field_date_without_time";a:1:{s:5:"value";s:29:"field_date_without_time_value";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:0:{}s:2:"id";s:1:"9";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '37', 'field_name' => 'field_float_list', 'type' => 'list_float', 'module' => 'list', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:2:{s:14:"allowed_values";a:2:{s:6:"3.1416";s:2:"Pi";s:6:"6.2832";s:3:"Tau";}s:23:"allowed_values_function";s:0:"";}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:27:"field_data_field_float_list";a:1:{s:5:"value";s:22:"field_float_list_value";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:31:"field_revision_field_float_list";a:1:{s:5:"value";s:22:"field_float_list_value";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:1:{s:5:"value";a:1:{i:0;s:5:"value";}}s:2:"id";s:2:"37";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '38', 'field_name' => 'field_reference', 'type' => 'entityreference', 'module' => 'entityreference', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:3:{s:11:"target_type";s:4:"node";s:7:"handler";s:4:"base";s:16:"handler_settings";a:2:{s:14:"target_bundles";a:1:{s:7:"article";s:7:"article";}s:4:"sort";a:1:{s:4:"type";s:4:"none";}}}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:26:"field_data_field_reference";a:1:{s:9:"target_id";s:25:"field_reference_target_id";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:30:"field_revision_field_reference";a:1:{s:9:"target_id";s:25:"field_reference_target_id";}}}}}s:12:"foreign keys";a:1:{s:4:"node";a:2:{s:5:"table";s:4:"node";s:7:"columns";a:1:{s:9:"target_id";s:3:"nid";}}}s:7:"indexes";a:1:{s:9:"target_id";a:1:{i:0;s:9:"target_id";}}s:2:"id";s:2:"37";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->values(array( 'id' => '39', 'field_name' => 'field_reference_2', 'type' => 'entityreference', 'module' => 'entityreference', 'active' => '1', 'storage_type' => 'field_sql_storage', 'storage_module' => 'field_sql_storage', 'storage_active' => '1', 'locked' => '0', 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:3:{s:11:"target_type";s:4:"node";s:7:"handler";s:4:"base";s:16:"handler_settings";a:2:{s:14:"target_bundles";a:1:{s:7:"article";s:7:"article";}s:4:"sort";a:1:{s:4:"type";s:4:"none";}}}s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:28:"field_data_field_reference_2";a:1:{s:9:"target_id";s:27:"field_reference_2_target_id";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:32:"field_revision_field_reference_2";a:1:{s:9:"target_id";s:27:"field_reference_2_target_id";}}}}}s:12:"foreign keys";a:1:{s:4:"node";a:2:{s:5:"table";s:4:"node";s:7:"columns";a:1:{s:9:"target_id";s:3:"nid";}}}s:7:"indexes";a:1:{s:9:"target_id";a:1:{i:0;s:9:"target_id";}}s:2:"id";s:2:"39";}', 'cardinality' => '1', 'translatable' => '0', 'deleted' => '0', )) ->execute(); $connection->schema()->createTable('field_config_instance', array( 'fields' => array( 'id' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', ), 'field_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', ), 'field_name' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'data' => array( 'type' => 'blob', 'not null' => TRUE, 'size' => 'normal', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), ), 'primary key' => array( 'id', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_config_instance') ->fields(array( 'id', 'field_id', 'field_name', 'entity_type', 'bundle', 'data', 'deleted', )) ->values(array( 'id' => '1', 'field_id' => '1', 'field_name' => 'comment_body', 'entity_type' => 'comment', 'bundle' => 'comment_node_page', 'data' => 'a:6:{s:5:"label";s:7:"Comment";s:8:"settings";a:2:{s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:8:"required";b:1;s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:6:"weight";i:0;s:8:"settings";a:0:{}s:6:"module";s:4:"text";}}s:6:"widget";a:4:{s:4:"type";s:13:"text_textarea";s:8:"settings";a:1:{s:4:"rows";i:5;}s:6:"weight";i:0;s:6:"module";s:4:"text";}s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '2', 'field_id' => '2', 'field_name' => 'body', 'entity_type' => 'node', 'bundle' => 'page', 'data' => 'a:6:{s:5:"label";s:4:"Body";s:6:"widget";a:4:{s:4:"type";s:26:"text_textarea_with_summary";s:8:"settings";a:2:{s:4:"rows";i:20;s:12:"summary_rows";i:5;}s:6:"weight";i:-4;s:6:"module";s:4:"text";}s:8:"settings";a:3:{s:15:"display_summary";b:1;s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:7:"display";a:2:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:0;}s:6:"teaser";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:23:"text_summary_or_trimmed";s:8:"settings";a:1:{s:11:"trim_length";i:600;}s:6:"module";s:4:"text";s:6:"weight";i:0;}}s:8:"required";b:0;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '3', 'field_id' => '1', 'field_name' => 'comment_body', 'entity_type' => 'comment', 'bundle' => 'comment_node_article', 'data' => 'a:6:{s:5:"label";s:7:"Comment";s:8:"settings";a:2:{s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:8:"required";b:1;s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:6:"weight";i:0;s:8:"settings";a:0:{}s:6:"module";s:4:"text";}}s:6:"widget";a:4:{s:4:"type";s:13:"text_textarea";s:8:"settings";a:1:{s:4:"rows";i:5;}s:6:"weight";i:0;s:6:"module";s:4:"text";}s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '4', 'field_id' => '2', 'field_name' => 'body', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:6:{s:5:"label";s:4:"Body";s:6:"widget";a:4:{s:4:"type";s:26:"text_textarea_with_summary";s:8:"settings";a:2:{s:4:"rows";i:20;s:12:"summary_rows";i:5;}s:6:"weight";i:-4;s:6:"module";s:4:"text";}s:8:"settings";a:3:{s:15:"display_summary";b:1;s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:7:"display";a:3:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:0;}s:6:"teaser";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:23:"text_summary_or_trimmed";s:8:"settings";a:1:{s:11:"trim_length";i:600;}s:6:"module";s:4:"text";s:6:"weight";i:0;}s:6:"custom";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:23:"text_summary_or_trimmed";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:11;}}s:8:"required";b:0;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '5', 'field_id' => '3', 'field_name' => 'field_tags', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:6:{s:5:"label";s:4:"Tags";s:11:"description";s:63:"Enter a comma-separated list of words to describe your content.";s:6:"widget";a:4:{s:4:"type";s:21:"taxonomy_autocomplete";s:6:"weight";i:-4;s:8:"settings";a:2:{s:4:"size";i:60;s:17:"autocomplete_path";s:21:"taxonomy/autocomplete";}s:6:"module";s:8:"taxonomy";}s:7:"display";a:2:{s:7:"default";a:5:{s:4:"type";s:28:"taxonomy_term_reference_link";s:6:"weight";i:10;s:5:"label";s:5:"above";s:8:"settings";a:0:{}s:6:"module";s:8:"taxonomy";}s:6:"teaser";a:5:{s:4:"type";s:28:"taxonomy_term_reference_link";s:6:"weight";i:10;s:5:"label";s:5:"above";s:8:"settings";a:0:{}s:6:"module";s:8:"taxonomy";}}s:8:"settings";a:1:{s:18:"user_register_form";b:0;}s:8:"required";b:0;}', 'deleted' => '0', )) ->values(array( 'id' => '6', 'field_id' => '4', 'field_name' => 'field_image', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:6:{s:5:"label";s:5:"Image";s:11:"description";s:40:"Upload an image to go with this article.";s:8:"required";b:0;s:8:"settings";a:9:{s:14:"file_directory";s:11:"field/image";s:15:"file_extensions";s:16:"png gif jpg jpeg";s:12:"max_filesize";s:0:"";s:14:"max_resolution";s:0:"";s:14:"min_resolution";s:0:"";s:9:"alt_field";b:1;s:11:"title_field";s:0:"";s:13:"default_image";i:0;s:18:"user_register_form";b:0;}s:6:"widget";a:4:{s:4:"type";s:11:"image_image";s:8:"settings";a:2:{s:18:"progress_indicator";s:8:"throbber";s:19:"preview_image_style";s:9:"thumbnail";}s:6:"weight";i:-1;s:6:"module";s:5:"image";}s:7:"display";a:2:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:5:"image";s:8:"settings";a:2:{s:11:"image_style";s:5:"large";s:10:"image_link";s:0:"";}s:6:"weight";i:-1;s:6:"module";s:5:"image";}s:6:"teaser";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:5:"image";s:8:"settings";a:2:{s:11:"image_style";s:6:"medium";s:10:"image_link";s:7:"content";}s:6:"weight";i:-1;s:6:"module";s:5:"image";}}}', 'deleted' => '0', )) ->values(array( 'id' => '7', 'field_id' => '1', 'field_name' => 'comment_body', 'entity_type' => 'comment', 'bundle' => 'comment_node_blog', 'data' => 'a:6:{s:5:"label";s:7:"Comment";s:8:"settings";a:2:{s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:8:"required";b:1;s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:6:"weight";i:0;s:8:"settings";a:0:{}s:6:"module";s:4:"text";}}s:6:"widget";a:4:{s:4:"type";s:13:"text_textarea";s:8:"settings";a:1:{s:4:"rows";i:5;}s:6:"weight";i:0;s:6:"module";s:4:"text";}s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '8', 'field_id' => '2', 'field_name' => 'body', 'entity_type' => 'node', 'bundle' => 'blog', 'data' => 'a:6:{s:5:"label";s:4:"Body";s:6:"widget";a:4:{s:4:"type";s:26:"text_textarea_with_summary";s:8:"settings";a:2:{s:4:"rows";i:20;s:12:"summary_rows";i:5;}s:6:"weight";i:-4;s:6:"module";s:4:"text";}s:8:"settings";a:3:{s:15:"display_summary";b:1;s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:7:"display";a:2:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:0;}s:6:"teaser";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:23:"text_summary_or_trimmed";s:8:"settings";a:1:{s:11:"trim_length";i:600;}s:6:"module";s:4:"text";s:6:"weight";i:0;}}s:8:"required";b:0;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '9', 'field_id' => '1', 'field_name' => 'comment_body', 'entity_type' => 'comment', 'bundle' => 'comment_node_book', 'data' => 'a:6:{s:5:"label";s:7:"Comment";s:8:"settings";a:2:{s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:8:"required";b:1;s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:6:"weight";i:0;s:8:"settings";a:0:{}s:6:"module";s:4:"text";}}s:6:"widget";a:4:{s:4:"type";s:13:"text_textarea";s:8:"settings";a:1:{s:4:"rows";i:5;}s:6:"weight";i:0;s:6:"module";s:4:"text";}s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '10', 'field_id' => '2', 'field_name' => 'body', 'entity_type' => 'node', 'bundle' => 'book', 'data' => 'a:6:{s:5:"label";s:4:"Body";s:6:"widget";a:4:{s:4:"type";s:26:"text_textarea_with_summary";s:8:"settings";a:2:{s:4:"rows";i:20;s:12:"summary_rows";i:5;}s:6:"weight";i:-4;s:6:"module";s:4:"text";}s:8:"settings";a:3:{s:15:"display_summary";b:1;s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:7:"display";a:2:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:0;}s:6:"teaser";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:23:"text_summary_or_trimmed";s:8:"settings";a:1:{s:11:"trim_length";i:600;}s:6:"module";s:4:"text";s:6:"weight";i:0;}}s:8:"required";b:0;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '11', 'field_id' => '5', 'field_name' => 'taxonomy_forums', 'entity_type' => 'node', 'bundle' => 'forum', 'data' => 'a:6:{s:5:"label";s:6:"Forums";s:8:"required";b:1;s:6:"widget";a:4:{s:4:"type";s:14:"options_select";s:8:"settings";a:0:{}s:6:"weight";i:0;s:6:"module";s:7:"options";}s:7:"display";a:2:{s:7:"default";a:5:{s:4:"type";s:28:"taxonomy_term_reference_link";s:6:"weight";i:10;s:5:"label";s:5:"above";s:8:"settings";a:0:{}s:6:"module";s:8:"taxonomy";}s:6:"teaser";a:5:{s:4:"type";s:28:"taxonomy_term_reference_link";s:6:"weight";i:10;s:5:"label";s:5:"above";s:8:"settings";a:0:{}s:6:"module";s:8:"taxonomy";}}s:8:"settings";a:1:{s:18:"user_register_form";b:0;}s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '12', 'field_id' => '1', 'field_name' => 'comment_body', 'entity_type' => 'comment', 'bundle' => 'comment_node_forum', 'data' => 'a:6:{s:5:"label";s:7:"Comment";s:8:"settings";a:2:{s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:8:"required";b:1;s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:6:"weight";i:0;s:8:"settings";a:0:{}s:6:"module";s:4:"text";}}s:6:"widget";a:4:{s:4:"type";s:13:"text_textarea";s:8:"settings";a:1:{s:4:"rows";i:5;}s:6:"weight";i:0;s:6:"module";s:4:"text";}s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '13', 'field_id' => '2', 'field_name' => 'body', 'entity_type' => 'node', 'bundle' => 'forum', 'data' => 'a:6:{s:5:"label";s:4:"Body";s:6:"widget";a:4:{s:4:"type";s:26:"text_textarea_with_summary";s:8:"settings";a:2:{s:4:"rows";i:20;s:12:"summary_rows";i:5;}s:6:"weight";i:1;s:6:"module";s:4:"text";}s:8:"settings";a:3:{s:15:"display_summary";b:1;s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:7:"display";a:2:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:11;}s:6:"teaser";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:23:"text_summary_or_trimmed";s:8:"settings";a:1:{s:11:"trim_length";i:600;}s:6:"module";s:4:"text";s:6:"weight";i:11;}}s:8:"required";b:0;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '14', 'field_id' => '1', 'field_name' => 'comment_body', 'entity_type' => 'comment', 'bundle' => 'comment_node_test_content_type', 'data' => 'a:6:{s:5:"label";s:7:"Comment";s:8:"settings";a:2:{s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:8:"required";b:1;s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:6:"weight";i:0;s:8:"settings";a:0:{}s:6:"module";s:4:"text";}}s:6:"widget";a:4:{s:4:"type";s:13:"text_textarea";s:8:"settings";a:1:{s:4:"rows";i:5;}s:6:"weight";s:1:"0";s:6:"module";s:4:"text";}s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '16', 'field_id' => '6', 'field_name' => 'field_boolean', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:7:"Boolean";s:6:"widget";a:5:{s:6:"weight";s:1:"1";s:4:"type";s:13:"options_onoff";s:6:"module";s:7:"options";s:6:"active";i:1;s:8:"settings";a:1:{s:13:"display_label";i:1;}}s:8:"settings";a:1:{s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"list_default";s:6:"weight";s:1:"0";s:8:"settings";a:0:{}s:6:"module";s:4:"list";}}s:8:"required";i:0;s:11:"description";s:19:"Some helpful text. ";s:13:"default_value";a:1:{i:0;a:1:{s:5:"value";i:0;}}}', 'deleted' => '0', )) ->values(array( 'id' => '17', 'field_id' => '7', 'field_name' => 'field_email', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:5:"Email";s:6:"widget";a:5:{s:6:"weight";s:1:"4";s:4:"type";s:15:"email_textfield";s:6:"module";s:5:"email";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"size";s:2:"60";}}s:8:"settings";a:1:{s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:13:"email_default";s:6:"weight";s:1:"1";s:8:"settings";a:0:{}s:6:"module";s:5:"email";}}s:8:"required";i:0;s:11:"description";s:20:"The email help text.";s:13:"default_value";a:1:{i:0;a:1:{s:5:"email";s:19:"default@example.com";}}}', 'deleted' => '0', )) ->values(array( 'id' => '18', 'field_id' => '8', 'field_name' => 'field_phone', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:5:"Phone";s:6:"widget";a:5:{s:6:"weight";s:1:"6";s:4:"type";s:15:"phone_textfield";s:6:"module";s:5:"phone";s:6:"active";i:0;s:8:"settings";a:0:{}}s:8:"settings";a:6:{s:18:"phone_country_code";i:1;s:26:"phone_default_country_code";s:1:"1";s:20:"phone_int_max_length";i:15;s:18:"ca_phone_separator";s:1:"-";s:20:"ca_phone_parentheses";i:1;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:5:"phone";s:6:"weight";s:1:"2";s:8:"settings";a:0:{}s:6:"module";s:5:"phone";}}s:8:"required";i:1;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '19', 'field_id' => '9', 'field_name' => 'field_date', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:6:{s:5:"label";s:4:"Date";s:6:"widget";a:5:{s:6:"weight";s:1:"2";s:4:"type";s:11:"date_select";s:6:"module";s:4:"date";s:6:"active";i:1;s:8:"settings";a:6:{s:12:"input_format";s:13:"m/d/Y - H:i:s";s:19:"input_format_custom";s:0:"";s:10:"year_range";s:5:"-3:+3";s:9:"increment";s:2:"15";s:14:"label_position";s:5:"above";s:10:"text_parts";a:0:{}}}s:8:"settings";a:5:{s:13:"default_value";s:3:"now";s:18:"default_value_code";s:0:"";s:14:"default_value2";s:4:"same";s:19:"default_value_code2";s:0:"";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"date_default";s:6:"weight";s:1:"3";s:8:"settings";a:5:{s:11:"format_type";s:4:"long";s:15:"multiple_number";s:0:"";s:13:"multiple_from";s:0:"";s:11:"multiple_to";s:0:"";s:6:"fromto";s:4:"both";}s:6:"module";s:4:"date";}}s:8:"required";i:0;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '20', 'field_id' => '10', 'field_name' => 'field_date_with_end_time', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:6:{s:5:"label";s:18:"Date With End Time";s:6:"widget";a:5:{s:6:"weight";s:1:"3";s:4:"type";s:9:"date_text";s:6:"module";s:4:"date";s:6:"active";i:1;s:8:"settings";a:6:{s:12:"input_format";s:13:"m/d/Y - H:i:s";s:19:"input_format_custom";s:0:"";s:10:"year_range";s:5:"-3:+3";s:9:"increment";i:15;s:14:"label_position";s:5:"above";s:10:"text_parts";a:0:{}}}s:8:"settings";a:5:{s:13:"default_value";s:3:"now";s:18:"default_value_code";s:0:"";s:14:"default_value2";s:4:"same";s:19:"default_value_code2";s:0:"";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"date_default";s:6:"weight";s:1:"4";s:8:"settings";a:5:{s:11:"format_type";s:4:"long";s:15:"multiple_number";s:0:"";s:13:"multiple_from";s:0:"";s:11:"multiple_to";s:0:"";s:6:"fromto";s:4:"both";}s:6:"module";s:4:"date";}}s:8:"required";i:0;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '21', 'field_id' => '11', 'field_name' => 'field_file', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:6:{s:5:"label";s:4:"File";s:6:"widget";a:5:{s:6:"weight";s:1:"5";s:4:"type";s:12:"file_generic";s:6:"module";s:4:"file";s:6:"active";i:1;s:8:"settings";a:1:{s:18:"progress_indicator";s:8:"throbber";}}s:8:"settings";a:5:{s:14:"file_directory";s:0:"";s:15:"file_extensions";s:15:"txt pdf ods odf";s:12:"max_filesize";s:5:"10 MB";s:17:"description_field";i:1;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"file_default";s:6:"weight";s:1:"5";s:8:"settings";a:0:{}s:6:"module";s:4:"file";}}s:8:"required";i:0;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '22', 'field_id' => '12', 'field_name' => 'field_float', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:5:"Float";s:6:"widget";a:5:{s:6:"weight";s:1:"7";s:4:"type";s:6:"number";s:6:"module";s:6:"number";s:6:"active";i:0;s:8:"settings";a:0:{}}s:8:"settings";a:5:{s:3:"min";s:6:"-3.756";s:3:"max";s:5:"18.56";s:6:"prefix";s:12:"Prefix value";s:6:"suffix";s:12:"Suffix value";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:14:"number_decimal";s:6:"weight";s:1:"6";s:8:"settings";a:4:{s:18:"thousand_separator";s:1:" ";s:17:"decimal_separator";s:1:".";s:5:"scale";i:2;s:13:"prefix_suffix";b:1;}s:6:"module";s:6:"number";}}s:8:"required";i:0;s:11:"description";s:22:"Some floaty help text.";s:13:"default_value";a:1:{i:0;a:1:{s:5:"value";s:3:"1.2";}}}', 'deleted' => '0', )) ->values(array( 'id' => '23', 'field_id' => '13', 'field_name' => 'field_images', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:6:{s:5:"label";s:6:"Images";s:6:"widget";a:5:{s:6:"weight";s:1:"8";s:4:"type";s:11:"image_image";s:6:"module";s:5:"image";s:6:"active";i:1;s:8:"settings";a:2:{s:18:"progress_indicator";s:8:"throbber";s:19:"preview_image_style";s:9:"thumbnail";}}s:8:"settings";a:9:{s:14:"file_directory";s:0:"";s:15:"file_extensions";s:16:"png gif jpg jpeg";s:12:"max_filesize";s:5:"15 MB";s:14:"max_resolution";s:9:"1000x1000";s:14:"min_resolution";s:3:"1x1";s:9:"alt_field";i:1;s:11:"title_field";i:1;s:13:"default_image";i:0;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:5:"image";s:6:"weight";s:1:"7";s:8:"settings";a:2:{s:11:"image_style";s:0:"";s:10:"image_link";s:0:"";}s:6:"module";s:5:"image";}}s:8:"required";i:1;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '24', 'field_id' => '14', 'field_name' => 'field_integer', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:7:"Integer";s:6:"widget";a:5:{s:6:"weight";s:1:"9";s:4:"type";s:6:"number";s:6:"module";s:6:"number";s:6:"active";i:0;s:8:"settings";a:0:{}}s:8:"settings";a:5:{s:3:"min";s:1:"1";s:3:"max";s:2:"25";s:6:"prefix";s:3:"abc";s:6:"suffix";s:3:"xyz";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:14:"number_integer";s:6:"weight";s:1:"8";s:8:"settings";a:4:{s:18:"thousand_separator";s:1:" ";s:17:"decimal_separator";s:1:".";s:5:"scale";i:0;s:13:"prefix_suffix";b:1;}s:6:"module";s:6:"number";}}s:8:"required";i:1;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '25', 'field_id' => '15', 'field_name' => 'field_link', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:4:"Link";s:6:"widget";a:5:{s:6:"weight";s:2:"10";s:4:"type";s:10:"link_field";s:6:"module";s:4:"link";s:6:"active";i:0;s:8:"settings";a:0:{}}s:8:"settings";a:12:{s:12:"absolute_url";i:1;s:12:"validate_url";i:1;s:3:"url";i:0;s:5:"title";s:8:"optional";s:11:"title_value";s:19:"Unused Static Title";s:27:"title_label_use_field_label";i:0;s:15:"title_maxlength";s:3:"128";s:7:"display";a:1:{s:10:"url_cutoff";s:2:"81";}s:10:"attributes";a:6:{s:6:"target";s:6:"_blank";s:3:"rel";s:8:"nofollow";s:18:"configurable_class";i:0;s:5:"class";s:7:"classes";s:18:"configurable_title";i:1;s:5:"title";s:0:"";}s:10:"rel_remove";s:19:"rel_remove_external";s:13:"enable_tokens";i:1;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"link_default";s:6:"weight";s:1:"9";s:8:"settings";a:0:{}s:6:"module";s:4:"link";}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '26', 'field_id' => '16', 'field_name' => 'field_text_list', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:9:"Text List";s:6:"widget";a:5:{s:6:"weight";s:2:"11";s:4:"type";s:14:"options_select";s:6:"module";s:7:"options";s:6:"active";i:1;s:8:"settings";a:0:{}}s:8:"settings";a:1:{s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"list_default";s:6:"weight";s:2:"10";s:8:"settings";a:0:{}s:6:"module";s:4:"list";}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '27', 'field_id' => '17', 'field_name' => 'field_integer_list', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:12:"Integer List";s:6:"widget";a:5:{s:6:"weight";s:2:"12";s:4:"type";s:15:"options_buttons";s:6:"module";s:7:"options";s:6:"active";i:1;s:8:"settings";a:0:{}}s:8:"settings";a:1:{s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"list_default";s:6:"weight";s:2:"11";s:8:"settings";a:0:{}s:6:"module";s:4:"list";}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '28', 'field_id' => '18', 'field_name' => 'field_long_text', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:9:"Long text";s:6:"widget";a:5:{s:6:"weight";s:2:"13";s:4:"type";s:26:"text_textarea_with_summary";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:2:{s:4:"rows";s:2:"19";s:12:"summary_rows";i:5;}}s:8:"settings";a:3:{s:15:"text_processing";s:1:"1";s:15:"display_summary";i:0;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:6:"weight";s:2:"12";s:8:"settings";a:0:{}s:6:"module";s:4:"text";}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '30', 'field_id' => '20', 'field_name' => 'field_term_reference', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:14:"Term Reference";s:6:"widget";a:5:{s:6:"weight";s:2:"14";s:4:"type";s:21:"taxonomy_autocomplete";s:6:"module";s:8:"taxonomy";s:6:"active";i:0;s:8:"settings";a:2:{s:4:"size";i:60;s:17:"autocomplete_path";s:21:"taxonomy/autocomplete";}}s:8:"settings";a:1:{s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:4:{s:5:"label";s:5:"above";s:4:"type";s:6:"hidden";s:6:"weight";s:2:"13";s:8:"settings";a:0:{}}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '31', 'field_id' => '21', 'field_name' => 'field_text', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:4:"Text";s:6:"widget";a:5:{s:6:"weight";s:2:"15";s:4:"type";s:14:"text_textfield";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"size";s:2:"55";}}s:8:"settings";a:2:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:4:{s:5:"label";s:5:"above";s:4:"type";s:6:"hidden";s:6:"weight";s:2:"14";s:8:"settings";a:0:{}}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '32', 'field_id' => '14', 'field_name' => 'field_integer', 'entity_type' => 'comment', 'bundle' => 'comment_node_test_content_type', 'data' => 'a:7:{s:5:"label";s:7:"Integer";s:6:"widget";a:5:{s:6:"weight";s:1:"2";s:4:"type";s:6:"number";s:6:"module";s:6:"number";s:6:"active";i:0;s:8:"settings";a:0:{}}s:8:"settings";a:5:{s:3:"min";s:0:"";s:3:"max";s:0:"";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:14:"number_integer";s:8:"settings";a:4:{s:18:"thousand_separator";s:1:" ";s:17:"decimal_separator";s:1:".";s:5:"scale";i:0;s:13:"prefix_suffix";b:1;}s:6:"module";s:6:"number";s:6:"weight";i:1;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '33', 'field_id' => '11', 'field_name' => 'field_file', 'entity_type' => 'user', 'bundle' => 'user', 'data' => 'a:6:{s:5:"label";s:4:"File";s:6:"widget";a:5:{s:6:"weight";s:1:"8";s:4:"type";s:12:"file_generic";s:6:"module";s:4:"file";s:6:"active";i:1;s:8:"settings";a:1:{s:18:"progress_indicator";s:8:"throbber";}}s:8:"settings";a:5:{s:14:"file_directory";s:0:"";s:15:"file_extensions";s:3:"txt";s:12:"max_filesize";s:0:"";s:17:"description_field";i:0;s:18:"user_register_form";i:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"file_default";s:8:"settings";a:0:{}s:6:"module";s:4:"file";s:6:"weight";i:0;}}s:8:"required";i:0;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '34', 'field_id' => '15', 'field_name' => 'field_link', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:7:{s:5:"label";s:4:"Link";s:6:"widget";a:5:{s:6:"weight";s:2:"10";s:4:"type";s:10:"link_field";s:6:"module";s:4:"link";s:6:"active";i:0;s:8:"settings";a:0:{}}s:8:"settings";a:12:{s:12:"absolute_url";i:1;s:12:"validate_url";i:1;s:3:"url";i:0;s:5:"title";s:8:"disabled";s:11:"title_value";s:19:"Unused Static Title";s:27:"title_label_use_field_label";i:0;s:15:"title_maxlength";s:3:"128";s:7:"display";a:1:{s:10:"url_cutoff";s:2:"81";}s:10:"attributes";a:6:{s:6:"target";s:6:"_blank";s:3:"rel";s:8:"nofollow";s:18:"configurable_class";i:0;s:5:"class";s:7:"classes";s:18:"configurable_title";i:1;s:5:"title";s:0:"";}s:10:"rel_remove";s:19:"rel_remove_external";s:13:"enable_tokens";i:1;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"link_default";s:6:"weight";s:1:"9";s:8:"settings";a:0:{}s:6:"module";s:4:"link";}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '35', 'field_id' => '14', 'field_name' => 'field_integer', 'entity_type' => 'taxonomy_term', 'bundle' => 'test_vocabulary', 'data' => 'a:7:{s:5:"label";s:7:"Integer";s:6:"widget";a:5:{s:6:"weight";s:1:"2";s:4:"type";s:6:"number";s:6:"module";s:6:"number";s:6:"active";i:0;s:8:"settings";a:0:{}}s:8:"settings";a:5:{s:3:"min";s:0:"";s:3:"max";s:0:"";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:14:"number_integer";s:8:"settings";a:4:{s:18:"thousand_separator";s:0:"";s:17:"decimal_separator";s:1:".";s:5:"scale";i:0;s:13:"prefix_suffix";b:1;}s:6:"module";s:6:"number";s:6:"weight";i:0;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '36', 'field_id' => '14', 'field_name' => 'field_integer', 'entity_type' => 'user', 'bundle' => 'user', 'data' => 'a:7:{s:5:"label";s:7:"Integer";s:6:"widget";a:5:{s:6:"weight";s:1:"9";s:4:"type";s:6:"number";s:6:"module";s:6:"number";s:6:"active";i:0;s:8:"settings";a:0:{}}s:8:"settings";a:5:{s:3:"min";s:1:"1";s:3:"max";s:2:"25";s:6:"prefix";s:3:"abc";s:6:"suffix";s:3:"xyz";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:14:"number_integer";s:6:"weight";s:1:"8";s:8:"settings";a:4:{s:18:"thousand_separator";s:1:" ";s:17:"decimal_separator";s:1:".";s:5:"scale";i:0;s:13:"prefix_suffix";b:1;}s:6:"module";s:6:"number";}}s:8:"required";i:1;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '37', 'field_id' => '15', 'field_name' => 'field_link', 'entity_type' => 'node', 'bundle' => 'blog', 'data' => 'a:7:{s:5:"label";s:4:"Link";s:6:"widget";a:5:{s:6:"weight";s:2:"10";s:4:"type";s:10:"link_field";s:6:"module";s:4:"link";s:6:"active";i:0;s:8:"settings";a:0:{}}s:8:"settings";a:12:{s:12:"absolute_url";i:1;s:12:"validate_url";i:1;s:3:"url";i:0;s:5:"title";s:8:"required";s:11:"title_value";s:19:"Unused Static Title";s:27:"title_label_use_field_label";i:0;s:15:"title_maxlength";s:3:"128";s:7:"display";a:1:{s:10:"url_cutoff";s:2:"81";}s:10:"attributes";a:6:{s:6:"target";s:6:"_blank";s:3:"rel";s:8:"nofollow";s:18:"configurable_class";i:0;s:5:"class";s:7:"classes";s:18:"configurable_title";i:1;s:5:"title";s:0:"";}s:10:"rel_remove";s:19:"rel_remove_external";s:13:"enable_tokens";i:1;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"link_default";s:6:"weight";s:1:"9";s:8:"settings";a:0:{}s:6:"module";s:4:"link";}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '38', 'field_id' => '22', 'field_name' => 'field_node_entityreference', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:21:"Node Entity Reference";s:6:"widget";a:5:{s:6:"weight";s:2:"16";s:4:"type";s:28:"entityreference_autocomplete";s:6:"module";s:15:"entityreference";s:6:"active";i:1;s:8:"settings";a:3:{s:14:"match_operator";s:8:"CONTAINS";s:4:"size";s:2:"60";s:4:"path";s:0:"";}}s:8:"settings";a:1:{s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:21:"entityreference_label";s:8:"settings";a:1:{s:4:"link";b:0;}s:6:"module";s:15:"entityreference";s:6:"weight";i:15;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '39', 'field_id' => '23', 'field_name' => 'field_user_entityreference', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:21:"User Entity Reference";s:6:"widget";a:5:{s:6:"weight";s:2:"17";s:4:"type";s:15:"options_buttons";s:6:"module";s:7:"options";s:6:"active";i:1;s:8:"settings";a:0:{}}s:8:"settings";a:1:{s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:21:"entityreference_label";s:8:"settings";a:1:{s:4:"link";b:0;}s:6:"module";s:15:"entityreference";s:6:"weight";i:16;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '40', 'field_id' => '24', 'field_name' => 'field_term_entityreference', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:21:"Term Entity Reference";s:6:"widget";a:5:{s:6:"weight";s:2:"18";s:4:"type";s:33:"entityreference_autocomplete_tags";s:6:"module";s:15:"entityreference";s:6:"active";i:1;s:8:"settings";a:3:{s:14:"match_operator";s:8:"CONTAINS";s:4:"size";s:2:"60";s:4:"path";s:0:"";}}s:8:"settings";a:2:{s:9:"behaviors";a:1:{s:14:"taxonomy-index";a:1:{s:6:"status";b:1;}}s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:21:"entityreference_label";s:8:"settings";a:1:{s:4:"link";b:0;}s:6:"module";s:15:"entityreference";s:6:"weight";i:17;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '41', 'field_id' => '20', 'field_name' => 'field_term_reference', 'entity_type' => 'taxonomy_term', 'bundle' => 'test_vocabulary', 'data' => 'a:7:{s:5:"label";s:14:"Term Reference";s:6:"widget";a:5:{s:6:"weight";s:2:"14";s:4:"type";s:21:"taxonomy_autocomplete";s:6:"module";s:8:"taxonomy";s:6:"active";i:0;s:8:"settings";a:2:{s:4:"size";i:60;s:17:"autocomplete_path";s:21:"taxonomy/autocomplete";}}s:8:"settings";a:1:{s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:4:{s:5:"label";s:5:"above";s:4:"type";s:6:"hidden";s:6:"weight";s:2:"13";s:8:"settings";a:0:{}}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '42', 'field_id' => '25', 'field_name' => 'field_private_file', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:6:{s:5:"label";s:12:"Private file";s:6:"widget";a:5:{s:6:"weight";s:2:"19";s:4:"type";s:12:"file_generic";s:6:"module";s:4:"file";s:6:"active";i:1;s:8:"settings";a:1:{s:18:"progress_indicator";s:8:"throbber";}}s:8:"settings";a:5:{s:14:"file_directory";s:0:"";s:15:"file_extensions";s:3:"txt";s:12:"max_filesize";s:0:"";s:17:"description_field";i:0;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"file_default";s:8:"settings";a:0:{}s:6:"module";s:4:"file";s:6:"weight";i:18;}}s:8:"required";i:0;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '43', 'field_id' => '26', 'field_name' => 'field_text_plain', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:7:{s:5:"label";s:10:"Text plain";s:6:"widget";a:5:{s:6:"weight";s:2:"11";s:4:"type";s:14:"text_textfield";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"size";s:2:"60";}}s:8:"settings";a:2:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:11;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '44', 'field_id' => '27', 'field_name' => 'field_text_filtered', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:7:{s:5:"label";s:13:"Text filtered";s:6:"widget";a:5:{s:6:"weight";s:2:"12";s:4:"type";s:14:"text_textfield";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"size";s:2:"60";}}s:8:"settings";a:2:{s:15:"text_processing";s:1:"1";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:12;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '45', 'field_id' => '28', 'field_name' => 'field_text_plain_filtered', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:7:{s:5:"label";s:23:"Text plain and filtered";s:6:"widget";a:5:{s:6:"weight";s:2:"13";s:4:"type";s:14:"text_textfield";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"size";s:2:"60";}}s:8:"settings";a:2:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:13;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '46', 'field_id' => '29', 'field_name' => 'field_text_long_plain', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:7:{s:5:"label";s:15:"Text long plain";s:6:"widget";a:5:{s:6:"weight";s:2:"14";s:4:"type";s:13:"text_textarea";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"rows";s:1:"5";}}s:8:"settings";a:2:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:14;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '47', 'field_id' => '30', 'field_name' => 'field_text_long_filtered', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:7:{s:5:"label";s:18:"Text long filtered";s:6:"widget";a:5:{s:6:"weight";s:2:"15";s:4:"type";s:13:"text_textarea";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"rows";s:1:"5";}}s:8:"settings";a:2:{s:15:"text_processing";s:1:"1";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:15;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '48', 'field_id' => '31', 'field_name' => 'field_text_long_plain_filtered', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:7:{s:5:"label";s:28:"Text long plain and filtered";s:6:"widget";a:5:{s:6:"weight";s:2:"16";s:4:"type";s:13:"text_textarea";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"rows";s:1:"5";}}s:8:"settings";a:2:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:16;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '49', 'field_id' => '32', 'field_name' => 'field_text_sum_plain', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:7:{s:5:"label";s:18:"Text summary plain";s:6:"widget";a:5:{s:6:"weight";s:2:"17";s:4:"type";s:26:"text_textarea_with_summary";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:2:{s:4:"rows";s:2:"20";s:12:"summary_rows";i:5;}}s:8:"settings";a:3:{s:15:"text_processing";s:1:"0";s:15:"display_summary";i:0;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:17;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '50', 'field_id' => '33', 'field_name' => 'field_text_sum_filtered', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:7:{s:5:"label";s:21:"Text summary filtered";s:6:"widget";a:5:{s:6:"weight";s:2:"18";s:4:"type";s:26:"text_textarea_with_summary";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:2:{s:4:"rows";s:2:"20";s:12:"summary_rows";i:5;}}s:8:"settings";a:3:{s:15:"text_processing";s:1:"1";s:15:"display_summary";i:0;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:18;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '51', 'field_id' => '34', 'field_name' => 'field_text_sum_plain_filtered', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:7:{s:5:"label";s:31:"Text summary plain and filtered";s:6:"widget";a:5:{s:6:"weight";s:2:"19";s:4:"type";s:26:"text_textarea_with_summary";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:2:{s:4:"rows";s:2:"20";s:12:"summary_rows";i:5;}}s:8:"settings";a:3:{s:15:"text_processing";s:1:"0";s:15:"display_summary";i:0;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:19;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '52', 'field_id' => '26', 'field_name' => 'field_text_plain', 'entity_type' => 'node', 'bundle' => 'page', 'data' => 'a:7:{s:5:"label";s:10:"Text plain";s:6:"widget";a:5:{s:6:"weight";s:2:"-2";s:4:"type";s:14:"text_textfield";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"size";s:2:"60";}}s:8:"settings";a:2:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:1;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '53', 'field_id' => '27', 'field_name' => 'field_text_filtered', 'entity_type' => 'node', 'bundle' => 'page', 'data' => 'a:7:{s:5:"label";s:13:"Text filtered";s:6:"widget";a:5:{s:6:"weight";s:1:"0";s:4:"type";s:14:"text_textfield";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"size";s:2:"60";}}s:8:"settings";a:2:{s:15:"text_processing";s:1:"1";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:2;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '54', 'field_id' => '28', 'field_name' => 'field_text_plain_filtered', 'entity_type' => 'node', 'bundle' => 'page', 'data' => 'a:7:{s:5:"label";s:23:"Text plain and filtered";s:6:"widget";a:5:{s:6:"weight";s:1:"2";s:4:"type";s:14:"text_textfield";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"size";s:2:"60";}}s:8:"settings";a:2:{s:15:"text_processing";s:1:"1";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:3;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '55', 'field_id' => '29', 'field_name' => 'field_text_long_plain', 'entity_type' => 'node', 'bundle' => 'page', 'data' => 'a:7:{s:5:"label";s:15:"Text long plain";s:6:"widget";a:5:{s:6:"weight";s:1:"4";s:4:"type";s:13:"text_textarea";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"rows";s:1:"5";}}s:8:"settings";a:2:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:4;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '56', 'field_id' => '30', 'field_name' => 'field_text_long_filtered', 'entity_type' => 'node', 'bundle' => 'page', 'data' => 'a:7:{s:5:"label";s:18:"Text long filtered";s:6:"widget";a:5:{s:6:"weight";s:1:"6";s:4:"type";s:13:"text_textarea";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"rows";s:1:"5";}}s:8:"settings";a:2:{s:15:"text_processing";s:1:"1";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:5;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '57', 'field_id' => '31', 'field_name' => 'field_text_long_plain_filtered', 'entity_type' => 'node', 'bundle' => 'page', 'data' => 'a:7:{s:5:"label";s:28:"Text long plain and filtered";s:6:"widget";a:5:{s:6:"weight";s:1:"8";s:4:"type";s:13:"text_textarea";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"rows";s:1:"5";}}s:8:"settings";a:2:{s:15:"text_processing";s:1:"1";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:6;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '58', 'field_id' => '32', 'field_name' => 'field_text_sum_plain', 'entity_type' => 'node', 'bundle' => 'page', 'data' => 'a:7:{s:5:"label";s:18:"Text summary plain";s:6:"widget";a:5:{s:6:"weight";s:2:"10";s:4:"type";s:26:"text_textarea_with_summary";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:2:{s:4:"rows";s:2:"20";s:12:"summary_rows";i:5;}}s:8:"settings";a:3:{s:15:"text_processing";s:1:"0";s:15:"display_summary";i:0;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:7;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '59', 'field_id' => '33', 'field_name' => 'field_text_sum_filtered', 'entity_type' => 'node', 'bundle' => 'page', 'data' => 'a:7:{s:5:"label";s:21:"Text summary filtered";s:6:"widget";a:5:{s:6:"weight";s:2:"12";s:4:"type";s:26:"text_textarea_with_summary";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:2:{s:4:"rows";s:2:"20";s:12:"summary_rows";i:5;}}s:8:"settings";a:3:{s:15:"text_processing";s:1:"1";s:15:"display_summary";i:0;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:8;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '60', 'field_id' => '34', 'field_name' => 'field_text_sum_plain_filtered', 'entity_type' => 'node', 'bundle' => 'page', 'data' => 'a:7:{s:5:"label";s:31:"Text summary plain and filtered";s:6:"widget";a:5:{s:6:"weight";s:2:"14";s:4:"type";s:26:"text_textarea_with_summary";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:2:{s:4:"rows";s:2:"20";s:12:"summary_rows";i:5;}}s:8:"settings";a:3:{s:15:"text_processing";s:1:"1";s:15:"display_summary";i:0;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:9;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '61', 'field_id' => '35', 'field_name' => 'field_datetime_without_time', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:6:{s:5:"label";s:21:"Datetime without time";s:6:"widget";a:5:{s:6:"weight";s:1:"2";s:4:"type";s:11:"date_select";s:6:"module";s:4:"date";s:6:"active";i:1;s:8:"settings";a:6:{s:12:"input_format";s:13:"m/d/Y - H:i:s";s:19:"input_format_custom";s:0:"";s:10:"year_range";s:5:"-3:+3";s:9:"increment";s:2:"15";s:14:"label_position";s:5:"above";s:10:"text_parts";a:0:{}}}s:8:"settings";a:5:{s:13:"default_value";s:3:"now";s:18:"default_value_code";s:0:"";s:14:"default_value2";s:4:"same";s:19:"default_value_code2";s:0:"";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"date_default";s:6:"weight";s:1:"3";s:8:"settings";a:5:{s:11:"format_type";s:4:"long";s:15:"multiple_number";s:0:"";s:13:"multiple_from";s:0:"";s:11:"multiple_to";s:0:"";s:6:"fromto";s:4:"both";}s:6:"module";s:4:"date";}}s:8:"required";i:0;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '62', 'field_id' => '36', 'field_name' => 'field_date_without_time', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:6:{s:5:"label";s:17:"Date without time";s:6:"widget";a:5:{s:6:"weight";s:1:"2";s:4:"type";s:11:"date_select";s:6:"module";s:4:"date";s:6:"active";i:1;s:8:"settings";a:6:{s:12:"input_format";s:13:"m/d/Y - H:i:s";s:19:"input_format_custom";s:0:"";s:10:"year_range";s:5:"-3:+3";s:9:"increment";s:2:"15";s:14:"label_position";s:5:"above";s:10:"text_parts";a:0:{}}}s:8:"settings";a:5:{s:13:"default_value";s:3:"now";s:18:"default_value_code";s:0:"";s:14:"default_value2";s:4:"same";s:19:"default_value_code2";s:0:"";s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"date_default";s:6:"weight";s:1:"3";s:8:"settings";a:5:{s:11:"format_type";s:4:"long";s:15:"multiple_number";s:0:"";s:13:"multiple_from";s:0:"";s:11:"multiple_to";s:0:"";s:6:"fromto";s:4:"both";}s:6:"module";s:4:"date";}}s:8:"required";i:0;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->values(array( 'id' => '63', 'field_id' => '37', 'field_name' => 'field_float_list', 'entity_type' => 'node', 'bundle' => 'test_content_type', 'data' => 'a:7:{s:5:"label";s:10:"Float List";s:6:"widget";a:5:{s:6:"weight";s:2:"20";s:4:"type";s:14:"options_select";s:6:"module";s:7:"options";s:6:"active";i:1;s:8:"settings";a:0:{}}s:8:"settings";a:1:{s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"list_default";s:8:"settings";a:0:{}s:6:"module";s:4:"list";s:6:"weight";i:19;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '64', 'field_id' => '38', 'field_name' => 'field_reference', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:7:{s:5:"label";s:9:"Reference";s:6:"widget";a:5:{s:6:"weight";s:2:"20";s:4:"type";s:14:"options_select";s:6:"module";s:7:"options";s:6:"active";i:1;s:8:"settings";a:0:{}}s:8:"settings";a:1:{s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:21:"entityreference_label";s:6:"weight";s:2:"20";s:8:"settings";a:2:{s:13:"bypass_access";i:0;s:4:"link";i:1;}s:6:"module";s:15:"entityreference";}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '65', 'field_id' => '39', 'field_name' => 'field_reference_2', 'entity_type' => 'node', 'bundle' => 'article', 'data' => 'a:6:{s:5:"label";s:11:"Reference 2";s:6:"widget";a:4:{s:4:"type";s:14:"options_select";s:6:"weight";s:2:"21";s:8:"settings";a:0:{}s:6:"module";s:7:"options";}s:8:"settings";a:1:{s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:21:"entityreference_label";s:8:"settings";a:2:{s:4:"link";b:0;s:13:"bypass_access";b:0;}s:6:"module";s:15:"entityreference";s:6:"weight";i:21;}}s:8:"required";b:0;s:11:"description";s:0:"";}', 'deleted' => '0', )) ->execute(); $connection->schema()->createTable('field_data_body', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'body_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), 'body_summary' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), 'body_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_body') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'body_value', 'body_summary', 'body_format', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'body_value' => "...is that it's the absolute best show ever. Trust me, I would know.", 'body_summary' => '', 'body_format' => 'filtered_html', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '0', 'body_value' => "is - ...is that it's the absolute best show ever. Trust me, I would know.", 'body_summary' => '', 'body_format' => 'filtered_html', )) ->execute(); $connection->schema()->createTable('field_data_comment_body', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'comment_body_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), 'comment_body_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_comment_body') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'comment_body_value', 'comment_body_format', )) ->values(array( 'entity_type' => 'comment', 'bundle' => 'comment_node_test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'comment_body_value' => 'This is a comment', 'comment_body_format' => 'filtered_html', )) ->execute(); $connection->schema()->createTable('field_data_field_boolean', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_boolean_value' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_boolean') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_boolean_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_boolean_value' => '1', )) ->execute(); $connection->schema()->createTable('field_data_field_date', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_date_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '100', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_date') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_date_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_date_value' => '2015-01-20 04:15:00', )) ->execute(); $connection->schema()->createTable('field_data_field_date_with_end_time', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_date_with_end_time_value' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', ), 'field_date_with_end_time_value2' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_date_with_end_time') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_date_with_end_time_value', 'field_date_with_end_time_value2', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_date_with_end_time_value' => '1421727300', 'field_date_with_end_time_value2' => '1421727300', )) ->execute(); $connection->schema()->createTable('field_data_field_datetime_without_time', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_datetime_without_time_value' => array( 'mysql_type' => 'datetime', 'pgsql_type' => 'timestamp without time zone', 'sqlite_type' => 'varchar', 'sqlsrv_type' => 'smalldatetime', 'not null' => FALSE, ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_datetime_without_time') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_datetime_without_time_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_datetime_without_time_value' => '2015-01-20 00:00:00', )) ->execute(); $connection->schema()->createTable('field_data_field_date_without_time', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_date_without_time_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '100', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_date_without_time') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_date_without_time_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_date_without_time_value' => '2015-01-20T00:00:00', )) ->execute(); $connection->schema()->createTable('field_data_field_email', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_email_email' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_email') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_email_email', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_email_email' => 'default@example.com', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '1', 'field_email_email' => 'another@example.com', )) ->execute(); $connection->schema()->createTable('field_data_field_file', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_file_fid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_file_display' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '1', 'unsigned' => TRUE, ), 'field_file_description' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_file') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_file_fid', 'field_file_display', 'field_file_description', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_file_fid' => '2', 'field_file_display' => '1', 'field_file_description' => 'file desc', )) ->values(array( 'entity_type' => 'user', 'bundle' => 'user', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_file_fid' => '2', 'field_file_display' => '1', 'field_file_description' => 'file desc', )) ->execute(); $connection->schema()->createTable('field_data_field_float', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_float_value' => array( 'type' => 'numeric', 'not null' => FALSE, 'precision' => '10', 'scale' => '0', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_float') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_float_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_float_value' => '1', )) ->execute(); $connection->schema()->createTable('field_data_field_float_list', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_float_list_value' => array( 'type' => 'float', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_float_list_value' => array( 'field_float_list_value', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_float_list') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_float_list_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_float_list_value' => '3.1416', )) ->execute(); $connection->schema()->createTable('field_data_field_image', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_image_fid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_image_alt' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '512', ), 'field_image_title' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '1024', ), 'field_image_width' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_image_height' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_data_field_images', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_images_fid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_images_alt' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '512', ), 'field_images_title' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '1024', ), 'field_images_width' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_images_height' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_images') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_images_fid', 'field_images_alt', 'field_images_title', 'field_images_width', 'field_images_height', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_images_fid' => '1', 'field_images_alt' => 'alt text', 'field_images_title' => 'title text', 'field_images_width' => '93', 'field_images_height' => '93', )) ->execute(); $connection->schema()->createTable('field_data_field_integer', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_integer_value' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_integer') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_integer_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_integer_value' => '5', )) ->values(array( 'entity_type' => 'user', 'bundle' => 'user', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_integer_value' => '99', )) ->values(array( 'entity_type' => 'taxonomy_term', 'bundle' => 'test_vocabulary', 'deleted' => '0', 'entity_id' => '4', 'revision_id' => '4', 'language' => 'und', 'delta' => '0', 'field_integer_value' => '6', )) ->execute(); $connection->schema()->createTable('field_data_field_integer_list', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_integer_list_value' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_integer_list') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_integer_list_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_integer_list_value' => '7', )) ->execute(); $connection->schema()->createTable('field_data_field_link', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_link_url' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '2048', ), 'field_link_title' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), 'field_link_attributes' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_link') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_link_url', 'field_link_title', 'field_link_attributes', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_link_url' => 'http://google.com', 'field_link_title' => 'Click Here', 'field_link_attributes' => 'a:1:{s:5:"title";s:10:"Click Here";}', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_link_url' => '', 'field_link_title' => 'Home', 'field_link_attributes' => 'a:0:{}', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '0', 'field_link_url' => '', 'field_link_title' => 'Home', 'field_link_attributes' => 'a:1:{s:5:"title";s:0:"";}', )) ->execute(); $connection->schema()->createTable('field_data_field_long_text', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_long_text_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), 'field_long_text_summary' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), 'field_long_text_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_data_field_node_entityreference', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_node_entityreference_target_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_node_entityreference_target_id' => array( 'field_node_entityreference_target_id', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_node_entityreference') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_node_entityreference_target_id', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_node_entityreference_target_id' => '2', )) ->execute(); $connection->schema()->createTable('field_data_field_phone', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_phone_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_phone') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_phone_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '6', 'language' => 'und', 'delta' => '0', 'field_phone_value' => '99-99-99-99', )) ->execute(); $connection->schema()->createTable('field_data_field_private_file', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_private_file_fid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_private_file_display' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '1', 'unsigned' => TRUE, ), 'field_private_file_description' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_private_file_fid' => array( 'field_private_file_fid', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_private_file') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_private_file_fid', 'field_private_file_display', 'field_private_file_description', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '6', 'language' => 'und', 'delta' => '0', 'field_private_file_fid' => '4', 'field_private_file_display' => '1', 'field_private_file_description' => '', )) ->execute(); $connection->schema()->createTable('field_data_field_reference', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_reference_target_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_reference_target_id' => array( 'field_reference_target_id', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_reference') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_reference_target_id', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_reference_target_id' => '5', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '0', 'field_reference_target_id' => '4', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '4', 'revision_id' => '4', 'language' => 'und', 'delta' => '0', 'field_reference_target_id' => '3', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '5', 'revision_id' => '5', 'language' => 'und', 'delta' => '0', 'field_reference_target_id' => '2', )) ->execute(); $connection->schema()->createTable('field_data_field_reference_2', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_reference_2_target_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_reference_2_target_id' => array( 'field_reference_2_target_id', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_reference_2') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_reference_2_target_id', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_reference_2_target_id' => '5', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '0', 'field_reference_2_target_id' => '4', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '4', 'revision_id' => '4', 'language' => 'und', 'delta' => '0', 'field_reference_2_target_id' => '3', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '5', 'revision_id' => '5', 'language' => 'und', 'delta' => '0', 'field_reference_2_target_id' => '2', )) ->execute(); $connection->schema()->createTable('field_data_field_tags', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_tags_tid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_tags') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_tags_tid', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_tags_tid' => '9', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '1', 'field_tags_tid' => '14', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '2', 'field_tags_tid' => '17', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '0', 'field_tags_tid' => '9', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '1', 'field_tags_tid' => '14', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '2', 'field_tags_tid' => '17', )) ->execute(); $connection->schema()->createTable('field_data_field_term_entityreference', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_term_entityreference_target_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_term_entityreference_target_id' => array( 'field_term_entityreference_target_id', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_term_entityreference') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_term_entityreference_target_id', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_term_entityreference_target_id' => '17', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '1', 'field_term_entityreference_target_id' => '15', )) ->execute(); $connection->schema()->createTable('field_data_field_term_reference', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_term_reference_tid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_term_reference') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_term_reference_tid', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_term_reference_tid' => '4', )) ->values(array( 'entity_type' => 'taxonomy_term', 'bundle' => 'test_vocabulary', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_term_reference_tid' => '3', )) ->execute(); $connection->schema()->createTable('field_data_field_text', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '256', ), 'field_text_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_text') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_text_value', 'field_text_format', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_text_value' => 'qwerty', 'field_text_format' => NULL, )) ->execute(); $connection->schema()->createTable('field_data_field_text_filtered', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_filtered_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), 'field_text_filtered_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_filtered_format' => array( 'field_text_filtered_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_data_field_text_list', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_list_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_text_list') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_text_list_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_text_list_value' => 'Some more text', )) ->execute(); $connection->schema()->createTable('field_data_field_text_long_filtered', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_long_filtered_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_long_filtered_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_long_filtered_format' => array( 'field_text_long_filtered_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_data_field_text_long_plain', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_long_plain_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_long_plain_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_long_plain_format' => array( 'field_text_long_plain_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_data_field_text_long_plain_filtered', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_long_plain_filtered_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_long_plain_filtered_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_long_plain_filtered_format' => array( 'field_text_long_plain_filtered_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_data_field_text_plain', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_plain_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), 'field_text_plain_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_plain_format' => array( 'field_text_plain_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_data_field_text_plain_filtered', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_plain_filtered_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), 'field_text_plain_filtered_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_plain_filtered_format' => array( 'field_text_plain_filtered_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_data_field_text_sum_filtered', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_sum_filtered_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_sum_filtered_summary' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_sum_filtered_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_sum_filtered_format' => array( 'field_text_sum_filtered_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_data_field_text_sum_plain', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_sum_plain_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_sum_plain_summary' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_sum_plain_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_sum_plain_format' => array( 'field_text_sum_plain_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_data_field_text_sum_plain_filtered', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_sum_plain_filtered_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_sum_plain_filtered_summary' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_sum_plain_filtered_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_sum_plain_filtered_format' => array( 'field_text_sum_plain_filtered_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_data_field_user_entityreference', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_user_entityreference_target_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'entity_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_user_entityreference_target_id' => array( 'field_user_entityreference_target_id', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_field_user_entityreference') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_user_entityreference_target_id', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_user_entityreference_target_id' => '2', )) ->execute(); $connection->schema()->createTable('field_data_taxonomy_forums', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'taxonomy_forums_tid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_data_taxonomy_forums') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'taxonomy_forums_tid', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'forum', 'deleted' => '0', 'entity_id' => '6', 'revision_id' => '6', 'language' => 'und', 'delta' => '0', 'taxonomy_forums_tid' => '1', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'forum', 'deleted' => '0', 'entity_id' => '7', 'revision_id' => '7', 'language' => 'und', 'delta' => '0', 'taxonomy_forums_tid' => '1', )) ->execute(); $connection->schema()->createTable('field_revision_body', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'body_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), 'body_summary' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), 'body_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_body') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'body_value', 'body_summary', 'body_format', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'body_value' => "...is that it's the absolute best show ever. Trust me, I would know.", 'body_summary' => '', 'body_format' => 'filtered_html', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '0', 'body_value' => "is - ...is that it's the absolute best show ever. Trust me, I would know.", 'body_summary' => '', 'body_format' => 'filtered_html', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '4', 'revision_id' => '4', 'language' => 'und', 'delta' => '0', 'body_value' => 'is - Is that is it awesome.', 'body_summary' => '', 'body_format' => 'filtered_html', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '5', 'revision_id' => '5', 'language' => 'und', 'delta' => '0', 'body_value' => 'en - Is that is it awesome.', 'body_summary' => '', 'body_format' => 'filtered_html', )) ->execute(); $connection->schema()->createTable('field_revision_comment_body', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'comment_body_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), 'comment_body_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_comment_body') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'comment_body_value', 'comment_body_format', )) ->values(array( 'entity_type' => 'comment', 'bundle' => 'comment_node_test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'comment_body_value' => 'This is a comment', 'comment_body_format' => 'filtered_html', )) ->execute(); $connection->schema()->createTable('field_revision_field_boolean', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_boolean_value' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_boolean') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_boolean_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_boolean_value' => '1', )) ->execute(); $connection->schema()->createTable('field_revision_field_date', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_date_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '100', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_date') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_date_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_date_value' => '2015-01-20 04:15:00', )) ->execute(); $connection->schema()->createTable('field_revision_field_date_with_end_time', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_date_with_end_time_value' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', ), 'field_date_with_end_time_value2' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_date_with_end_time') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_date_with_end_time_value', 'field_date_with_end_time_value2', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_date_with_end_time_value' => '1421727300', 'field_date_with_end_time_value2' => '1421727300', )) ->execute(); $connection->schema()->createTable('field_revision_field_datetime_without_time', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_datetime_without_time_value' => array( 'mysql_type' => 'datetime', 'pgsql_type' => 'timestamp without time zone', 'sqlite_type' => 'varchar', 'sqlsrv_type' => 'smalldatetime', 'not null' => FALSE, ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_datetime_without_time') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_datetime_without_time_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_datetime_without_time_value' => '2015-01-20 00:00:00', )) ->execute(); $connection->schema()->createTable('field_revision_field_date_without_time', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_date_without_time_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '100', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_date_without_time') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_date_without_time_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_date_without_time_value' => '2015-01-20T00:00:00', )) ->execute(); $connection->schema()->createTable('field_revision_field_email', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_email_email' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_email') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_email_email', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_email_email' => 'default@example.com', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '1', 'field_email_email' => 'another@example.com', )) ->execute(); $connection->schema()->createTable('field_revision_field_file', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_file_fid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_file_display' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '1', 'unsigned' => TRUE, ), 'field_file_description' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_file') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_file_fid', 'field_file_display', 'field_file_description', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_file_fid' => '2', 'field_file_display' => '1', 'field_file_description' => 'file desc', )) ->values(array( 'entity_type' => 'user', 'bundle' => 'user', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_file_fid' => '2', 'field_file_display' => '1', 'field_file_description' => 'file desc', )) ->execute(); $connection->schema()->createTable('field_revision_field_float', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_float_value' => array( 'type' => 'numeric', 'not null' => FALSE, 'precision' => '10', 'scale' => '0', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_float') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_float_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_float_value' => '1', )) ->execute(); $connection->schema()->createTable('field_revision_field_float_list', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_float_list_value' => array( 'type' => 'float', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_float_list_value' => array( 'field_float_list_value', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_float_list') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_float_list_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_float_list_value' => '3.1416', )) ->execute(); $connection->schema()->createTable('field_revision_field_image', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_image_fid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_image_alt' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '512', ), 'field_image_title' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '1024', ), 'field_image_width' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_image_height' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_revision_field_images', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_images_fid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_images_alt' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '512', ), 'field_images_title' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '1024', ), 'field_images_width' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_images_height' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_images') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_images_fid', 'field_images_alt', 'field_images_title', 'field_images_width', 'field_images_height', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_images_fid' => '1', 'field_images_alt' => 'alt text', 'field_images_title' => 'title text', 'field_images_width' => '93', 'field_images_height' => '93', )) ->execute(); $connection->schema()->createTable('field_revision_field_integer', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_integer_value' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_integer') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_integer_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_integer_value' => '5', )) ->values(array( 'entity_type' => 'user', 'bundle' => 'user', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_integer_value' => '99', )) ->values(array( 'entity_type' => 'taxonomy_term', 'bundle' => 'test_vocabulary', 'deleted' => '0', 'entity_id' => '4', 'revision_id' => '4', 'language' => 'und', 'delta' => '0', 'field_integer_value' => '6', )) ->execute(); $connection->schema()->createTable('field_revision_field_integer_list', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_integer_list_value' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_integer_list') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_integer_list_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_integer_list_value' => '7', )) ->execute(); $connection->schema()->createTable('field_revision_field_link', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_link_url' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '2048', ), 'field_link_title' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), 'field_link_attributes' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_link') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_link_url', 'field_link_title', 'field_link_attributes', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_link_url' => 'http://google.com', 'field_link_title' => 'Click Here', 'field_link_attributes' => 'a:1:{s:5:"title";s:10:"Click Here";}', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_link_url' => '', 'field_link_title' => 'Home', 'field_link_attributes' => 'a:0:{}', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '0', 'field_link_url' => '', 'field_link_title' => 'Home', 'field_link_attributes' => 'a:1:{s:5:"title";s:0:"";}', )) ->execute(); $connection->schema()->createTable('field_revision_field_long_text', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_long_text_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), 'field_long_text_summary' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), 'field_long_text_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_revision_field_node_entityreference', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_node_entityreference_target_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_node_entityreference_target_id' => array( 'field_node_entityreference_target_id', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_node_entityreference') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_node_entityreference_target_id', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_node_entityreference_target_id' => '2', )) ->execute(); $connection->schema()->createTable('field_revision_field_phone', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_phone_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_phone') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_phone_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_phone_value' => '99-99-99-99', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '6', 'language' => 'und', 'delta' => '0', 'field_phone_value' => '99-99-99-99', )) ->execute(); $connection->schema()->createTable('field_revision_field_private_file', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_private_file_fid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_private_file_display' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '1', 'unsigned' => TRUE, ), 'field_private_file_description' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_private_file_fid' => array( 'field_private_file_fid', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_private_file') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_private_file_fid', 'field_private_file_display', 'field_private_file_description', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '6', 'language' => 'und', 'delta' => '0', 'field_private_file_fid' => '4', 'field_private_file_display' => '1', 'field_private_file_description' => '', )) ->execute(); $connection->schema()->createTable('field_revision_field_reference', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_reference_target_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_reference_target_id' => array( 'field_reference_target_id', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_reference') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_reference_target_id', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_reference_target_id' => '5', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '0', 'field_reference_target_id' => '4', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '4', 'revision_id' => '4', 'language' => 'und', 'delta' => '0', 'field_reference_target_id' => '3', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '5', 'revision_id' => '5', 'language' => 'und', 'delta' => '0', 'field_reference_target_id' => '2', )) ->execute(); $connection->schema()->createTable('field_revision_field_reference_2', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_reference_2_target_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_reference_2_target_id' => array( 'field_reference_2_target_id', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_reference_2') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_reference_2_target_id', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_reference_2_target_id' => '5', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '0', 'field_reference_2_target_id' => '4', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '4', 'revision_id' => '4', 'language' => 'und', 'delta' => '0', 'field_reference_2_target_id' => '3', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '5', 'revision_id' => '5', 'language' => 'und', 'delta' => '0', 'field_reference_2_target_id' => '2', )) ->execute(); $connection->schema()->createTable('field_revision_field_tags', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_tags_tid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_tags') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_tags_tid', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_tags_tid' => '9', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '0', 'field_tags_tid' => '9', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '1', 'field_tags_tid' => '14', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '1', 'field_tags_tid' => '14', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '2', 'field_tags_tid' => '17', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'article', 'deleted' => '0', 'entity_id' => '3', 'revision_id' => '3', 'language' => 'und', 'delta' => '2', 'field_tags_tid' => '17', )) ->execute(); $connection->schema()->createTable('field_revision_field_term_entityreference', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_term_entityreference_target_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_term_entityreference_target_id' => array( 'field_term_entityreference_target_id', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_term_entityreference') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_term_entityreference_target_id', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_term_entityreference_target_id' => '17', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '1', 'field_term_entityreference_target_id' => '15', )) ->execute(); $connection->schema()->createTable('field_revision_field_term_reference', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_term_reference_tid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_term_reference') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_term_reference_tid', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_term_reference_tid' => '4', )) ->values(array( 'entity_type' => 'taxonomy_term', 'bundle' => 'test_vocabulary', 'deleted' => '0', 'entity_id' => '2', 'revision_id' => '2', 'language' => 'und', 'delta' => '0', 'field_term_reference_tid' => '3', )) ->execute(); $connection->schema()->createTable('field_revision_field_text', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '256', ), 'field_text_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_text') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_text_value', 'field_text_format', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_text_value' => 'qwerty', 'field_text_format' => NULL, )) ->execute(); $connection->schema()->createTable('field_revision_field_text_filtered', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_filtered_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), 'field_text_filtered_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_filtered_format' => array( 'field_text_filtered_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_revision_field_text_list', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_list_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_text_list') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_text_list_value', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_text_list_value' => 'Some more text', )) ->execute(); $connection->schema()->createTable('field_revision_field_text_long_filtered', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_long_filtered_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_long_filtered_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_long_filtered_format' => array( 'field_text_long_filtered_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_revision_field_text_long_plain', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_long_plain_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_long_plain_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_long_plain_format' => array( 'field_text_long_plain_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_revision_field_text_long_plain_filtered', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_long_plain_filtered_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_long_plain_filtered_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_long_plain_filtered_format' => array( 'field_text_long_plain_filtered_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_revision_field_text_plain', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_plain_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), 'field_text_plain_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_plain_format' => array( 'field_text_plain_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_revision_field_text_plain_filtered', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_plain_filtered_value' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), 'field_text_plain_filtered_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_plain_filtered_format' => array( 'field_text_plain_filtered_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_revision_field_text_sum_filtered', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_sum_filtered_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_sum_filtered_summary' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_sum_filtered_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_sum_filtered_format' => array( 'field_text_sum_filtered_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_revision_field_text_sum_plain', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_sum_plain_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_sum_plain_summary' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_sum_plain_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_sum_plain_format' => array( 'field_text_sum_plain_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_revision_field_text_sum_plain_filtered', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_text_sum_plain_filtered_value' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_sum_plain_filtered_summary' => array( 'type' => 'text', 'not null' => FALSE, 'size' => 'big', ), 'field_text_sum_plain_filtered_format' => array( 'type' => 'varchar', 'not null' => FALSE, 'length' => '255', ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_text_sum_plain_filtered_format' => array( 'field_text_sum_plain_filtered_format', ), ), 'mysql_character_set' => 'utf8', )); $connection->schema()->createTable('field_revision_field_user_entityreference', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'tiny', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'field_user_entityreference_target_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'entity_id', 'revision_id', 'deleted', 'delta', 'language', ), 'indexes' => array( 'entity_type' => array( 'entity_type', ), 'bundle' => array( 'bundle', ), 'deleted' => array( 'deleted', ), 'entity_id' => array( 'entity_id', ), 'revision_id' => array( 'revision_id', ), 'language' => array( 'language', ), 'field_user_entityreference_target_id' => array( 'field_user_entityreference_target_id', ), ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_field_user_entityreference') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'field_user_entityreference_target_id', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'test_content_type', 'deleted' => '0', 'entity_id' => '1', 'revision_id' => '1', 'language' => 'und', 'delta' => '0', 'field_user_entityreference_target_id' => '2', )) ->execute(); $connection->schema()->createTable('field_revision_taxonomy_forums', array( 'fields' => array( 'entity_type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'bundle' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '128', 'default' => '', ), 'deleted' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'entity_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'revision_id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'language' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'delta' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'taxonomy_forums_tid' => array( 'type' => 'int', 'not null' => FALSE, 'size' => 'normal', 'unsigned' => TRUE, ), ), 'primary key' => array( 'entity_type', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', ), 'mysql_character_set' => 'utf8', )); $connection->insert('field_revision_taxonomy_forums') ->fields(array( 'entity_type', 'bundle', 'deleted', 'entity_id', 'revision_id', 'language', 'delta', 'taxonomy_forums_tid', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'forum', 'deleted' => '0', 'entity_id' => '6', 'revision_id' => '6', 'language' => 'und', 'delta' => '0', 'taxonomy_forums_tid' => '1', )) ->values(array( 'entity_type' => 'node', 'bundle' => 'forum', 'deleted' => '0', 'entity_id' => '7', 'revision_id' => '7', 'language' => 'und', 'delta' => '0', 'taxonomy_forums_tid' => '1', )) ->execute(); $connection->schema()->createTable('file_managed', array( 'fields' => array( 'fid' => array( 'type' => 'serial', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'uid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', 'unsigned' => TRUE, ), 'filename' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'uri' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'filemime' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'filesize' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', 'unsigned' => TRUE, ), 'status' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'timestamp' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', 'unsigned' => TRUE, ), ), 'primary key' => array( 'fid', ), 'mysql_character_set' => 'utf8', )); $connection->insert('file_managed') ->fields(array( 'fid', 'uid', 'filename', 'uri', 'filemime', 'filesize', 'status', 'timestamp', )) ->values(array( 'fid' => '1', 'uid' => '1', 'filename' => 'cube.jpeg', 'uri' => 'public://cube.jpeg', 'filemime' => 'image/jpeg', 'filesize' => '3620', 'status' => '1', 'timestamp' => '1421727515', )) ->values(array( 'fid' => '2', 'uid' => '1', 'filename' => 'ds9.txt', 'uri' => 'public://ds9.txt', 'filemime' => 'text/plain', 'filesize' => '4720', 'status' => '1', 'timestamp' => '1421727516', )) ->values(array( 'fid' => '3', 'uid' => '1', 'filename' => 'Babylon5.txt', 'uri' => 'private://Babylon5.txt', 'filemime' => 'text/plain', 'filesize' => '4', 'status' => '1', 'timestamp' => '1486104045', )) ->execute(); $connection->schema()->createTable('file_usage', array( 'fields' => array( 'fid' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'unsigned' => TRUE, ), 'module' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'default' => '', ), 'type' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', 'default' => '', ), 'id' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', 'unsigned' => TRUE, ), 'count' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', 'unsigned' => TRUE, ), ), 'primary key' => array( 'fid', 'module', 'type', 'id', ), 'mysql_character_set' => 'utf8', )); $connection->insert('file_usage') ->fields(array( 'fid', 'module', 'type', 'id', 'count', )) ->values(array( 'fid' => '1', 'module' => 'file', 'type' => 'node', 'id' => '1', 'count' => '3', )) ->values(array( 'fid' => '2', 'module' => 'file', 'type' => 'node', 'id' => '1', 'count' => '2', )) ->values(array( 'fid' => '2', 'module' => 'file', 'type' => 'user', 'id' => '2', 'count' => '1', )) ->values(array( 'fid' => '3', 'module' => 'file', 'type' => 'node', 'id' => '1', 'count' => '1', )) ->execute(); $connection->schema()->createTable('filter', array( 'fields' => array( 'format' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '255', ), 'module' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '64', 'default' => '', ), 'name' => array( 'type' => 'varchar', 'not null' => TRUE, 'length' => '32', 'default' => '', ), 'weight' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'status' => array( 'type' => 'int', 'not null' => TRUE, 'size' => 'normal', 'default' => '0', ), 'settings' => array( 'type' => 'blob', 'not null' => FALSE, 'size' => 'normal', ), ), 'primary key' => array( 'format', 'name', ), 'mysql_character_set' => 'utf8', )); $connection->insert('filter') ->fields(array( 'format', 'module', 'name', 'weight', 'status', 'settings', )) ->values(array( 'format' => 'custom_text_format', 'module' => 'filter', 'name' => 'filter_autop', 'weight' => '0', 'status' => '1', 'settings' => 'a:0:{}', )) ->values(array( 'format' => 'custom_text_format', 'module' => 'filter', 'name' => 'filter_html', 'weight' => '-10', 'status' => '1', 'settings' => 'a:3:{s:12:"allowed_html";s:82:"