/core/modules/migrate_drupal/tests/fixtures/drupal7.php
PHP | 19189 lines | 19056 code | 126 blank | 7 comment | 8 complexity | 5bf35c166f0ec228aa73b1e2cc1409f0 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
Large files files are truncated, but you can click here to view the full file
- <?php
- // @codingStandardsIgnoreFile
- /**
- * @file
- * A database agnostic dump for testing purposes.
- *
- * This file was generated by the Drupal 8.0 db-tools.php script.
- */
- use Drupal\Core\Database\Database;
- $connection = Database::getConnection();
- $connection->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' => '<img alt="D70olsu" src="http://i.imgur.com/D70Olsu.jpg?fb" /><p>When little Timmy had too much to drink, the family dog was forced into the role of designated driver.</p>',
- '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' => '<img alt="49b" src="http://i2.kym-cdn.com/news_feeds/icons/mobile/000/018/819/49b.jpg" /><p>The first two episodes of the much anticipated anime adaptation of <i>One Punch Man</i> were finally aired in Japan this month.</p>',
- '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' => '<img alt="336" src="http://i2.kym-cdn.com/photos/images/newsfeed/001/029/494/336.jpg" />',
- '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' => '<img alt="1a9" src="http://i3.kym-cdn.com/news_feeds/icons/mobile/000/018/824/1a9.jpg" /><p>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.</p>',
- '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' => '<img alt="3bc" src="http://i3.kym-cdn.com/news_feeds/icons/mobile/000/018/823/3bc.jpg" /><p>The earliest recorded example of a maternal insult joke comes from an ancient Babylonian tablet dated back to 1,500 <span class="caps">BCE</span>, which contains an incomplete riddle about a promiscuous mother.</p>',
- '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' => '<img alt="D8c" src="http://i1.kym-cdn.com/news_feeds/icons/mobile/000/018/826/d8c.jpg" /><p>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 <em>Ace Ventura</em> and <em>Independence Day</em> to <em>Zoolander</em> and <em>Meet the Parents</em>.</p>',
- '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' => '<img alt="E8c" src="http://i3.kym-cdn.com/news_feeds/icons/mobile/000/018/825/e8c.jpg" /><p>The archnemesis of <a href="/memes/ebola-chan">Ebola-chan</a> was born one year ago this week.</p>',
- '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' => '<img alt="C51" src="http://i2.kym-cdn.com/news_feeds/icons/original/000/018/827/c51.jpg" />',
- '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' => '<img alt="944" src="http://i2.kym-cdn.com/news_feeds/icons/mobile/000/018/828/944.jpg" /><p>In honor of next week being the real <a href="/memes/back-to-the-future-day">Back to the Future Day</a>, 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.</p>',
- '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' => '<img alt="937" src="http://i1.kym-cdn.com/news_feeds/icons/mobile/000/018/829/937.jpg" /><p>This series of awkward Tinder messages sent by a fake <a href="http://knowyourmeme.com/memes/chad-thundercock">Chad</a> Tinder profile has caused a recent surge in popularity of the corn emoji.</p>',
- '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',
- ),
- 'i18n_mode' => array(
- 'type' => 'int',
- 'not null' => TRUE,
- 'size' => 'normal',
- 'default' => '0',
- ),
- ),
- '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',
- 'i18n_mode',
- ))
- ->values(array(
- 'bid' => '1',
- 'module' => 'system',
- 'delta' => 'main',
- 'theme' => 'bartik',
- 'status' => '1',
- 'weight' => '0',
- 'region' => 'content',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->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',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '3',
- 'module' => 'node',
- 'delta' => 'recent',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '10',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '4',
- 'module' => 'user',
- 'delta' => 'login',
- 'theme' => 'bartik',
- 'status' => '1',
- 'weight' => '0',
- 'region' => 'sidebar_first',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => 'User login title',
- 'cache' => '-1',
- 'i18n_mode' => '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',
- 'i18n_mode' => '0',
- ))
- ->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',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '7',
- 'module' => 'system',
- 'delta' => 'help',
- 'theme' => 'bartik',
- 'status' => '1',
- 'weight' => '0',
- 'region' => 'help',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '8',
- 'module' => 'system',
- 'delta' => 'main',
- 'theme' => 'seven',
- 'status' => '1',
- 'weight' => '0',
- 'region' => 'content',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '9',
- 'module' => 'system',
- 'delta' => 'help',
- 'theme' => 'seven',
- 'status' => '1',
- 'weight' => '0',
- 'region' => 'help',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '10',
- 'module' => 'user',
- 'delta' => 'login',
- 'theme' => 'seven',
- 'status' => '1',
- 'weight' => '10',
- 'region' => 'content',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => 'User login title',
- 'cache' => '-1',
- 'i18n_mode' => '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',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '12',
- 'module' => 'search',
- 'delta' => 'form',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '-10',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '13',
- 'module' => 'comment',
- 'delta' => 'recent',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '14',
- 'module' => 'node',
- 'delta' => 'syndicate',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '15',
- 'module' => 'node',
- 'delta' => 'recent',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '16',
- 'module' => 'shortcut',
- 'delta' => 'shortcuts',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '17',
- 'module' => 'system',
- 'delta' => 'management',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->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',
- 'i18n_mode' => '0',
- ))
- ->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',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '20',
- 'module' => 'user',
- 'delta' => 'new',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '21',
- 'module' => 'user',
- 'delta' => 'online',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '22',
- 'module' => 'comment',
- 'delta' => 'recent',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '23',
- 'module' => 'node',
- 'delta' => 'syndicate',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '24',
- 'module' => 'shortcut',
- 'delta' => 'shortcuts',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->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',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '26',
- 'module' => 'system',
- 'delta' => 'navigation',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '27',
- 'module' => 'system',
- 'delta' => 'management',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->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',
- 'i18n_mode' => '0',
- ))
- ->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',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '30',
- 'module' => 'user',
- 'delta' => 'online',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '31',
- 'module' => 'blog',
- 'delta' => 'recent',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '32',
- 'module' => 'book',
- 'delta' => 'navigation',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '5',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '33',
- 'module' => 'locale',
- 'delta' => 'language',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '34',
- 'module' => 'forum',
- 'delta' => 'active',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-2',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '35',
- 'module' => 'forum',
- 'delta' => 'new',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-2',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '36',
- 'module' => 'blog',
- 'delta' => 'recent',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '37',
- 'module' => 'book',
- 'delta' => 'navigation',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '5',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '38',
- 'module' => 'locale',
- 'delta' => 'language',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '39',
- 'module' => 'forum',
- 'delta' => 'active',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-2',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '40',
- 'module' => 'forum',
- 'delta' => 'new',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-2',
- 'i18n_mode' => '0',
- ))
- ->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',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '42',
- 'module' => 'statistics',
- 'delta' => 'popular',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->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',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '44',
- 'module' => 'statistics',
- 'delta' => 'popular',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->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',
- 'i18n_mode' => '0',
- ))
- ->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',
- 'i18n_mode' => '0',
- ))
- ->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',
- 'i18n_mode' => '0',
- ))
- ->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',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '49',
- 'module' => 'locale',
- 'delta' => 'language_content',
- 'theme' => 'bartik',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->values(array(
- 'bid' => '50',
- 'module' => 'locale',
- 'delta' => 'language_content',
- 'theme' => 'seven',
- 'status' => '0',
- 'weight' => '0',
- 'region' => '-1',
- 'custom' => '0',
- 'visibility' => '0',
- 'pages' => '',
- 'title' => '',
- 'cache' => '-1',
- 'i18n_mode' => '0',
- ))
- ->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,
- …
Large files files are truncated, but you can click here to view the full file