PageRenderTime 1464ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 3ms

/core/modules/migrate_drupal/tests/fixtures/drupal7.php

http://github.com/drupal/drupal
PHP | 19189 lines | 19056 code | 126 blank | 7 comment | 8 complexity | 5bf35c166f0ec228aa73b1e2cc1409f0 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
  1. <?php
  2. // @codingStandardsIgnoreFile
  3. /**
  4. * @file
  5. * A database agnostic dump for testing purposes.
  6. *
  7. * This file was generated by the Drupal 8.0 db-tools.php script.
  8. */
  9. use Drupal\Core\Database\Database;
  10. $connection = Database::getConnection();
  11. $connection->schema()->createTable('accesslog', array(
  12. 'fields' => array(
  13. 'aid' => array(
  14. 'type' => 'serial',
  15. 'not null' => TRUE,
  16. 'size' => 'normal',
  17. ),
  18. 'sid' => array(
  19. 'type' => 'varchar',
  20. 'not null' => TRUE,
  21. 'length' => '128',
  22. 'default' => '',
  23. ),
  24. 'title' => array(
  25. 'type' => 'varchar',
  26. 'not null' => FALSE,
  27. 'length' => '255',
  28. ),
  29. 'path' => array(
  30. 'type' => 'varchar',
  31. 'not null' => FALSE,
  32. 'length' => '255',
  33. ),
  34. 'url' => array(
  35. 'type' => 'text',
  36. 'not null' => FALSE,
  37. 'size' => 'normal',
  38. ),
  39. 'hostname' => array(
  40. 'type' => 'varchar',
  41. 'not null' => FALSE,
  42. 'length' => '128',
  43. ),
  44. 'uid' => array(
  45. 'type' => 'int',
  46. 'not null' => FALSE,
  47. 'size' => 'normal',
  48. 'default' => '0',
  49. 'unsigned' => TRUE,
  50. ),
  51. 'timer' => array(
  52. 'type' => 'int',
  53. 'not null' => TRUE,
  54. 'size' => 'normal',
  55. 'default' => '0',
  56. 'unsigned' => TRUE,
  57. ),
  58. 'timestamp' => array(
  59. 'type' => 'int',
  60. 'not null' => TRUE,
  61. 'size' => 'normal',
  62. 'default' => '0',
  63. 'unsigned' => TRUE,
  64. ),
  65. ),
  66. 'primary key' => array(
  67. 'aid',
  68. ),
  69. 'mysql_character_set' => 'utf8',
  70. ));
  71. $connection->insert('accesslog')
  72. ->fields(array(
  73. 'aid',
  74. 'sid',
  75. 'title',
  76. 'path',
  77. 'url',
  78. 'hostname',
  79. 'uid',
  80. 'timer',
  81. 'timestamp',
  82. ))
  83. ->values(array(
  84. 'aid' => '92',
  85. 'sid' => 'a8ksMY2GH4yXK0-PsLNAlCv4zNnapnyCpx4lryZDEfk',
  86. 'title' => '',
  87. 'path' => 'node',
  88. 'url' => 'http://drupal7.local/?q=user/register',
  89. 'hostname' => '127.0.0.1',
  90. 'uid' => '0',
  91. 'timer' => '655',
  92. 'timestamp' => '1444944970',
  93. ))
  94. ->values(array(
  95. 'aid' => '93',
  96. 'sid' => 'e89G2redQpxRTIndbV3qH8snVR621DqSQ2s4vciJedA',
  97. 'title' => '',
  98. 'path' => 'node',
  99. 'url' => 'http://drupal7.local/',
  100. 'hostname' => '127.0.0.1',
  101. 'uid' => '0',
  102. 'timer' => '214',
  103. 'timestamp' => '1444944974',
  104. ))
  105. ->values(array(
  106. 'aid' => '94',
  107. 'sid' => 'KkVxQTCiKqKEGNcRs7GYrmXXbEk4szXCHVTknFkbiG0',
  108. 'title' => 'User account',
  109. 'path' => 'user/login',
  110. 'url' => '',
  111. 'hostname' => '127.0.0.1',
  112. 'uid' => '0',
  113. 'timer' => '259',
  114. 'timestamp' => '1444945094',
  115. ))
  116. ->values(array(
  117. 'aid' => '95',
  118. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  119. 'title' => 'My account',
  120. 'path' => 'user/login',
  121. 'url' => 'http://drupal7.local/?q=user/login',
  122. 'hostname' => '127.0.0.1',
  123. 'uid' => '1',
  124. 'timer' => '217',
  125. 'timestamp' => '1444945097',
  126. ))
  127. ->values(array(
  128. 'aid' => '96',
  129. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  130. 'title' => 'root',
  131. 'path' => 'user/1',
  132. 'url' => 'http://drupal7.local/?q=user/login',
  133. 'hostname' => '127.0.0.1',
  134. 'uid' => '1',
  135. 'timer' => '211',
  136. 'timestamp' => '1444945097',
  137. ))
  138. ->values(array(
  139. 'aid' => '97',
  140. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  141. 'title' => 'Modules',
  142. 'path' => 'admin/modules',
  143. 'url' => 'http://drupal7.local/user/1',
  144. 'hostname' => '127.0.0.1',
  145. 'uid' => '1',
  146. 'timer' => '619',
  147. 'timestamp' => '1444945104',
  148. ))
  149. ->values(array(
  150. 'aid' => '98',
  151. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  152. 'title' => 'Configuration',
  153. 'path' => 'admin/config',
  154. 'url' => 'http://drupal7.local/admin/modules',
  155. 'hostname' => '127.0.0.1',
  156. 'uid' => '1',
  157. 'timer' => '273',
  158. 'timestamp' => '1444945114',
  159. ))
  160. ->values(array(
  161. 'aid' => '99',
  162. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  163. 'title' => 'Languages',
  164. 'path' => 'admin/config/regional/language',
  165. 'url' => 'http://drupal7.local/admin/config',
  166. 'hostname' => '127.0.0.1',
  167. 'uid' => '1',
  168. 'timer' => '213',
  169. 'timestamp' => '1444945121',
  170. ))
  171. ->values(array(
  172. 'aid' => '100',
  173. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  174. 'title' => 'Languages',
  175. 'path' => 'admin/config/regional/language/add',
  176. 'url' => 'http://drupal7.local/admin/config/regional/language',
  177. 'hostname' => '127.0.0.1',
  178. 'uid' => '1',
  179. 'timer' => '148',
  180. 'timestamp' => '1444945122',
  181. ))
  182. ->values(array(
  183. 'aid' => '101',
  184. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  185. 'title' => 'Languages',
  186. 'path' => 'admin/config/regional/language/add',
  187. 'url' => 'http://drupal7.local/admin/config/regional/language/add',
  188. 'hostname' => '127.0.0.1',
  189. 'uid' => '1',
  190. 'timer' => '260',
  191. 'timestamp' => '1444945153',
  192. ))
  193. ->values(array(
  194. 'aid' => '102',
  195. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  196. 'title' => 'Languages',
  197. 'path' => 'admin/config/regional/language/add',
  198. 'url' => '',
  199. 'hostname' => '127.0.0.1',
  200. 'uid' => '1',
  201. 'timer' => '195',
  202. 'timestamp' => '1444945160',
  203. ))
  204. ->values(array(
  205. 'aid' => '103',
  206. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  207. 'title' => 'Languages',
  208. 'path' => 'admin/config/regional/language/add',
  209. 'url' => 'http://drupal7.local/?q=admin/config/regional/language/add',
  210. 'hostname' => '127.0.0.1',
  211. 'uid' => '1',
  212. 'timer' => '177',
  213. 'timestamp' => '1444945168',
  214. ))
  215. ->values(array(
  216. 'aid' => '104',
  217. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  218. 'title' => 'Languages',
  219. 'path' => 'admin/config/regional/language',
  220. 'url' => 'http://drupal7.local/?q=admin/config/regional/language/add',
  221. 'hostname' => '127.0.0.1',
  222. 'uid' => '1',
  223. 'timer' => '145',
  224. 'timestamp' => '1444945168',
  225. ))
  226. ->values(array(
  227. 'aid' => '105',
  228. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  229. 'title' => 'Languages',
  230. 'path' => 'admin/config/regional/language',
  231. 'url' => '',
  232. 'hostname' => '127.0.0.1',
  233. 'uid' => '1',
  234. 'timer' => '159',
  235. 'timestamp' => '1444945175',
  236. ))
  237. ->values(array(
  238. 'aid' => '106',
  239. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  240. 'title' => 'Languages',
  241. 'path' => 'admin/config/regional/language',
  242. 'url' => 'http://drupal7.local/?q=admin/config/regional/language',
  243. 'hostname' => '127.0.0.1',
  244. 'uid' => '1',
  245. 'timer' => '152',
  246. 'timestamp' => '1444945176',
  247. ))
  248. ->values(array(
  249. 'aid' => '107',
  250. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  251. 'title' => 'Languages',
  252. 'path' => 'admin/config/regional/language',
  253. 'url' => 'http://drupal7.local/?q=admin/config/regional/language',
  254. 'hostname' => '127.0.0.1',
  255. 'uid' => '1',
  256. 'timer' => '148',
  257. 'timestamp' => '1444945176',
  258. ))
  259. ->values(array(
  260. 'aid' => '108',
  261. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  262. 'title' => 'Structure',
  263. 'path' => 'admin/structure',
  264. 'url' => 'http://drupal7.local/admin/config/regional/language',
  265. 'hostname' => '127.0.0.1',
  266. 'uid' => '1',
  267. 'timer' => '156',
  268. 'timestamp' => '1444945206',
  269. ))
  270. ->values(array(
  271. 'aid' => '109',
  272. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  273. 'title' => 'Content types',
  274. 'path' => 'admin/structure/types',
  275. 'url' => 'http://drupal7.local/admin/structure',
  276. 'hostname' => '127.0.0.1',
  277. 'uid' => '1',
  278. 'timer' => '154',
  279. 'timestamp' => '1444945208',
  280. ))
  281. ->values(array(
  282. 'aid' => '110',
  283. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  284. 'title' => 'Blog entry',
  285. 'path' => 'admin/structure/types/manage/blog',
  286. 'url' => 'http://drupal7.local/admin/structure/types',
  287. 'hostname' => '127.0.0.1',
  288. 'uid' => '1',
  289. 'timer' => '203',
  290. 'timestamp' => '1444945211',
  291. ))
  292. ->values(array(
  293. 'aid' => '111',
  294. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  295. 'title' => 'Parent menu items',
  296. 'path' => 'admin/structure/menu/parents',
  297. 'url' => 'http://drupal7.local/admin/structure/types/manage/blog',
  298. 'hostname' => '127.0.0.1',
  299. 'uid' => '1',
  300. 'timer' => '211',
  301. 'timestamp' => '1444945211',
  302. ))
  303. ->values(array(
  304. 'aid' => '112',
  305. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  306. 'title' => 'Blog entry',
  307. 'path' => 'admin/structure/types/manage/blog',
  308. 'url' => 'http://drupal7.local/admin/structure/types/manage/blog',
  309. 'hostname' => '127.0.0.1',
  310. 'uid' => '1',
  311. 'timer' => '224',
  312. 'timestamp' => '1444945236',
  313. ))
  314. ->values(array(
  315. 'aid' => '113',
  316. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  317. 'title' => 'Parent menu items',
  318. 'path' => 'admin/structure/menu/parents',
  319. 'url' => 'http://drupal7.local/admin/structure/types/manage/blog',
  320. 'hostname' => '127.0.0.1',
  321. 'uid' => '1',
  322. 'timer' => '165',
  323. 'timestamp' => '1444945237',
  324. ))
  325. ->values(array(
  326. 'aid' => '114',
  327. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  328. 'title' => 'Blog entry',
  329. 'path' => 'admin/structure/types/manage/blog',
  330. 'url' => '',
  331. 'hostname' => '127.0.0.1',
  332. 'uid' => '1',
  333. 'timer' => '155',
  334. 'timestamp' => '1444945242',
  335. ))
  336. ->values(array(
  337. 'aid' => '115',
  338. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  339. 'title' => 'Parent menu items',
  340. 'path' => 'admin/structure/menu/parents',
  341. 'url' => 'http://drupal7.local/?q=admin/structure/types/manage/blog',
  342. 'hostname' => '127.0.0.1',
  343. 'uid' => '1',
  344. 'timer' => '217',
  345. 'timestamp' => '1444945242',
  346. ))
  347. ->values(array(
  348. 'aid' => '116',
  349. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  350. 'title' => 'Blog entry',
  351. 'path' => 'admin/structure/types/manage/blog',
  352. 'url' => 'http://drupal7.local/?q=admin/structure/types/manage/blog',
  353. 'hostname' => '127.0.0.1',
  354. 'uid' => '1',
  355. 'timer' => '667',
  356. 'timestamp' => '1444945246',
  357. ))
  358. ->values(array(
  359. 'aid' => '117',
  360. 'sid' => 'FA1BMWZvsAAE1G-OBMzfiJyA12sh588cOKSmEmxFQiA',
  361. 'title' => 'Content types',
  362. 'path' => 'admin/structure/types',
  363. 'url' => 'http://drupal7.local/?q=admin/structure/types/manage/blog',
  364. 'hostname' => '127.0.0.1',
  365. 'uid' => '1',
  366. 'timer' => '149',
  367. 'timestamp' => '1444945246',
  368. ))
  369. ->execute();
  370. $connection->schema()->createTable('actions', array(
  371. 'fields' => array(
  372. 'aid' => array(
  373. 'type' => 'varchar',
  374. 'not null' => TRUE,
  375. 'length' => '255',
  376. 'default' => '0',
  377. ),
  378. 'type' => array(
  379. 'type' => 'varchar',
  380. 'not null' => TRUE,
  381. 'length' => '32',
  382. 'default' => '',
  383. ),
  384. 'callback' => array(
  385. 'type' => 'varchar',
  386. 'not null' => TRUE,
  387. 'length' => '255',
  388. 'default' => '',
  389. ),
  390. 'parameters' => array(
  391. 'type' => 'blob',
  392. 'not null' => TRUE,
  393. 'size' => 'normal',
  394. ),
  395. 'label' => array(
  396. 'type' => 'varchar',
  397. 'not null' => TRUE,
  398. 'length' => '255',
  399. 'default' => '0',
  400. ),
  401. ),
  402. 'primary key' => array(
  403. 'aid',
  404. ),
  405. 'mysql_character_set' => 'utf8',
  406. ));
  407. $connection->insert('actions')
  408. ->fields(array(
  409. 'aid',
  410. 'type',
  411. 'callback',
  412. 'parameters',
  413. 'label',
  414. ))
  415. ->values(array(
  416. 'aid' => '2',
  417. 'type' => 'comment',
  418. 'callback' => 'comment_unpublish_by_keyword_action',
  419. 'parameters' => 'a:1:{s:8:"keywords";a:1:{i:0;s:6:"drupal";}}',
  420. 'label' => 'Unpublish comment containing keyword(s)',
  421. ))
  422. ->values(array(
  423. 'aid' => '3',
  424. 'type' => 'node',
  425. 'callback' => 'node_assign_owner_action',
  426. 'parameters' => 'a:1:{s:9:"owner_uid";s:1:"2";}',
  427. 'label' => 'Change the author of content',
  428. ))
  429. ->values(array(
  430. 'aid' => '4',
  431. 'type' => 'node',
  432. 'callback' => 'node_unpublish_by_keyword_action',
  433. 'parameters' => 'a:1:{s:8:"keywords";a:1:{i:0;s:6:"drupal";}}',
  434. 'label' => 'Unpublish content containing keyword(s)',
  435. ))
  436. ->values(array(
  437. 'aid' => '5',
  438. 'type' => 'system',
  439. 'callback' => 'system_message_action',
  440. 'parameters' => 'a:1:{s:7:"message";s:21:"Drupal migration test";}',
  441. 'label' => 'Display a message to the user',
  442. ))
  443. ->values(array(
  444. 'aid' => '6',
  445. 'type' => 'system',
  446. 'callback' => 'system_send_email_action',
  447. '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";}',
  448. 'label' => 'Send e-mail',
  449. ))
  450. ->values(array(
  451. 'aid' => '7',
  452. 'type' => 'system',
  453. 'callback' => 'system_goto_action',
  454. 'parameters' => 'a:1:{s:3:"url";s:22:"https://www.drupal.org";}',
  455. 'label' => 'Redirect to URL',
  456. ))
  457. ->values(array(
  458. 'aid' => 'comment_publish_action',
  459. 'type' => 'comment',
  460. 'callback' => 'comment_publish_action',
  461. 'parameters' => '',
  462. 'label' => 'Publish comment',
  463. ))
  464. ->values(array(
  465. 'aid' => 'comment_save_action',
  466. 'type' => 'comment',
  467. 'callback' => 'comment_save_action',
  468. 'parameters' => '',
  469. 'label' => 'Save comment',
  470. ))
  471. ->values(array(
  472. 'aid' => 'comment_unpublish_action',
  473. 'type' => 'comment',
  474. 'callback' => 'comment_unpublish_action',
  475. 'parameters' => '',
  476. 'label' => 'Unpublish comment',
  477. ))
  478. ->values(array(
  479. 'aid' => 'node_make_sticky_action',
  480. 'type' => 'node',
  481. 'callback' => 'node_make_sticky_action',
  482. 'parameters' => '',
  483. 'label' => 'Make content sticky',
  484. ))
  485. ->values(array(
  486. 'aid' => 'node_make_unsticky_action',
  487. 'type' => 'node',
  488. 'callback' => 'node_make_unsticky_action',
  489. 'parameters' => '',
  490. 'label' => 'Make content unsticky',
  491. ))
  492. ->values(array(
  493. 'aid' => 'node_promote_action',
  494. 'type' => 'node',
  495. 'callback' => 'node_promote_action',
  496. 'parameters' => '',
  497. 'label' => 'Promote content to front page',
  498. ))
  499. ->values(array(
  500. 'aid' => 'node_publish_action',
  501. 'type' => 'node',
  502. 'callback' => 'node_publish_action',
  503. 'parameters' => '',
  504. 'label' => 'Publish content',
  505. ))
  506. ->values(array(
  507. 'aid' => 'node_save_action',
  508. 'type' => 'node',
  509. 'callback' => 'node_save_action',
  510. 'parameters' => '',
  511. 'label' => 'Save content',
  512. ))
  513. ->values(array(
  514. 'aid' => 'node_unpromote_action',
  515. 'type' => 'node',
  516. 'callback' => 'node_unpromote_action',
  517. 'parameters' => '',
  518. 'label' => 'Remove content from front page',
  519. ))
  520. ->values(array(
  521. 'aid' => 'node_unpublish_action',
  522. 'type' => 'node',
  523. 'callback' => 'node_unpublish_action',
  524. 'parameters' => '',
  525. 'label' => 'Unpublish content',
  526. ))
  527. ->values(array(
  528. 'aid' => 'system_block_ip_action',
  529. 'type' => 'user',
  530. 'callback' => 'system_block_ip_action',
  531. 'parameters' => '',
  532. 'label' => 'Ban IP address of current user',
  533. ))
  534. ->values(array(
  535. 'aid' => 'user_block_user_action',
  536. 'type' => 'user',
  537. 'callback' => 'user_block_user_action',
  538. 'parameters' => '',
  539. 'label' => 'Block current user',
  540. ))
  541. ->execute();
  542. $connection->schema()->createTable('aggregator_category', array(
  543. 'fields' => array(
  544. 'cid' => array(
  545. 'type' => 'serial',
  546. 'not null' => TRUE,
  547. 'size' => 'normal',
  548. ),
  549. 'title' => array(
  550. 'type' => 'varchar',
  551. 'not null' => TRUE,
  552. 'length' => '255',
  553. 'default' => '',
  554. ),
  555. 'description' => array(
  556. 'type' => 'text',
  557. 'not null' => TRUE,
  558. 'size' => 'normal',
  559. ),
  560. 'block' => array(
  561. 'type' => 'int',
  562. 'not null' => TRUE,
  563. 'size' => 'normal',
  564. 'default' => '0',
  565. ),
  566. ),
  567. 'primary key' => array(
  568. 'cid',
  569. ),
  570. 'mysql_character_set' => 'utf8',
  571. ));
  572. $connection->schema()->createTable('aggregator_category_feed', array(
  573. 'fields' => array(
  574. 'fid' => array(
  575. 'type' => 'int',
  576. 'not null' => TRUE,
  577. 'size' => 'normal',
  578. 'default' => '0',
  579. ),
  580. 'cid' => array(
  581. 'type' => 'int',
  582. 'not null' => TRUE,
  583. 'size' => 'normal',
  584. 'default' => '0',
  585. ),
  586. ),
  587. 'primary key' => array(
  588. 'fid',
  589. 'cid',
  590. ),
  591. 'mysql_character_set' => 'utf8',
  592. ));
  593. $connection->schema()->createTable('aggregator_category_item', array(
  594. 'fields' => array(
  595. 'iid' => array(
  596. 'type' => 'int',
  597. 'not null' => TRUE,
  598. 'size' => 'normal',
  599. 'default' => '0',
  600. ),
  601. 'cid' => array(
  602. 'type' => 'int',
  603. 'not null' => TRUE,
  604. 'size' => 'normal',
  605. 'default' => '0',
  606. ),
  607. ),
  608. 'primary key' => array(
  609. 'iid',
  610. 'cid',
  611. ),
  612. 'mysql_character_set' => 'utf8',
  613. ));
  614. $connection->schema()->createTable('aggregator_feed', array(
  615. 'fields' => array(
  616. 'fid' => array(
  617. 'type' => 'serial',
  618. 'not null' => TRUE,
  619. 'size' => 'normal',
  620. ),
  621. 'title' => array(
  622. 'type' => 'varchar',
  623. 'not null' => TRUE,
  624. 'length' => '255',
  625. 'default' => '',
  626. ),
  627. 'url' => array(
  628. 'type' => 'text',
  629. 'not null' => TRUE,
  630. 'size' => 'normal',
  631. ),
  632. 'refresh' => array(
  633. 'type' => 'int',
  634. 'not null' => TRUE,
  635. 'size' => 'normal',
  636. 'default' => '0',
  637. ),
  638. 'checked' => array(
  639. 'type' => 'int',
  640. 'not null' => TRUE,
  641. 'size' => 'normal',
  642. 'default' => '0',
  643. ),
  644. 'queued' => array(
  645. 'type' => 'int',
  646. 'not null' => TRUE,
  647. 'size' => 'normal',
  648. 'default' => '0',
  649. ),
  650. 'link' => array(
  651. 'type' => 'text',
  652. 'not null' => TRUE,
  653. 'size' => 'normal',
  654. ),
  655. 'description' => array(
  656. 'type' => 'text',
  657. 'not null' => TRUE,
  658. 'size' => 'normal',
  659. ),
  660. 'image' => array(
  661. 'type' => 'text',
  662. 'not null' => TRUE,
  663. 'size' => 'normal',
  664. ),
  665. 'hash' => array(
  666. 'type' => 'varchar',
  667. 'not null' => TRUE,
  668. 'length' => '64',
  669. 'default' => '',
  670. ),
  671. 'etag' => array(
  672. 'type' => 'varchar',
  673. 'not null' => TRUE,
  674. 'length' => '255',
  675. 'default' => '',
  676. ),
  677. 'modified' => array(
  678. 'type' => 'int',
  679. 'not null' => TRUE,
  680. 'size' => 'normal',
  681. 'default' => '0',
  682. ),
  683. 'block' => array(
  684. 'type' => 'int',
  685. 'not null' => TRUE,
  686. 'size' => 'normal',
  687. 'default' => '0',
  688. ),
  689. ),
  690. 'primary key' => array(
  691. 'fid',
  692. ),
  693. 'mysql_character_set' => 'utf8',
  694. ));
  695. $connection->insert('aggregator_feed')
  696. ->fields(array(
  697. 'fid',
  698. 'title',
  699. 'url',
  700. 'refresh',
  701. 'checked',
  702. 'queued',
  703. 'link',
  704. 'description',
  705. 'image',
  706. 'hash',
  707. 'etag',
  708. 'modified',
  709. 'block',
  710. ))
  711. ->values(array(
  712. 'fid' => '1',
  713. 'title' => 'Know Your Meme',
  714. 'url' => 'http://knowyourmeme.com/newsfeed.rss',
  715. 'refresh' => '900',
  716. 'checked' => '1444944970',
  717. 'queued' => '0',
  718. 'link' => 'http://knowyourmeme.com',
  719. 'description' => 'New items added to the News Feed',
  720. 'image' => '',
  721. 'hash' => 'e6295b3ba81b24db62b41515494a7e9fb87979ff45045a1c946de5fa5abc9c52',
  722. 'etag' => '"bad5e20e4993f31c869cffd22f1645b9"',
  723. 'modified' => '0',
  724. 'block' => '5',
  725. ))
  726. ->execute();
  727. $connection->schema()->createTable('aggregator_item', array(
  728. 'fields' => array(
  729. 'iid' => array(
  730. 'type' => 'serial',
  731. 'not null' => TRUE,
  732. 'size' => 'normal',
  733. ),
  734. 'fid' => array(
  735. 'type' => 'int',
  736. 'not null' => TRUE,
  737. 'size' => 'normal',
  738. 'default' => '0',
  739. ),
  740. 'title' => array(
  741. 'type' => 'varchar',
  742. 'not null' => TRUE,
  743. 'length' => '255',
  744. 'default' => '',
  745. ),
  746. 'link' => array(
  747. 'type' => 'text',
  748. 'not null' => TRUE,
  749. 'size' => 'normal',
  750. ),
  751. 'author' => array(
  752. 'type' => 'varchar',
  753. 'not null' => TRUE,
  754. 'length' => '255',
  755. 'default' => '',
  756. ),
  757. 'description' => array(
  758. 'type' => 'text',
  759. 'not null' => TRUE,
  760. 'size' => 'normal',
  761. ),
  762. 'timestamp' => array(
  763. 'type' => 'int',
  764. 'not null' => FALSE,
  765. 'size' => 'normal',
  766. ),
  767. 'guid' => array(
  768. 'type' => 'text',
  769. 'not null' => TRUE,
  770. 'size' => 'normal',
  771. ),
  772. ),
  773. 'primary key' => array(
  774. 'iid',
  775. ),
  776. 'mysql_character_set' => 'utf8',
  777. ));
  778. $connection->insert('aggregator_item')
  779. ->fields(array(
  780. 'iid',
  781. 'fid',
  782. 'title',
  783. 'link',
  784. 'author',
  785. 'description',
  786. 'timestamp',
  787. 'guid',
  788. ))
  789. ->values(array(
  790. 'iid' => '2',
  791. 'fid' => '1',
  792. 'title' => 'Fido, Take the Wheel',
  793. 'link' => 'http://knowyourmeme.com/videos/127817-dogs',
  794. 'author' => '',
  795. '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>',
  796. 'timestamp' => '1444860534',
  797. 'guid' => 'post:18816',
  798. ))
  799. ->values(array(
  800. 'iid' => '3',
  801. 'fid' => '1',
  802. 'title' => 'One Punch Man Anime Premieres in Japan',
  803. 'link' => 'http://knowyourmeme.com/memes/subcultures/one-punch-man',
  804. 'author' => '',
  805. '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>',
  806. 'timestamp' => '1444863415',
  807. 'guid' => 'post:18819',
  808. ))
  809. ->values(array(
  810. 'iid' => '4',
  811. 'fid' => '1',
  812. 'title' => '’Tis the Season to Be Forever Alone',
  813. 'link' => 'http://knowyourmeme.com/photos/1029494-forever-alone',
  814. 'author' => '',
  815. 'description' => '<img alt="336" src="http://i2.kym-cdn.com/photos/images/newsfeed/001/029/494/336.jpg" />',
  816. 'timestamp' => '1444864413',
  817. 'guid' => 'post:18821',
  818. ))
  819. ->values(array(
  820. 'iid' => '5',
  821. 'fid' => '1',
  822. 'title' => 'Legend of Zelda: Symphony of The Goddesses',
  823. 'link' => 'http://knowyourmeme.com/videos/128124-the-legend-of-zelda',
  824. 'author' => '',
  825. '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>',
  826. 'timestamp' => '1444934645',
  827. 'guid' => 'post:18824',
  828. ))
  829. ->values(array(
  830. 'iid' => '6',
  831. 'fid' => '1',
  832. 'title' => '“Your Mom” Jokes',
  833. 'link' => 'http://knowyourmeme.com/memes/your-mom-jokes',
  834. 'author' => '',
  835. '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>',
  836. 'timestamp' => '1444928716',
  837. 'guid' => 'post:18823',
  838. ))
  839. ->values(array(
  840. 'iid' => '7',
  841. 'fid' => '1',
  842. 'title' => 'DBZ Voice Actors Dub Over Classic Movies',
  843. 'link' => 'http://knowyourmeme.com/videos/128169-dragon-ball',
  844. 'author' => '',
  845. '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>',
  846. 'timestamp' => '1444939569',
  847. 'guid' => 'post:18826',
  848. ))
  849. ->values(array(
  850. 'iid' => '8',
  851. 'fid' => '1',
  852. 'title' => 'Happy Birthday, Cure-chan!',
  853. 'link' => 'http://knowyourmeme.com/memes/cure-chan',
  854. 'author' => '',
  855. '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>',
  856. 'timestamp' => '1444938083',
  857. 'guid' => 'post:18825',
  858. ))
  859. ->values(array(
  860. 'iid' => '9',
  861. 'fid' => '1',
  862. 'title' => 'That Face When Retweets Ain’t Coming In',
  863. 'link' => 'http://knowyourmeme.com/photos/1029430-my-face-when',
  864. 'author' => '',
  865. 'description' => '<img alt="C51" src="http://i2.kym-cdn.com/news_feeds/icons/original/000/018/827/c51.jpg" />',
  866. 'timestamp' => '1444940736',
  867. 'guid' => 'post:18827',
  868. ))
  869. ->values(array(
  870. 'iid' => '10',
  871. 'fid' => '1',
  872. 'title' => 'Back to the Future Stars Talk Film’s Predictions',
  873. 'link' => 'http://knowyourmeme.com/videos/128173-back-to-the-future-day',
  874. 'author' => '',
  875. '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>',
  876. 'timestamp' => '1444943309',
  877. 'guid' => 'post:18828',
  878. ))
  879. ->values(array(
  880. 'iid' => '11',
  881. 'fid' => '1',
  882. 'title' => 'Chad Says Beta Things',
  883. 'link' => 'http://knowyourmeme.com/memes/chad-says-beta-things',
  884. 'author' => '',
  885. '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>',
  886. 'timestamp' => '1444944831',
  887. 'guid' => 'post:18829',
  888. ))
  889. ->execute();
  890. $connection->schema()->createTable('authmap', array(
  891. 'fields' => array(
  892. 'aid' => array(
  893. 'type' => 'serial',
  894. 'not null' => TRUE,
  895. 'size' => 'normal',
  896. 'unsigned' => TRUE,
  897. ),
  898. 'uid' => array(
  899. 'type' => 'int',
  900. 'not null' => TRUE,
  901. 'size' => 'normal',
  902. 'default' => '0',
  903. ),
  904. 'authname' => array(
  905. 'type' => 'varchar',
  906. 'not null' => TRUE,
  907. 'length' => '128',
  908. 'default' => '',
  909. ),
  910. 'module' => array(
  911. 'type' => 'varchar',
  912. 'not null' => TRUE,
  913. 'length' => '128',
  914. 'default' => '',
  915. ),
  916. ),
  917. 'primary key' => array(
  918. 'aid',
  919. ),
  920. 'mysql_character_set' => 'utf8',
  921. ));
  922. $connection->schema()->createTable('batch', array(
  923. 'fields' => array(
  924. 'bid' => array(
  925. 'type' => 'int',
  926. 'not null' => TRUE,
  927. 'size' => 'normal',
  928. 'unsigned' => TRUE,
  929. ),
  930. 'token' => array(
  931. 'type' => 'varchar',
  932. 'not null' => TRUE,
  933. 'length' => '64',
  934. ),
  935. 'timestamp' => array(
  936. 'type' => 'int',
  937. 'not null' => TRUE,
  938. 'size' => 'normal',
  939. ),
  940. 'batch' => array(
  941. 'type' => 'blob',
  942. 'not null' => FALSE,
  943. 'size' => 'normal',
  944. ),
  945. ),
  946. 'primary key' => array(
  947. 'bid',
  948. ),
  949. 'mysql_character_set' => 'utf8',
  950. ));
  951. $connection->schema()->createTable('block', array(
  952. 'fields' => array(
  953. 'bid' => array(
  954. 'type' => 'serial',
  955. 'not null' => TRUE,
  956. 'size' => 'normal',
  957. ),
  958. 'module' => array(
  959. 'type' => 'varchar',
  960. 'not null' => TRUE,
  961. 'length' => '64',
  962. 'default' => '',
  963. ),
  964. 'delta' => array(
  965. 'type' => 'varchar',
  966. 'not null' => TRUE,
  967. 'length' => '32',
  968. 'default' => '0',
  969. ),
  970. 'theme' => array(
  971. 'type' => 'varchar',
  972. 'not null' => TRUE,
  973. 'length' => '64',
  974. 'default' => '',
  975. ),
  976. 'status' => array(
  977. 'type' => 'int',
  978. 'not null' => TRUE,
  979. 'size' => 'normal',
  980. 'default' => '0',
  981. ),
  982. 'weight' => array(
  983. 'type' => 'int',
  984. 'not null' => TRUE,
  985. 'size' => 'normal',
  986. 'default' => '0',
  987. ),
  988. 'region' => array(
  989. 'type' => 'varchar',
  990. 'not null' => TRUE,
  991. 'length' => '64',
  992. 'default' => '',
  993. ),
  994. 'custom' => array(
  995. 'type' => 'int',
  996. 'not null' => TRUE,
  997. 'size' => 'normal',
  998. 'default' => '0',
  999. ),
  1000. 'visibility' => array(
  1001. 'type' => 'int',
  1002. 'not null' => TRUE,
  1003. 'size' => 'normal',
  1004. 'default' => '0',
  1005. ),
  1006. 'pages' => array(
  1007. 'type' => 'text',
  1008. 'not null' => TRUE,
  1009. 'size' => 'normal',
  1010. ),
  1011. 'title' => array(
  1012. 'type' => 'varchar',
  1013. 'not null' => TRUE,
  1014. 'length' => '255',
  1015. 'default' => '',
  1016. ),
  1017. 'cache' => array(
  1018. 'type' => 'int',
  1019. 'not null' => TRUE,
  1020. 'size' => 'normal',
  1021. 'default' => '1',
  1022. ),
  1023. 'i18n_mode' => array(
  1024. 'type' => 'int',
  1025. 'not null' => TRUE,
  1026. 'size' => 'normal',
  1027. 'default' => '0',
  1028. ),
  1029. ),
  1030. 'primary key' => array(
  1031. 'bid',
  1032. ),
  1033. 'mysql_character_set' => 'utf8',
  1034. ));
  1035. $connection->insert('block')
  1036. ->fields(array(
  1037. 'bid',
  1038. 'module',
  1039. 'delta',
  1040. 'theme',
  1041. 'status',
  1042. 'weight',
  1043. 'region',
  1044. 'custom',
  1045. 'visibility',
  1046. 'pages',
  1047. 'title',
  1048. 'cache',
  1049. 'i18n_mode',
  1050. ))
  1051. ->values(array(
  1052. 'bid' => '1',
  1053. 'module' => 'system',
  1054. 'delta' => 'main',
  1055. 'theme' => 'bartik',
  1056. 'status' => '1',
  1057. 'weight' => '0',
  1058. 'region' => 'content',
  1059. 'custom' => '0',
  1060. 'visibility' => '0',
  1061. 'pages' => '',
  1062. 'title' => '',
  1063. 'cache' => '-1',
  1064. 'i18n_mode' => '0',
  1065. ))
  1066. ->values(array(
  1067. 'bid' => '2',
  1068. 'module' => 'search',
  1069. 'delta' => 'form',
  1070. 'theme' => 'bartik',
  1071. 'status' => '1',
  1072. 'weight' => '-1',
  1073. 'region' => 'sidebar_first',
  1074. 'custom' => '0',
  1075. 'visibility' => '0',
  1076. 'pages' => '',
  1077. 'title' => '',
  1078. 'cache' => '-1',
  1079. 'i18n_mode' => '0',
  1080. ))
  1081. ->values(array(
  1082. 'bid' => '3',
  1083. 'module' => 'node',
  1084. 'delta' => 'recent',
  1085. 'theme' => 'seven',
  1086. 'status' => '0',
  1087. 'weight' => '10',
  1088. 'region' => '-1',
  1089. 'custom' => '0',
  1090. 'visibility' => '0',
  1091. 'pages' => '',
  1092. 'title' => '',
  1093. 'cache' => '-1',
  1094. 'i18n_mode' => '0',
  1095. ))
  1096. ->values(array(
  1097. 'bid' => '4',
  1098. 'module' => 'user',
  1099. 'delta' => 'login',
  1100. 'theme' => 'bartik',
  1101. 'status' => '1',
  1102. 'weight' => '0',
  1103. 'region' => 'sidebar_first',
  1104. 'custom' => '0',
  1105. 'visibility' => '0',
  1106. 'pages' => '',
  1107. 'title' => 'User login title',
  1108. 'cache' => '-1',
  1109. 'i18n_mode' => '1',
  1110. ))
  1111. ->values(array(
  1112. 'bid' => '5',
  1113. 'module' => 'system',
  1114. 'delta' => 'navigation',
  1115. 'theme' => 'bartik',
  1116. 'status' => '1',
  1117. 'weight' => '0',
  1118. 'region' => 'sidebar_first',
  1119. 'custom' => '0',
  1120. 'visibility' => '0',
  1121. 'pages' => '',
  1122. 'title' => '',
  1123. 'cache' => '-1',
  1124. 'i18n_mode' => '0',
  1125. ))
  1126. ->values(array(
  1127. 'bid' => '6',
  1128. 'module' => 'system',
  1129. 'delta' => 'powered-by',
  1130. 'theme' => 'bartik',
  1131. 'status' => '1',
  1132. 'weight' => '10',
  1133. 'region' => 'footer',
  1134. 'custom' => '0',
  1135. 'visibility' => '0',
  1136. 'pages' => '',
  1137. 'title' => '',
  1138. 'cache' => '-1',
  1139. 'i18n_mode' => '0',
  1140. ))
  1141. ->values(array(
  1142. 'bid' => '7',
  1143. 'module' => 'system',
  1144. 'delta' => 'help',
  1145. 'theme' => 'bartik',
  1146. 'status' => '1',
  1147. 'weight' => '0',
  1148. 'region' => 'help',
  1149. 'custom' => '0',
  1150. 'visibility' => '0',
  1151. 'pages' => '',
  1152. 'title' => '',
  1153. 'cache' => '-1',
  1154. 'i18n_mode' => '0',
  1155. ))
  1156. ->values(array(
  1157. 'bid' => '8',
  1158. 'module' => 'system',
  1159. 'delta' => 'main',
  1160. 'theme' => 'seven',
  1161. 'status' => '1',
  1162. 'weight' => '0',
  1163. 'region' => 'content',
  1164. 'custom' => '0',
  1165. 'visibility' => '0',
  1166. 'pages' => '',
  1167. 'title' => '',
  1168. 'cache' => '-1',
  1169. 'i18n_mode' => '0',
  1170. ))
  1171. ->values(array(
  1172. 'bid' => '9',
  1173. 'module' => 'system',
  1174. 'delta' => 'help',
  1175. 'theme' => 'seven',
  1176. 'status' => '1',
  1177. 'weight' => '0',
  1178. 'region' => 'help',
  1179. 'custom' => '0',
  1180. 'visibility' => '0',
  1181. 'pages' => '',
  1182. 'title' => '',
  1183. 'cache' => '-1',
  1184. 'i18n_mode' => '0',
  1185. ))
  1186. ->values(array(
  1187. 'bid' => '10',
  1188. 'module' => 'user',
  1189. 'delta' => 'login',
  1190. 'theme' => 'seven',
  1191. 'status' => '1',
  1192. 'weight' => '10',
  1193. 'region' => 'content',
  1194. 'custom' => '0',
  1195. 'visibility' => '0',
  1196. 'pages' => '',
  1197. 'title' => 'User login title',
  1198. 'cache' => '-1',
  1199. 'i18n_mode' => '1',
  1200. ))
  1201. ->values(array(
  1202. 'bid' => '11',
  1203. 'module' => 'user',
  1204. 'delta' => 'new',
  1205. 'theme' => 'seven',
  1206. 'status' => '0',
  1207. 'weight' => '0',
  1208. 'region' => '-1',
  1209. 'custom' => '0',
  1210. 'visibility' => '0',
  1211. 'pages' => '',
  1212. 'title' => '',
  1213. 'cache' => '-1',
  1214. 'i18n_mode' => '0',
  1215. ))
  1216. ->values(array(
  1217. 'bid' => '12',
  1218. 'module' => 'search',
  1219. 'delta' => 'form',
  1220. 'theme' => 'seven',
  1221. 'status' => '0',
  1222. 'weight' => '-10',
  1223. 'region' => '-1',
  1224. 'custom' => '0',
  1225. 'visibility' => '0',
  1226. 'pages' => '',
  1227. 'title' => '',
  1228. 'cache' => '-1',
  1229. 'i18n_mode' => '0',
  1230. ))
  1231. ->values(array(
  1232. 'bid' => '13',
  1233. 'module' => 'comment',
  1234. 'delta' => 'recent',
  1235. 'theme' => 'bartik',
  1236. 'status' => '0',
  1237. 'weight' => '0',
  1238. 'region' => '-1',
  1239. 'custom' => '0',
  1240. 'visibility' => '0',
  1241. 'pages' => '',
  1242. 'title' => '',
  1243. 'cache' => '1',
  1244. 'i18n_mode' => '0',
  1245. ))
  1246. ->values(array(
  1247. 'bid' => '14',
  1248. 'module' => 'node',
  1249. 'delta' => 'syndicate',
  1250. 'theme' => 'bartik',
  1251. 'status' => '0',
  1252. 'weight' => '0',
  1253. 'region' => '-1',
  1254. 'custom' => '0',
  1255. 'visibility' => '0',
  1256. 'pages' => '',
  1257. 'title' => '',
  1258. 'cache' => '-1',
  1259. 'i18n_mode' => '0',
  1260. ))
  1261. ->values(array(
  1262. 'bid' => '15',
  1263. 'module' => 'node',
  1264. 'delta' => 'recent',
  1265. 'theme' => 'bartik',
  1266. 'status' => '0',
  1267. 'weight' => '0',
  1268. 'region' => '-1',
  1269. 'custom' => '0',
  1270. 'visibility' => '0',
  1271. 'pages' => '',
  1272. 'title' => '',
  1273. 'cache' => '1',
  1274. 'i18n_mode' => '0',
  1275. ))
  1276. ->values(array(
  1277. 'bid' => '16',
  1278. 'module' => 'shortcut',
  1279. 'delta' => 'shortcuts',
  1280. 'theme' => 'bartik',
  1281. 'status' => '0',
  1282. 'weight' => '0',
  1283. 'region' => '-1',
  1284. 'custom' => '0',
  1285. 'visibility' => '0',
  1286. 'pages' => '',
  1287. 'title' => '',
  1288. 'cache' => '-1',
  1289. 'i18n_mode' => '0',
  1290. ))
  1291. ->values(array(
  1292. 'bid' => '17',
  1293. 'module' => 'system',
  1294. 'delta' => 'management',
  1295. 'theme' => 'bartik',
  1296. 'status' => '0',
  1297. 'weight' => '0',
  1298. 'region' => '-1',
  1299. 'custom' => '0',
  1300. 'visibility' => '0',
  1301. 'pages' => '',
  1302. 'title' => '',
  1303. 'cache' => '-1',
  1304. 'i18n_mode' => '0',
  1305. ))
  1306. ->values(array(
  1307. 'bid' => '18',
  1308. 'module' => 'system',
  1309. 'delta' => 'user-menu',
  1310. 'theme' => 'bartik',
  1311. 'status' => '0',
  1312. 'weight' => '0',
  1313. 'region' => '-1',
  1314. 'custom' => '0',
  1315. 'visibility' => '0',
  1316. 'pages' => '',
  1317. 'title' => '',
  1318. 'cache' => '-1',
  1319. 'i18n_mode' => '0',
  1320. ))
  1321. ->values(array(
  1322. 'bid' => '19',
  1323. 'module' => 'system',
  1324. 'delta' => 'main-menu',
  1325. 'theme' => 'bartik',
  1326. 'status' => '0',
  1327. 'weight' => '0',
  1328. 'region' => '-1',
  1329. 'custom' => '0',
  1330. 'visibility' => '0',
  1331. 'pages' => '',
  1332. 'title' => '',
  1333. 'cache' => '-1',
  1334. 'i18n_mode' => '0',
  1335. ))
  1336. ->values(array(
  1337. 'bid' => '20',
  1338. 'module' => 'user',
  1339. 'delta' => 'new',
  1340. 'theme' => 'bartik',
  1341. 'status' => '0',
  1342. 'weight' => '0',
  1343. 'region' => '-1',
  1344. 'custom' => '0',
  1345. 'visibility' => '0',
  1346. 'pages' => '',
  1347. 'title' => '',
  1348. 'cache' => '1',
  1349. 'i18n_mode' => '0',
  1350. ))
  1351. ->values(array(
  1352. 'bid' => '21',
  1353. 'module' => 'user',
  1354. 'delta' => 'online',
  1355. 'theme' => 'bartik',
  1356. 'status' => '0',
  1357. 'weight' => '0',
  1358. 'region' => '-1',
  1359. 'custom' => '0',
  1360. 'visibility' => '0',
  1361. 'pages' => '',
  1362. 'title' => '',
  1363. 'cache' => '-1',
  1364. 'i18n_mode' => '0',
  1365. ))
  1366. ->values(array(
  1367. 'bid' => '22',
  1368. 'module' => 'comment',
  1369. 'delta' => 'recent',
  1370. 'theme' => 'seven',
  1371. 'status' => '0',
  1372. 'weight' => '0',
  1373. 'region' => '-1',
  1374. 'custom' => '0',
  1375. 'visibility' => '0',
  1376. 'pages' => '',
  1377. 'title' => '',
  1378. 'cache' => '1',
  1379. 'i18n_mode' => '0',
  1380. ))
  1381. ->values(array(
  1382. 'bid' => '23',
  1383. 'module' => 'node',
  1384. 'delta' => 'syndicate',
  1385. 'theme' => 'seven',
  1386. 'status' => '0',
  1387. 'weight' => '0',
  1388. 'region' => '-1',
  1389. 'custom' => '0',
  1390. 'visibility' => '0',
  1391. 'pages' => '',
  1392. 'title' => '',
  1393. 'cache' => '-1',
  1394. 'i18n_mode' => '0',
  1395. ))
  1396. ->values(array(
  1397. 'bid' => '24',
  1398. 'module' => 'shortcut',
  1399. 'delta' => 'shortcuts',
  1400. 'theme' => 'seven',
  1401. 'status' => '0',
  1402. 'weight' => '0',
  1403. 'region' => '-1',
  1404. 'custom' => '0',
  1405. 'visibility' => '0',
  1406. 'pages' => '',
  1407. 'title' => '',
  1408. 'cache' => '-1',
  1409. 'i18n_mode' => '0',
  1410. ))
  1411. ->values(array(
  1412. 'bid' => '25',
  1413. 'module' => 'system',
  1414. 'delta' => 'powered-by',
  1415. 'theme' => 'seven',
  1416. 'status' => '0',
  1417. 'weight' => '10',
  1418. 'region' => '-1',
  1419. 'custom' => '0',
  1420. 'visibility' => '0',
  1421. 'pages' => '',
  1422. 'title' => '',
  1423. 'cache' => '-1',
  1424. 'i18n_mode' => '0',
  1425. ))
  1426. ->values(array(
  1427. 'bid' => '26',
  1428. 'module' => 'system',
  1429. 'delta' => 'navigation',
  1430. 'theme' => 'seven',
  1431. 'status' => '0',
  1432. 'weight' => '0',
  1433. 'region' => '-1',
  1434. 'custom' => '0',
  1435. 'visibility' => '0',
  1436. 'pages' => '',
  1437. 'title' => '',
  1438. 'cache' => '-1',
  1439. 'i18n_mode' => '0',
  1440. ))
  1441. ->values(array(
  1442. 'bid' => '27',
  1443. 'module' => 'system',
  1444. 'delta' => 'management',
  1445. 'theme' => 'seven',
  1446. 'status' => '0',
  1447. 'weight' => '0',
  1448. 'region' => '-1',
  1449. 'custom' => '0',
  1450. 'visibility' => '0',
  1451. 'pages' => '',
  1452. 'title' => '',
  1453. 'cache' => '-1',
  1454. 'i18n_mode' => '0',
  1455. ))
  1456. ->values(array(
  1457. 'bid' => '28',
  1458. 'module' => 'system',
  1459. 'delta' => 'user-menu',
  1460. 'theme' => 'seven',
  1461. 'status' => '0',
  1462. 'weight' => '0',
  1463. 'region' => '-1',
  1464. 'custom' => '0',
  1465. 'visibility' => '0',
  1466. 'pages' => '',
  1467. 'title' => '',
  1468. 'cache' => '-1',
  1469. 'i18n_mode' => '0',
  1470. ))
  1471. ->values(array(
  1472. 'bid' => '29',
  1473. 'module' => 'system',
  1474. 'delta' => 'main-menu',
  1475. 'theme' => 'seven',
  1476. 'status' => '0',
  1477. 'weight' => '0',
  1478. 'region' => '-1',
  1479. 'custom' => '0',
  1480. 'visibility' => '0',
  1481. 'pages' => '',
  1482. 'title' => '',
  1483. 'cache' => '-1',
  1484. 'i18n_mode' => '0',
  1485. ))
  1486. ->values(array(
  1487. 'bid' => '30',
  1488. 'module' => 'user',
  1489. 'delta' => 'online',
  1490. 'theme' => 'seven',
  1491. 'status' => '0',
  1492. 'weight' => '0',
  1493. 'region' => '-1',
  1494. 'custom' => '0',
  1495. 'visibility' => '0',
  1496. 'pages' => '',
  1497. 'title' => '',
  1498. 'cache' => '-1',
  1499. 'i18n_mode' => '0',
  1500. ))
  1501. ->values(array(
  1502. 'bid' => '31',
  1503. 'module' => 'blog',
  1504. 'delta' => 'recent',
  1505. 'theme' => 'bartik',
  1506. 'status' => '0',
  1507. 'weight' => '0',
  1508. 'region' => '-1',
  1509. 'custom' => '0',
  1510. 'visibility' => '0',
  1511. 'pages' => '',
  1512. 'title' => '',
  1513. 'cache' => '1',
  1514. 'i18n_mode' => '0',
  1515. ))
  1516. ->values(array(
  1517. 'bid' => '32',
  1518. 'module' => 'book',
  1519. 'delta' => 'navigation',
  1520. 'theme' => 'bartik',
  1521. 'status' => '0',
  1522. 'weight' => '0',
  1523. 'region' => '-1',
  1524. 'custom' => '0',
  1525. 'visibility' => '0',
  1526. 'pages' => '',
  1527. 'title' => '',
  1528. 'cache' => '5',
  1529. 'i18n_mode' => '0',
  1530. ))
  1531. ->values(array(
  1532. 'bid' => '33',
  1533. 'module' => 'locale',
  1534. 'delta' => 'language',
  1535. 'theme' => 'bartik',
  1536. 'status' => '0',
  1537. 'weight' => '0',
  1538. 'region' => '-1',
  1539. 'custom' => '0',
  1540. 'visibility' => '0',
  1541. 'pages' => '',
  1542. 'title' => '',
  1543. 'cache' => '-1',
  1544. 'i18n_mode' => '0',
  1545. ))
  1546. ->values(array(
  1547. 'bid' => '34',
  1548. 'module' => 'forum',
  1549. 'delta' => 'active',
  1550. 'theme' => 'bartik',
  1551. 'status' => '0',
  1552. 'weight' => '0',
  1553. 'region' => '-1',
  1554. 'custom' => '0',
  1555. 'visibility' => '0',
  1556. 'pages' => '',
  1557. 'title' => '',
  1558. 'cache' => '-2',
  1559. 'i18n_mode' => '0',
  1560. ))
  1561. ->values(array(
  1562. 'bid' => '35',
  1563. 'module' => 'forum',
  1564. 'delta' => 'new',
  1565. 'theme' => 'bartik',
  1566. 'status' => '0',
  1567. 'weight' => '0',
  1568. 'region' => '-1',
  1569. 'custom' => '0',
  1570. 'visibility' => '0',
  1571. 'pages' => '',
  1572. 'title' => '',
  1573. 'cache' => '-2',
  1574. 'i18n_mode' => '0',
  1575. ))
  1576. ->values(array(
  1577. 'bid' => '36',
  1578. 'module' => 'blog',
  1579. 'delta' => 'recent',
  1580. 'theme' => 'seven',
  1581. 'status' => '0',
  1582. 'weight' => '0',
  1583. 'region' => '-1',
  1584. 'custom' => '0',
  1585. 'visibility' => '0',
  1586. 'pages' => '',
  1587. 'title' => '',
  1588. 'cache' => '1',
  1589. 'i18n_mode' => '0',
  1590. ))
  1591. ->values(array(
  1592. 'bid' => '37',
  1593. 'module' => 'book',
  1594. 'delta' => 'navigation',
  1595. 'theme' => 'seven',
  1596. 'status' => '0',
  1597. 'weight' => '0',
  1598. 'region' => '-1',
  1599. 'custom' => '0',
  1600. 'visibility' => '0',
  1601. 'pages' => '',
  1602. 'title' => '',
  1603. 'cache' => '5',
  1604. 'i18n_mode' => '0',
  1605. ))
  1606. ->values(array(
  1607. 'bid' => '38',
  1608. 'module' => 'locale',
  1609. 'delta' => 'language',
  1610. 'theme' => 'seven',
  1611. 'status' => '0',
  1612. 'weight' => '0',
  1613. 'region' => '-1',
  1614. 'custom' => '0',
  1615. 'visibility' => '0',
  1616. 'pages' => '',
  1617. 'title' => '',
  1618. 'cache' => '-1',
  1619. 'i18n_mode' => '0',
  1620. ))
  1621. ->values(array(
  1622. 'bid' => '39',
  1623. 'module' => 'forum',
  1624. 'delta' => 'active',
  1625. 'theme' => 'seven',
  1626. 'status' => '0',
  1627. 'weight' => '0',
  1628. 'region' => '-1',
  1629. 'custom' => '0',
  1630. 'visibility' => '0',
  1631. 'pages' => '',
  1632. 'title' => '',
  1633. 'cache' => '-2',
  1634. 'i18n_mode' => '0',
  1635. ))
  1636. ->values(array(
  1637. 'bid' => '40',
  1638. 'module' => 'forum',
  1639. 'delta' => 'new',
  1640. 'theme' => 'seven',
  1641. 'status' => '0',
  1642. 'weight' => '0',
  1643. 'region' => '-1',
  1644. 'custom' => '0',
  1645. 'visibility' => '0',
  1646. 'pages' => '',
  1647. 'title' => '',
  1648. 'cache' => '-2',
  1649. 'i18n_mode' => '0',
  1650. ))
  1651. ->values(array(
  1652. 'bid' => '41',
  1653. 'module' => 'menu',
  1654. 'delta' => 'menu-test-menu',
  1655. 'theme' => 'bartik',
  1656. 'status' => '0',
  1657. 'weight' => '0',
  1658. 'region' => '-1',
  1659. 'custom' => '0',
  1660. 'visibility' => '0',
  1661. 'pages' => '',
  1662. 'title' => '',
  1663. 'cache' => '-1',
  1664. 'i18n_mode' => '0',
  1665. ))
  1666. ->values(array(
  1667. 'bid' => '42',
  1668. 'module' => 'statistics',
  1669. 'delta' => 'popular',
  1670. 'theme' => 'bartik',
  1671. 'status' => '0',
  1672. 'weight' => '0',
  1673. 'region' => '-1',
  1674. 'custom' => '0',
  1675. 'visibility' => '0',
  1676. 'pages' => '',
  1677. 'title' => '',
  1678. 'cache' => '-1',
  1679. 'i18n_mode' => '0',
  1680. ))
  1681. ->values(array(
  1682. 'bid' => '43',
  1683. 'module' => 'menu',
  1684. 'delta' => 'menu-test-menu',
  1685. 'theme' => 'seven',
  1686. 'status' => '0',
  1687. 'weight' => '0',
  1688. 'region' => '-1',
  1689. 'custom' => '0',
  1690. 'visibility' => '0',
  1691. 'pages' => '',
  1692. 'title' => '',
  1693. 'cache' => '-1',
  1694. 'i18n_mode' => '0',
  1695. ))
  1696. ->values(array(
  1697. 'bid' => '44',
  1698. 'module' => 'statistics',
  1699. 'delta' => 'popular',
  1700. 'theme' => 'seven',
  1701. 'status' => '0',
  1702. 'weight' => '0',
  1703. 'region' => '-1',
  1704. 'custom' => '0',
  1705. 'visibility' => '0',
  1706. 'pages' => '',
  1707. 'title' => '',
  1708. 'cache' => '-1',
  1709. 'i18n_mode' => '0',
  1710. ))
  1711. ->values(array(
  1712. 'bid' => '45',
  1713. 'module' => 'block',
  1714. 'delta' => '1',
  1715. 'theme' => 'bartik',
  1716. 'status' => '1',
  1717. 'weight' => '0',
  1718. 'region' => 'highlighted',
  1719. 'custom' => '0',
  1720. 'visibility' => '0',
  1721. 'pages' => '',
  1722. 'title' => 'Mildly amusing limerick of the day',
  1723. 'cache' => '-1',
  1724. 'i18n_mode' => '0',
  1725. ))
  1726. ->values(array(
  1727. 'bid' => '46',
  1728. 'module' => 'block',
  1729. 'delta' => '1',
  1730. 'theme' => 'seven',
  1731. 'status' => '0',
  1732. 'weight' => '0',
  1733. 'region' => '-1',
  1734. 'custom' => '0',
  1735. 'visibility' => '0',
  1736. 'pages' => '',
  1737. 'title' => 'Mildly amusing limerick of the day',
  1738. 'cache' => '-1',
  1739. 'i18n_mode' => '0',
  1740. ))
  1741. ->values(array(
  1742. 'bid' => '47',
  1743. 'module' => 'aggregator',
  1744. 'delta' => 'feed-1',
  1745. 'theme' => 'bartik',
  1746. 'status' => '0',
  1747. 'weight' => '0',
  1748. 'region' => '-1',
  1749. 'custom' => '0',
  1750. 'visibility' => '0',
  1751. 'pages' => '',
  1752. 'title' => '',
  1753. 'cache' => '1',
  1754. 'i18n_mode' => '0',
  1755. ))
  1756. ->values(array(
  1757. 'bid' => '48',
  1758. 'module' => 'aggregator',
  1759. 'delta' => 'feed-1',
  1760. 'theme' => 'seven',
  1761. 'status' => '0',
  1762. 'weight' => '0',
  1763. 'region' => '-1',
  1764. 'custom' => '0',
  1765. 'visibility' => '0',
  1766. 'pages' => '',
  1767. 'title' => '',
  1768. 'cache' => '1',
  1769. 'i18n_mode' => '0',
  1770. ))
  1771. ->values(array(
  1772. 'bid' => '49',
  1773. 'module' => 'locale',
  1774. 'delta' => 'language_content',
  1775. 'theme' => 'bartik',
  1776. 'status' => '0',
  1777. 'weight' => '0',
  1778. 'region' => '-1',
  1779. 'custom' => '0',
  1780. 'visibility' => '0',
  1781. 'pages' => '',
  1782. 'title' => '',
  1783. 'cache' => '-1',
  1784. 'i18n_mode' => '0',
  1785. ))
  1786. ->values(array(
  1787. 'bid' => '50',
  1788. 'module' => 'locale',
  1789. 'delta' => 'language_content',
  1790. 'theme' => 'seven',
  1791. 'status' => '0',
  1792. 'weight' => '0',
  1793. 'region' => '-1',
  1794. 'custom' => '0',
  1795. 'visibility' => '0',
  1796. 'pages' => '',
  1797. 'title' => '',
  1798. 'cache' => '-1',
  1799. 'i18n_mode' => '0',
  1800. ))
  1801. ->execute();
  1802. $connection->schema()->createTable('block_custom', array(
  1803. 'fields' => array(
  1804. 'bid' => array(
  1805. 'type' => 'serial',
  1806. 'not null' => TRUE,
  1807. 'size' => 'normal',
  1808. 'unsigned' => TRUE,
  1809. ),
  1810. 'body' => array(
  1811. 'type' => 'text',
  1812. 'not null' => FALSE,
  1813. 'size' => 'normal',
  1814. ),
  1815. 'info' => array(
  1816. 'type' => 'varchar',
  1817. 'not null' => TRUE,
  1818. 'length' => '128',
  1819. 'default' => '',
  1820. ),
  1821. 'format' => array(
  1822. 'type' => 'varchar',
  1823. 'not null' => FALSE,
  1824. 'length' => '255',
  1825. ),
  1826. ),
  1827. 'primary key' => array(
  1828. 'bid',
  1829. ),
  1830. 'mysql_character_set' => 'utf8',
  1831. ));
  1832. $connection->insert('block_custom')
  1833. ->fields(array(
  1834. 'bid',
  1835. 'body',
  1836. 'info',
  1837. 'format',
  1838. ))
  1839. ->values(array(
  1840. 'bid' => '1',
  1841. '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",
  1842. 'info' => 'Limerick',
  1843. 'format' => 'filtered_html',
  1844. ))
  1845. ->execute();
  1846. $connection->schema()->createTable('block_node_type', array(
  1847. 'fields' => array(
  1848. 'module' => array(
  1849. 'type' => 'varchar',
  1850. 'not null' => TRUE,
  1851. 'length' => '64',
  1852. ),
  1853. 'delta' => array(
  1854. 'type' => 'varchar',
  1855. 'not null' => TRUE,
  1856. 'length' => '32',
  1857. ),
  1858. 'type' => array(
  1859. 'type' => 'varchar',
  1860. 'not null' => TRUE,
  1861. 'length' => '32',
  1862. ),
  1863. ),
  1864. 'primary key' => array(
  1865. 'module',
  1866. 'delta',
  1867. 'type',
  1868. ),
  1869. 'mysql_character_set' => 'utf8',
  1870. ));
  1871. $connection->schema()->createTable('block_role', array(
  1872. 'fields' => array(
  1873. 'module' => array(
  1874. 'type' => 'varchar',
  1875. 'not null' => TRUE,
  1876. 'length' => '64',
  1877. ),
  1878. 'delta' => array(
  1879. 'type' => 'varchar',
  1880. 'not null' => TRUE,
  1881. 'length' => '32',
  1882. ),
  1883. 'rid' => array(
  1884. 'type' => 'int',
  1885. 'not null' => TRUE,
  1886. 'size' => 'normal',
  1887. 'unsigned' => TRUE,
  1888. ),
  1889. ),
  1890. 'primary key' => array(
  1891. 'module',
  1892. 'delta',
  1893. 'rid',
  1894. ),
  1895. 'mysql_character_set' => 'utf8',
  1896. ));
  1897. $connection->insert('block_role')
  1898. ->fields(array(
  1899. 'module',
  1900. 'delta',
  1901. 'rid',
  1902. ))
  1903. ->values(array(
  1904. 'module' => 'block',
  1905. 'delta' => '1',
  1906. 'rid' => '2',
  1907. ))
  1908. ->execute();
  1909. $connection->schema()->createTable('blocked_ips', array(
  1910. 'fields' => array(
  1911. 'iid' => array(
  1912. 'type' => 'serial',
  1913. 'not null' => TRUE,
  1914. 'size' => 'normal',
  1915. 'unsigned' => TRUE,
  1916. ),
  1917. 'ip' => array(
  1918. 'type' => 'varchar',
  1919. 'not null' => TRUE,
  1920. 'length' => '40',
  1921. 'default' => '',
  1922. ),
  1923. ),
  1924. 'primary key' => array(
  1925. 'iid',
  1926. ),
  1927. 'mysql_character_set' => 'utf8',
  1928. ));
  1929. $connection->insert('blocked_ips')
  1930. ->fields(array(
  1931. 'iid',
  1932. 'ip',
  1933. ))
  1934. ->values(array(
  1935. 'iid' => '1',
  1936. 'ip' => '111.111.111.111',
  1937. ))
  1938. ->execute();
  1939. $connection->schema()->createTable('book', array(
  1940. 'fields' => array(
  1941. 'mlid' => array(
  1942. 'type' => 'int',
  1943. 'not null' => TRUE,
  1944. 'size' => 'normal',
  1945. 'default' => '0',
  1946. 'unsigned' => TRUE,
  1947. ),
  1948. 'nid' => array(
  1949. 'type' => 'int',
  1950. 'not null' => TRUE,
  1951. 'size' => 'normal',
  1952. 'default' => '0',
  1953. 'unsigned' => TRUE,
  1954. ),
  1955. 'bid' => array(
  1956. 'type' => 'int',
  1957. 'not null' => TRUE,
  1958. 'size' => 'normal',
  1959. 'default' => '0',
  1960. 'unsigned' => TRUE,
  1961. ),
  1962. ),
  1963. 'primary key' => array(
  1964. 'mlid',
  1965. ),
  1966. 'mysql_character_set' => 'utf8',
  1967. ));
  1968. $connection->insert('book')
  1969. ->fields(array(
  1970. 'mlid',
  1971. 'nid',
  1972. 'bid',
  1973. ))
  1974. ->values(array(
  1975. 'mlid' => '480',
  1976. 'nid' => '4',
  1977. 'bid' => '4',
  1978. ))
  1979. ->values(array(
  1980. 'mlid' => '481',
  1981. 'nid' => '6',
  1982. 'bid' => '4',
  1983. ))
  1984. ->values(array(
  1985. 'mlid' => '482',
  1986. 'nid' => '2',
  1987. 'bid' => '4',
  1988. ))
  1989. ->values(array(
  1990. 'mlid' => '483',
  1991. 'nid' => '1',
  1992. 'bid' => '8',
  1993. ))
  1994. ->execute();
  1995. $connection->schema()->createTable('cache', array(
  1996. 'fields' => array(
  1997. 'cid' => array(
  1998. 'type' => 'varchar',
  1999. 'not null' => TRUE,
  2000. 'length' => '255',
  2001. 'default' => '',
  2002. ),
  2003. 'data' => array(
  2004. 'type' => 'blob',
  2005. 'not null' => FALSE,
  2006. 'size' => 'normal',
  2007. ),
  2008. 'expire' => array(
  2009. 'type' => 'int',
  2010. 'not null' => TRUE,
  2011. 'size' => 'normal',
  2012. 'default' => '0',
  2013. ),
  2014. 'created' => array(
  2015. 'type' => 'int',
  2016. 'not null' => TRUE,
  2017. 'size' => 'normal',
  2018. 'default' => '0',
  2019. ),
  2020. 'serialized' => array(
  2021. 'type' => 'int',
  2022. 'not null' => TRUE,
  2023. 'size' => 'normal',
  2024. 'default' => '0',
  2025. ),
  2026. ),
  2027. 'primary key' => array(
  2028. 'cid',
  2029. ),
  2030. 'mysql_character_set' => 'utf8',
  2031. ));
  2032. $connection->schema()->createTable('cache_block', array(
  2033. 'fields' => array(
  2034. 'cid' => array(
  2035. 'type' => 'varchar',
  2036. 'not null' => TRUE,
  2037. 'length' => '255',
  2038. 'default' => '',
  2039. ),
  2040. 'data' => array(
  2041. 'type' => 'blob',
  2042. 'not null' => FALSE,
  2043. 'size' => 'normal',
  2044. ),
  2045. 'expire' => array(
  2046. 'type' => 'int',
  2047. 'not null' => TRUE,
  2048. 'size' => 'normal',
  2049. 'default' => '0',
  2050. ),
  2051. 'created' => array(
  2052. 'type' => 'int',
  2053. 'not null' => TRUE,
  2054. 'size' => 'normal',
  2055. 'default' => '0',
  2056. ),
  2057. 'serialized' => array(
  2058. 'type' => 'int',
  2059. 'not null' => TRUE,
  2060. 'size' => 'normal',
  2061. 'default' => '0',
  2062. ),
  2063. ),
  2064. 'primary key' => array(
  2065. 'cid',
  2066. ),
  2067. 'mysql_character_set' => 'utf8',
  2068. ));
  2069. $connection->schema()->createTable('cache_bootstrap', array(
  2070. 'fields' => array(
  2071. 'cid' => array(
  2072. 'type' => 'varchar',
  2073. 'not null' => TRUE,
  2074. 'length' => '255',
  2075. 'default' => '',
  2076. ),
  2077. 'data' => array(
  2078. 'type' => 'blob',
  2079. 'not null' => FALSE,
  2080. 'size' => 'normal',
  2081. ),
  2082. 'expire' => array(
  2083. 'type' => 'int',
  2084. 'not null' => TRUE,
  2085. 'size' => 'normal',
  2086. 'default' => '0',
  2087. ),
  2088. 'created' => array(
  2089. 'type' => 'int',
  2090. 'not null' => TRUE,
  2091. 'size' => 'normal',
  2092. 'default' => '0',
  2093. ),
  2094. 'serialized' => array(
  2095. 'type' => 'int',
  2096. 'not null' => TRUE,
  2097. 'size' => 'normal',
  2098. 'default' => '0',
  2099. ),
  2100. ),
  2101. 'primary key' => array(
  2102. 'cid',
  2103. ),
  2104. 'mysql_character_set' => 'utf8',
  2105. ));
  2106. $connection->schema()->createTable('cache_field', array(
  2107. 'fields' => array(
  2108. 'cid' => array(
  2109. 'type' => 'varchar',
  2110. 'not null' => TRUE,
  2111. 'length' => '255',
  2112. 'default' => '',
  2113. ),
  2114. 'data' => array(
  2115. 'type' => 'blob',
  2116. 'not null' => FALSE,
  2117. 'size' => 'normal',
  2118. ),
  2119. 'expire' => array(
  2120. 'type' => 'int',
  2121. 'not null' => TRUE,
  2122. 'size' => 'normal',
  2123. 'default' => '0',
  2124. ),
  2125. 'created' => array(
  2126. 'type' => 'int',
  2127. 'not null' => TRUE,
  2128. 'size' => 'normal',
  2129. 'default' => '0',
  2130. ),
  2131. 'serialized' => array(
  2132. 'type' => 'int',
  2133. 'not null' => TRUE,
  2134. 'size' => 'normal',
  2135. 'default' => '0',
  2136. ),
  2137. ),
  2138. 'primary key' => array(
  2139. 'cid',
  2140. ),
  2141. 'mysql_character_set' => 'utf8',
  2142. ));
  2143. $connection->schema()->createTable('cache_filter', array(
  2144. 'fields' => array(
  2145. 'cid' => array(
  2146. 'type' => 'varchar',
  2147. 'not null' => TRUE,
  2148. 'length' => '255',
  2149. 'default' => '',
  2150. ),
  2151. 'data' => array(
  2152. 'type' => 'blob',
  2153. 'not null' => FALSE,
  2154. 'size' => 'normal',
  2155. ),
  2156. 'expire' => array(
  2157. 'type' => 'int',
  2158. 'not null' => TRUE,
  2159. 'size' => 'normal',
  2160. 'default' => '0',
  2161. ),
  2162. 'created' => array(
  2163. 'type' => 'int',
  2164. 'not null' => TRUE,
  2165. 'size' => 'normal',
  2166. 'default' => '0',
  2167. ),
  2168. 'serialized' => array(
  2169. 'type' => 'int',
  2170. 'not null' => TRUE,
  2171. 'size' => 'normal',
  2172. 'default' => '0',
  2173. ),
  2174. ),
  2175. 'primary key' => array(
  2176. 'cid',
  2177. ),
  2178. 'mysql_character_set' => 'utf8',
  2179. ));
  2180. $connection->schema()->createTable('cache_form', array(
  2181. 'fields' => array(
  2182. 'cid' => array(
  2183. 'type' => 'varchar',
  2184. 'not null' => TRUE,
  2185. 'length' => '255',
  2186. 'default' => '',
  2187. ),
  2188. 'data' => array(
  2189. 'type' => 'blob',
  2190. 'not null' => FALSE,
  2191. 'size' => 'normal',
  2192. ),
  2193. 'expire' => array(
  2194. 'type' => 'int',
  2195. 'not null' => TRUE,
  2196. 'size' => 'normal',
  2197. 'default' => '0',
  2198. ),
  2199. 'created' => array(
  2200. 'type' => 'int',
  2201. 'not null' => TRUE,
  2202. 'size' => 'normal',
  2203. 'default' => '0',
  2204. ),
  2205. 'serialized' => array(
  2206. 'type' => 'int',
  2207. 'not null' => TRUE,
  2208. 'size' => 'normal',
  2209. 'default' => '0',
  2210. ),
  2211. ),
  2212. 'primary key' => array(
  2213. 'cid',
  2214. ),
  2215. 'mysql_character_set' => 'utf8',
  2216. ));
  2217. $connection->schema()->createTable('cache_image', array(
  2218. 'fields' => array(
  2219. 'cid' => array(
  2220. 'type' => 'varchar',
  2221. 'not null' => TRUE,
  2222. 'length' => '255',
  2223. 'default' => '',
  2224. ),
  2225. 'data' => array(
  2226. 'type' => 'blob',
  2227. 'not null' => FALSE,
  2228. 'size' => 'normal',
  2229. ),
  2230. 'expire' => array(
  2231. 'type' => 'int',
  2232. 'not null' => TRUE,
  2233. 'size' => 'normal',
  2234. 'default' => '0',
  2235. ),
  2236. 'created' => array(
  2237. 'type' => 'int',
  2238. 'not null' => TRUE,
  2239. 'size' => 'normal',
  2240. 'default' => '0',
  2241. ),
  2242. 'serialized' => array(
  2243. 'type' => 'int',
  2244. 'not null' => TRUE,
  2245. 'size' => 'normal',
  2246. 'default' => '0',
  2247. ),
  2248. ),
  2249. 'primary key' => array(
  2250. 'cid',
  2251. ),
  2252. 'mysql_character_set' => 'utf8',
  2253. ));
  2254. $connection->schema()->createTable('cache_menu', array(
  2255. 'fields' => array(
  2256. 'cid' => array(
  2257. 'type' => 'varchar',
  2258. 'not null' => TRUE,
  2259. 'length' => '255',
  2260. 'default' => '',
  2261. ),
  2262. 'data' => array(
  2263. 'type' => 'blob',
  2264. 'not null' => FALSE,
  2265. 'size' => 'normal',
  2266. ),
  2267. 'expire' => array(
  2268. 'type' => 'int',
  2269. 'not null' => TRUE,
  2270. 'size' => 'normal',
  2271. 'default' => '0',
  2272. ),
  2273. 'created' => array(
  2274. 'type' => 'int',
  2275. 'not null' => TRUE,
  2276. 'size' => 'normal',
  2277. 'default' => '0',
  2278. ),
  2279. 'serialized' => array(
  2280. 'type' => 'int',
  2281. 'not null' => TRUE,
  2282. 'size' => 'normal',
  2283. 'default' => '0',
  2284. ),
  2285. ),
  2286. 'primary key' => array(
  2287. 'cid',
  2288. ),
  2289. 'mysql_character_set' => 'utf8',
  2290. ));
  2291. $connection->schema()->createTable('cache_page', array(
  2292. 'fields' => array(
  2293. 'cid' => array(
  2294. 'type' => 'varchar',
  2295. 'not null' => TRUE,
  2296. 'length' => '255',
  2297. 'default' => '',
  2298. ),
  2299. 'data' => array(
  2300. 'type' => 'blob',
  2301. 'not null' => FALSE,
  2302. 'size' => 'normal',
  2303. ),
  2304. 'expire' => array(
  2305. 'type' => 'int',
  2306. 'not null' => TRUE,
  2307. 'size' => 'normal',
  2308. 'default' => '0',
  2309. ),
  2310. 'created' => array(
  2311. 'type' => 'int',
  2312. 'not null' => TRUE,
  2313. 'size' => 'normal',
  2314. 'default' => '0',
  2315. ),
  2316. 'serialized' => array(
  2317. 'type' => 'int',
  2318. 'not null' => TRUE,
  2319. 'size' => 'normal',
  2320. 'default' => '0',
  2321. ),
  2322. ),
  2323. 'primary key' => array(
  2324. 'cid',
  2325. ),
  2326. 'mysql_character_set' => 'utf8',
  2327. ));
  2328. $connection->schema()->createTable('cache_path', array(
  2329. 'fields' => array(
  2330. 'cid' => array(
  2331. 'type' => 'varchar',
  2332. 'not null' => TRUE,
  2333. 'length' => '255',
  2334. 'default' => '',
  2335. ),
  2336. 'data' => array(
  2337. 'type' => 'blob',
  2338. 'not null' => FALSE,
  2339. 'size' => 'normal',
  2340. ),
  2341. 'expire' => array(
  2342. 'type' => 'int',
  2343. 'not null' => TRUE,
  2344. 'size' => 'normal',
  2345. 'default' => '0',
  2346. ),
  2347. 'created' => array(
  2348. 'type' => 'int',
  2349. 'not null' => TRUE,
  2350. 'size' => 'normal',
  2351. 'default' => '0',
  2352. ),
  2353. 'serialized' => array(
  2354. 'type' => 'int',
  2355. 'not null' => TRUE,
  2356. 'size' => 'normal',
  2357. 'default' => '0',
  2358. ),
  2359. ),
  2360. 'primary key' => array(
  2361. 'cid',
  2362. ),
  2363. 'mysql_character_set' => 'utf8',
  2364. ));
  2365. $connection->schema()->createTable('cache_update', array(
  2366. 'fields' => array(
  2367. 'cid' => array(
  2368. 'type' => 'varchar',
  2369. 'not null' => TRUE,
  2370. 'length' => '255',
  2371. 'default' => '',
  2372. ),
  2373. 'data' => array(
  2374. 'type' => 'blob',
  2375. 'not null' => FALSE,
  2376. 'size' => 'normal',
  2377. ),
  2378. 'expire' => array(
  2379. 'type' => 'int',
  2380. 'not null' => TRUE,
  2381. 'size' => 'normal',
  2382. 'default' => '0',
  2383. ),
  2384. 'created' => array(
  2385. 'type' => 'int',
  2386. 'not null' => TRUE,
  2387. 'size' => 'normal',
  2388. 'default' => '0',
  2389. ),
  2390. 'serialized' => array(
  2391. 'type' => 'int',
  2392. 'not null' => TRUE,
  2393. 'size' => 'normal',
  2394. 'default' => '0',
  2395. ),
  2396. ),
  2397. 'primary key' => array(
  2398. 'cid',
  2399. ),
  2400. 'mysql_character_set' => 'utf8',
  2401. ));
  2402. $connection->schema()->createTable('cache_variable', array(
  2403. 'fields' => array(
  2404. 'cid' => array(
  2405. 'type' => 'varchar',
  2406. 'not null' => TRUE,
  2407. 'length' => '255',
  2408. 'default' => '',
  2409. ),
  2410. 'data' => array(
  2411. 'type' => 'blob',
  2412. 'not null' => FALSE,
  2413. 'size' => 'big',
  2414. ),
  2415. 'expire' => array(
  2416. 'type' => 'int',
  2417. 'not null' => TRUE,
  2418. 'size' => 'normal',
  2419. 'default' => '0',
  2420. ),
  2421. 'created' => array(
  2422. 'type' => 'int',
  2423. 'not null' => TRUE,
  2424. 'size' => 'normal',
  2425. 'default' => '0',
  2426. ),
  2427. 'serialized' => array(
  2428. 'type' => 'int',
  2429. 'not null' => TRUE,
  2430. 'size' => 'small',
  2431. 'default' => '0',
  2432. ),
  2433. ),
  2434. 'primary key' => array(
  2435. 'cid',
  2436. ),
  2437. 'indexes' => array(
  2438. 'expire' => array(
  2439. 'expire',
  2440. ),
  2441. ),
  2442. 'mysql_character_set' => 'utf8',
  2443. ));
  2444. $connection->schema()->createTable('cache_views', array(
  2445. 'fields' => array(
  2446. 'cid' => array(
  2447. 'type' => 'varchar',
  2448. 'not null' => TRUE,
  2449. 'length' => '255',
  2450. 'default' => '',
  2451. ),
  2452. 'data' => array(
  2453. 'type' => 'blob',
  2454. 'not null' => FALSE,
  2455. 'size' => 'normal',
  2456. ),
  2457. 'expire' => array(
  2458. 'type' => 'int',
  2459. 'not null' => TRUE,
  2460. 'size' => 'normal',
  2461. 'default' => '0',
  2462. ),
  2463. 'created' => array(
  2464. 'type' => 'int',
  2465. 'not null' => TRUE,
  2466. 'size' => 'normal',
  2467. 'default' => '0',
  2468. ),
  2469. 'serialized' => array(
  2470. 'type' => 'int',
  2471. 'not null' => TRUE,
  2472. 'size' => 'normal',
  2473. 'default' => '0',
  2474. ),
  2475. ),
  2476. 'primary key' => array(
  2477. 'cid',
  2478. ),
  2479. 'mysql_character_set' => 'utf8',
  2480. ));
  2481. $connection->schema()->createTable('cache_views_data', array(
  2482. 'fields' => array(
  2483. 'cid' => array(
  2484. 'type' => 'varchar',
  2485. 'not null' => TRUE,
  2486. 'length' => '255',
  2487. 'default' => '',
  2488. ),
  2489. 'data' => array(
  2490. 'type' => 'blob',
  2491. 'not null' => FALSE,
  2492. 'size' => 'normal',
  2493. ),
  2494. 'expire' => array(
  2495. 'type' => 'int',
  2496. 'not null' => TRUE,
  2497. 'size' => 'normal',
  2498. 'default' => '0',
  2499. ),
  2500. 'created' => array(
  2501. 'type' => 'int',
  2502. 'not null' => TRUE,
  2503. 'size' => 'normal',
  2504. 'default' => '0',
  2505. ),
  2506. 'serialized' => array(
  2507. 'type' => 'int',
  2508. 'not null' => TRUE,
  2509. 'size' => 'normal',
  2510. 'default' => '1',
  2511. ),
  2512. ),
  2513. 'primary key' => array(
  2514. 'cid',
  2515. ),
  2516. 'mysql_character_set' => 'utf8',
  2517. ));
  2518. $connection->schema()->createTable('comment', array(
  2519. 'fields' => array(
  2520. 'cid' => array(
  2521. 'type' => 'serial',
  2522. 'not null' => TRUE,
  2523. 'size' => 'normal',
  2524. ),
  2525. 'pid' => array(
  2526. 'type' => 'int',
  2527. 'not null' => TRUE,
  2528. 'size' => 'normal',
  2529. 'default' => '0',
  2530. ),
  2531. 'nid' => array(
  2532. 'type' => 'int',
  2533. 'not null' => TRUE,
  2534. 'size' => 'normal',
  2535. 'default' => '0',
  2536. ),
  2537. 'uid' => array(
  2538. 'type' => 'int',
  2539. 'not null' => TRUE,
  2540. 'size' => 'normal',
  2541. 'default' => '0',
  2542. ),
  2543. 'subject' => array(
  2544. 'type' => 'varchar',
  2545. 'not null' => TRUE,
  2546. 'length' => '64',
  2547. 'default' => '',
  2548. ),
  2549. 'hostname' => array(
  2550. 'type' => 'varchar',
  2551. 'not null' => TRUE,
  2552. 'length' => '128',
  2553. 'default' => '',
  2554. ),
  2555. 'created' => array(
  2556. 'type' => 'int',
  2557. 'not null' => TRUE,
  2558. 'size' => 'normal',
  2559. 'default' => '0',
  2560. ),
  2561. 'changed' => array(
  2562. 'type' => 'int',
  2563. 'not null' => TRUE,
  2564. 'size' => 'normal',
  2565. 'default' => '0',
  2566. ),
  2567. 'status' => array(
  2568. 'type' => 'int',
  2569. 'not null' => TRUE,
  2570. 'size' => 'normal',
  2571. 'default' => '1',
  2572. 'unsigned' => TRUE,
  2573. ),
  2574. 'thread' => array(
  2575. 'type' => 'varchar',
  2576. 'not null' => TRUE,
  2577. 'length' => '255',
  2578. ),
  2579. 'name' => array(
  2580. 'type' => 'varchar',
  2581. 'not null' => FALSE,
  2582. 'length' => '60',
  2583. ),
  2584. 'mail' => array(
  2585. 'type' => 'varchar',
  2586. 'not null' => FALSE,
  2587. 'length' => '64',
  2588. ),
  2589. 'homepage' => array(
  2590. 'type' => 'varchar',
  2591. 'not null' => FALSE,
  2592. 'length' => '255',
  2593. ),
  2594. 'language' => array(
  2595. 'type' => 'varchar',
  2596. 'not null' => TRUE,
  2597. 'length' => '12',
  2598. 'default' => '',
  2599. ),
  2600. ),
  2601. 'primary key' => array(
  2602. 'cid',
  2603. ),
  2604. 'mysql_character_set' => 'utf8',
  2605. ));
  2606. $connection->insert('comment')
  2607. ->fields(array(
  2608. 'cid',
  2609. 'pid',
  2610. 'nid',
  2611. 'uid',
  2612. 'subject',
  2613. 'hostname',
  2614. 'created',
  2615. 'changed',
  2616. 'status',
  2617. 'thread',
  2618. 'name',
  2619. 'mail',
  2620. 'homepage',
  2621. 'language',
  2622. ))
  2623. ->values(array(
  2624. 'cid' => '1',
  2625. 'pid' => '0',
  2626. 'nid' => '1',
  2627. 'uid' => '1',
  2628. 'subject' => 'A comment',
  2629. 'hostname' => '2001:db8:ffff:ffff:ffff:ffff:ffff:ffff',
  2630. 'created' => '1421727536',
  2631. 'changed' => '1421727536',
  2632. 'status' => '1',
  2633. 'thread' => '01/',
  2634. 'name' => 'admin',
  2635. 'mail' => '',
  2636. 'homepage' => '',
  2637. 'language' => 'en',
  2638. ))
  2639. ->values(array(
  2640. 'cid' => '2',
  2641. 'pid' => '0',
  2642. 'nid' => '2',
  2643. 'uid' => '1',
  2644. 'subject' => 'TNG',
  2645. 'hostname' => '127.0.0.1',
  2646. 'created' => '1532789252',
  2647. 'changed' => '1532789252',
  2648. 'status' => '1',
  2649. 'thread' => '01/',
  2650. 'name' => 'admin',
  2651. 'mail' => '',
  2652. 'homepage' => '',
  2653. 'language' => 'en',
  2654. ))
  2655. ->values(array(
  2656. 'cid' => '3',
  2657. 'pid' => '0',
  2658. 'nid' => '3',
  2659. 'uid' => '1',
  2660. 'subject' => 'Comment to IS translation',
  2661. 'hostname' => '46.132.185.242',
  2662. 'created' => '1533031490',
  2663. 'changed' => '1533031490',
  2664. 'status' => '1',
  2665. 'thread' => '01/',
  2666. 'name' => 'admin',
  2667. 'mail' => '',
  2668. 'homepage' => '',
  2669. 'language' => 'is',
  2670. ))
  2671. ->values(array(
  2672. 'cid' => '4',
  2673. 'pid' => '0',
  2674. 'nid' => '1',
  2675. 'uid' => '3',
  2676. 'subject' => 'Comment without language',
  2677. 'hostname' => 'drupal7.local',
  2678. 'created' => '1426781880',
  2679. 'changed' => '1426781880',
  2680. 'status' => '1',
  2681. 'thread' => '02/',
  2682. 'name' => 'Bob',
  2683. 'mail' => '',
  2684. 'homepage' => '',
  2685. 'language' => '',
  2686. ))
  2687. ->execute();
  2688. $connection->schema()->createTable('contact', array(
  2689. 'fields' => array(
  2690. 'cid' => array(
  2691. 'type' => 'serial',
  2692. 'not null' => TRUE,
  2693. 'size' => 'normal',
  2694. 'unsigned' => TRUE,
  2695. ),
  2696. 'category' => array(
  2697. 'type' => 'varchar',
  2698. 'not null' => TRUE,
  2699. 'length' => '255',
  2700. 'default' => '',
  2701. ),
  2702. 'recipients' => array(
  2703. 'type' => 'text',
  2704. 'not null' => TRUE,
  2705. 'size' => 'normal',
  2706. ),
  2707. 'reply' => array(
  2708. 'type' => 'text',
  2709. 'not null' => TRUE,
  2710. 'size' => 'normal',
  2711. ),
  2712. 'weight' => array(
  2713. 'type' => 'int',
  2714. 'not null' => TRUE,
  2715. 'size' => 'normal',
  2716. 'default' => '0',
  2717. ),
  2718. 'selected' => array(
  2719. 'type' => 'int',
  2720. 'not null' => TRUE,
  2721. 'size' => 'normal',
  2722. 'default' => '0',
  2723. ),
  2724. ),
  2725. 'primary key' => array(
  2726. 'cid',
  2727. ),
  2728. 'mysql_character_set' => 'utf8',
  2729. ));
  2730. $connection->insert('contact')
  2731. ->fields(array(
  2732. 'cid',
  2733. 'category',
  2734. 'recipients',
  2735. 'reply',
  2736. 'weight',
  2737. 'selected',
  2738. ))
  2739. ->values(array(
  2740. 'cid' => '1',
  2741. 'category' => 'Website testing',
  2742. 'recipients' => 'joseph@flattandsons.com',
  2743. 'reply' => '',
  2744. 'weight' => '0',
  2745. 'selected' => '1',
  2746. ))
  2747. ->execute();
  2748. $connection->schema()->createTable('ctools_css_cache', array(
  2749. 'fields' => array(
  2750. 'cid' => array(
  2751. 'type' => 'varchar',
  2752. 'not null' => TRUE,
  2753. 'length' => '128',
  2754. ),
  2755. 'filename' => array(
  2756. 'type' => 'varchar',
  2757. 'not null' => FALSE,
  2758. 'length' => '255',
  2759. ),
  2760. 'css' => array(
  2761. 'type' => 'text',
  2762. 'not null' => FALSE,
  2763. 'size' => 'normal',
  2764. ),
  2765. 'filter' => array(
  2766. 'type' => 'int',
  2767. 'not null' => FALSE,
  2768. 'size' => 'normal',
  2769. ),
  2770. ),
  2771. 'primary key' => array(
  2772. 'cid',
  2773. ),
  2774. 'mysql_character_set' => 'utf8',
  2775. ));
  2776. $connection->schema()->createTable('ctools_object_cache', array(
  2777. 'fields' => array(
  2778. 'sid' => array(
  2779. 'type' => 'varchar',
  2780. 'not null' => TRUE,
  2781. 'length' => '64',
  2782. ),
  2783. 'name' => array(
  2784. 'type' => 'varchar',
  2785. 'not null' => TRUE,
  2786. 'length' => '128',
  2787. ),
  2788. 'obj' => array(
  2789. 'type' => 'varchar',
  2790. 'not null' => TRUE,
  2791. 'length' => '32',
  2792. ),
  2793. 'updated' => array(
  2794. 'type' => 'int',
  2795. 'not null' => TRUE,
  2796. 'size' => 'normal',
  2797. 'default' => '0',
  2798. 'unsigned' => TRUE,
  2799. ),
  2800. 'data' => array(
  2801. 'type' => 'blob',
  2802. 'not null' => FALSE,
  2803. 'size' => 'normal',
  2804. ),
  2805. ),
  2806. 'primary key' => array(
  2807. 'sid',
  2808. 'name',
  2809. 'obj',
  2810. ),
  2811. 'mysql_character_set' => 'utf8',
  2812. ));
  2813. $connection->schema()->createTable('date_format_locale', array(
  2814. 'fields' => array(
  2815. 'format' => array(
  2816. 'type' => 'varchar',
  2817. 'not null' => TRUE,
  2818. 'length' => '100',
  2819. 'binary' => TRUE,
  2820. ),
  2821. 'type' => array(
  2822. 'type' => 'varchar',
  2823. 'not null' => TRUE,
  2824. 'length' => '64',
  2825. ),
  2826. 'language' => array(
  2827. 'type' => 'varchar',
  2828. 'not null' => TRUE,
  2829. 'length' => '12',
  2830. ),
  2831. ),
  2832. 'primary key' => array(
  2833. 'type',
  2834. 'language',
  2835. ),
  2836. 'mysql_character_set' => 'utf8',
  2837. ));
  2838. $connection->schema()->createTable('date_format_type', array(
  2839. 'fields' => array(
  2840. 'type' => array(
  2841. 'type' => 'varchar',
  2842. 'not null' => TRUE,
  2843. 'length' => '64',
  2844. ),
  2845. 'title' => array(
  2846. 'type' => 'varchar',
  2847. 'not null' => TRUE,
  2848. 'length' => '255',
  2849. ),
  2850. 'locked' => array(
  2851. 'type' => 'int',
  2852. 'not null' => TRUE,
  2853. 'size' => 'normal',
  2854. 'default' => '0',
  2855. ),
  2856. ),
  2857. 'primary key' => array(
  2858. 'type',
  2859. ),
  2860. 'mysql_character_set' => 'utf8',
  2861. ));
  2862. $connection->insert('date_format_type')
  2863. ->fields(array(
  2864. 'type',
  2865. 'title',
  2866. 'locked',
  2867. ))
  2868. ->values(array(
  2869. 'type' => 'long',
  2870. 'title' => 'Long',
  2871. 'locked' => '1',
  2872. ))
  2873. ->values(array(
  2874. 'type' => 'medium',
  2875. 'title' => 'Medium',
  2876. 'locked' => '1',
  2877. ))
  2878. ->values(array(
  2879. 'type' => 'short',
  2880. 'title' => 'Short',
  2881. 'locked' => '1',
  2882. ))
  2883. ->execute();
  2884. $connection->schema()->createTable('date_formats', array(
  2885. 'fields' => array(
  2886. 'dfid' => array(
  2887. 'type' => 'serial',
  2888. 'not null' => TRUE,
  2889. 'size' => 'normal',
  2890. 'unsigned' => TRUE,
  2891. ),
  2892. 'format' => array(
  2893. 'type' => 'varchar',
  2894. 'not null' => TRUE,
  2895. 'length' => '100',
  2896. ),
  2897. 'type' => array(
  2898. 'type' => 'varchar',
  2899. 'not null' => TRUE,
  2900. 'length' => '64',
  2901. ),
  2902. 'locked' => array(
  2903. 'type' => 'int',
  2904. 'not null' => TRUE,
  2905. 'size' => 'normal',
  2906. 'default' => '0',
  2907. ),
  2908. ),
  2909. 'primary key' => array(
  2910. 'dfid',
  2911. ),
  2912. 'mysql_character_set' => 'utf8',
  2913. ));
  2914. $connection->insert('date_formats')
  2915. ->fields(array(
  2916. 'dfid',
  2917. 'format',
  2918. 'type',
  2919. 'locked',
  2920. ))
  2921. ->values(array(
  2922. 'dfid' => '1',
  2923. 'format' => 'Y-m-d H:i',
  2924. 'type' => 'short',
  2925. 'locked' => '1',
  2926. ))
  2927. ->values(array(
  2928. 'dfid' => '2',
  2929. 'format' => 'm/d/Y - H:i',
  2930. 'type' => 'short',
  2931. 'locked' => '1',
  2932. ))
  2933. ->values(array(
  2934. 'dfid' => '3',
  2935. 'format' => 'd/m/Y - H:i',
  2936. 'type' => 'short',
  2937. 'locked' => '1',
  2938. ))
  2939. ->values(array(
  2940. 'dfid' => '4',
  2941. 'format' => 'Y/m/d - H:i',
  2942. 'type' => 'short',
  2943. 'locked' => '1',
  2944. ))
  2945. ->values(array(
  2946. 'dfid' => '5',
  2947. 'format' => 'd.m.Y - H:i',
  2948. 'type' => 'short',
  2949. 'locked' => '1',
  2950. ))
  2951. ->values(array(
  2952. 'dfid' => '6',
  2953. 'format' => 'm/d/Y - g:ia',
  2954. 'type' => 'short',
  2955. 'locked' => '1',
  2956. ))
  2957. ->values(array(
  2958. 'dfid' => '7',
  2959. 'format' => 'd/m/Y - g:ia',
  2960. 'type' => 'short',
  2961. 'locked' => '1',
  2962. ))
  2963. ->values(array(
  2964. 'dfid' => '8',
  2965. 'format' => 'Y/m/d - g:ia',
  2966. 'type' => 'short',
  2967. 'locked' => '1',
  2968. ))
  2969. ->values(array(
  2970. 'dfid' => '9',
  2971. 'format' => 'M j Y - H:i',
  2972. 'type' => 'short',
  2973. 'locked' => '1',
  2974. ))
  2975. ->values(array(
  2976. 'dfid' => '10',
  2977. 'format' => 'j M Y - H:i',
  2978. 'type' => 'short',
  2979. 'locked' => '1',
  2980. ))
  2981. ->values(array(
  2982. 'dfid' => '11',
  2983. 'format' => 'Y M j - H:i',
  2984. 'type' => 'short',
  2985. 'locked' => '1',
  2986. ))
  2987. ->values(array(
  2988. 'dfid' => '12',
  2989. 'format' => 'M j Y - g:ia',
  2990. 'type' => 'short',
  2991. 'locked' => '1',
  2992. ))
  2993. ->values(array(
  2994. 'dfid' => '13',
  2995. 'format' => 'j M Y - g:ia',
  2996. 'type' => 'short',
  2997. 'locked' => '1',
  2998. ))
  2999. ->values(array(
  3000. 'dfid' => '14',
  3001. 'format' => 'Y M j - g:ia',
  3002. 'type' => 'short',
  3003. 'locked' => '1',
  3004. ))
  3005. ->values(array(
  3006. 'dfid' => '15',
  3007. 'format' => 'D, Y-m-d H:i',
  3008. 'type' => 'medium',
  3009. 'locked' => '1',
  3010. ))
  3011. ->values(array(
  3012. 'dfid' => '16',
  3013. 'format' => 'D, m/d/Y - H:i',
  3014. 'type' => 'medium',
  3015. 'locked' => '1',
  3016. ))
  3017. ->values(array(
  3018. 'dfid' => '17',
  3019. 'format' => 'D, d/m/Y - H:i',
  3020. 'type' => 'medium',
  3021. 'locked' => '1',
  3022. ))
  3023. ->values(array(
  3024. 'dfid' => '18',
  3025. 'format' => 'D, Y/m/d - H:i',
  3026. 'type' => 'medium',
  3027. 'locked' => '1',
  3028. ))
  3029. ->values(array(
  3030. 'dfid' => '19',
  3031. 'format' => 'F j, Y - H:i',
  3032. 'type' => 'medium',
  3033. 'locked' => '1',
  3034. ))
  3035. ->values(array(
  3036. 'dfid' => '20',
  3037. 'format' => 'j F, Y - H:i',
  3038. 'type' => 'medium',
  3039. 'locked' => '1',
  3040. ))
  3041. ->values(array(
  3042. 'dfid' => '21',
  3043. 'format' => 'Y, F j - H:i',
  3044. 'type' => 'medium',
  3045. 'locked' => '1',
  3046. ))
  3047. ->values(array(
  3048. 'dfid' => '22',
  3049. 'format' => 'D, m/d/Y - g:ia',
  3050. 'type' => 'medium',
  3051. 'locked' => '1',
  3052. ))
  3053. ->values(array(
  3054. 'dfid' => '23',
  3055. 'format' => 'D, d/m/Y - g:ia',
  3056. 'type' => 'medium',
  3057. 'locked' => '1',
  3058. ))
  3059. ->values(array(
  3060. 'dfid' => '24',
  3061. 'format' => 'D, Y/m/d - g:ia',
  3062. 'type' => 'medium',
  3063. 'locked' => '1',
  3064. ))
  3065. ->values(array(
  3066. 'dfid' => '25',
  3067. 'format' => 'F j, Y - g:ia',
  3068. 'type' => 'medium',
  3069. 'locked' => '1',
  3070. ))
  3071. ->values(array(
  3072. 'dfid' => '26',
  3073. 'format' => 'j F Y - g:ia',
  3074. 'type' => 'medium',
  3075. 'locked' => '1',
  3076. ))
  3077. ->values(array(
  3078. 'dfid' => '27',
  3079. 'format' => 'Y, F j - g:ia',
  3080. 'type' => 'medium',
  3081. 'locked' => '1',
  3082. ))
  3083. ->values(array(
  3084. 'dfid' => '28',
  3085. 'format' => 'j. F Y - G:i',
  3086. 'type' => 'medium',
  3087. 'locked' => '1',
  3088. ))
  3089. ->values(array(
  3090. 'dfid' => '29',
  3091. 'format' => 'l, F j, Y - H:i',
  3092. 'type' => 'long',
  3093. 'locked' => '1',
  3094. ))
  3095. ->values(array(
  3096. 'dfid' => '30',
  3097. 'format' => 'l, j F, Y - H:i',
  3098. 'type' => 'long',
  3099. 'locked' => '1',
  3100. ))
  3101. ->values(array(
  3102. 'dfid' => '31',
  3103. 'format' => 'l, Y, F j - H:i',
  3104. 'type' => 'long',
  3105. 'locked' => '1',
  3106. ))
  3107. ->values(array(
  3108. 'dfid' => '32',
  3109. 'format' => 'l, F j, Y - g:ia',
  3110. 'type' => 'long',
  3111. 'locked' => '1',
  3112. ))
  3113. ->values(array(
  3114. 'dfid' => '33',
  3115. 'format' => 'l, j F Y - g:ia',
  3116. 'type' => 'long',
  3117. 'locked' => '1',
  3118. ))
  3119. ->values(array(
  3120. 'dfid' => '34',
  3121. 'format' => 'l, Y, F j - g:ia',
  3122. 'type' => 'long',
  3123. 'locked' => '1',
  3124. ))
  3125. ->values(array(
  3126. 'dfid' => '35',
  3127. 'format' => 'l, j. F Y - G:i',
  3128. 'type' => 'long',
  3129. 'locked' => '1',
  3130. ))
  3131. ->values(array(
  3132. 'dfid' => '36',
  3133. 'format' => 'r',
  3134. 'type' => 'custom',
  3135. 'locked' => '0',
  3136. ))
  3137. ->execute();
  3138. $connection->schema()->createTable('entity_translation', array(
  3139. 'fields' => array(
  3140. 'entity_type' => array(
  3141. 'type' => 'varchar',
  3142. 'not null' => TRUE,
  3143. 'length' => '128',
  3144. 'default' => '',
  3145. ),
  3146. 'entity_id' => array(
  3147. 'type' => 'int',
  3148. 'not null' => TRUE,
  3149. 'size' => 'normal',
  3150. 'unsigned' => TRUE,
  3151. ),
  3152. 'revision_id' => array(
  3153. 'type' => 'int',
  3154. 'not null' => TRUE,
  3155. 'size' => 'normal',
  3156. 'unsigned' => TRUE,
  3157. ),
  3158. 'language' => array(
  3159. 'type' => 'varchar',
  3160. 'not null' => TRUE,
  3161. 'length' => '32',
  3162. 'default' => '',
  3163. ),
  3164. 'source' => array(
  3165. 'type' => 'varchar',
  3166. 'not null' => TRUE,
  3167. 'length' => '32',
  3168. 'default' => '',
  3169. ),
  3170. 'uid' => array(
  3171. 'type' => 'int',
  3172. 'not null' => TRUE,
  3173. 'size' => 'normal',
  3174. 'default' => '0',
  3175. ),
  3176. 'status' => array(
  3177. 'type' => 'int',
  3178. 'not null' => TRUE,
  3179. 'size' => 'normal',
  3180. 'default' => '1',
  3181. ),
  3182. 'translate' => array(
  3183. 'type' => 'int',
  3184. 'not null' => TRUE,
  3185. 'size' => 'normal',
  3186. 'default' => '0',
  3187. ),
  3188. 'created' => array(
  3189. 'type' => 'int',
  3190. 'not null' => TRUE,
  3191. 'size' => 'normal',
  3192. 'default' => '0',
  3193. ),
  3194. 'changed' => array(
  3195. 'type' => 'int',
  3196. 'not null' => TRUE,
  3197. 'size' => 'normal',
  3198. 'default' => '0',
  3199. ),
  3200. ),
  3201. 'primary key' => array(
  3202. 'entity_type',
  3203. 'entity_id',
  3204. 'language',
  3205. ),
  3206. 'mysql_character_set' => 'utf8',
  3207. ));
  3208. $connection->insert('entity_translation')
  3209. ->fields(array(
  3210. 'entity_type',
  3211. 'entity_id',
  3212. 'revision_id',
  3213. 'language',
  3214. 'source',
  3215. 'uid',
  3216. 'status',
  3217. 'translate',
  3218. 'created',
  3219. 'changed',
  3220. ))
  3221. ->values(array(
  3222. 'entity_type' => 'comment',
  3223. 'entity_id' => '1',
  3224. 'revision_id' => '1',
  3225. 'language' => 'en',
  3226. 'source' => '',
  3227. 'uid' => '1',
  3228. 'status' => '1',
  3229. 'translate' => '0',
  3230. 'created' => '1421727536',
  3231. 'changed' => '1421727536',
  3232. ))
  3233. ->values(array(
  3234. 'entity_type' => 'comment',
  3235. 'entity_id' => '1',
  3236. 'revision_id' => '1',
  3237. 'language' => 'fr',
  3238. 'source' => 'en',
  3239. 'uid' => '1',
  3240. 'status' => '0',
  3241. 'translate' => '0',
  3242. 'created' => '1531837764',
  3243. 'changed' => '1531837764',
  3244. ))
  3245. ->values(array(
  3246. 'entity_type' => 'comment',
  3247. 'entity_id' => '1',
  3248. 'revision_id' => '1',
  3249. 'language' => 'is',
  3250. 'source' => 'en',
  3251. 'uid' => '2',
  3252. 'status' => '1',
  3253. 'translate' => '1',
  3254. 'created' => '1531838064',
  3255. 'changed' => '1531838064',
  3256. ))
  3257. ->values(array(
  3258. 'entity_type' => 'node',
  3259. 'entity_id' => '1',
  3260. 'revision_id' => '1',
  3261. 'language' => 'en',
  3262. 'source' => '',
  3263. 'uid' => '1',
  3264. 'status' => '1',
  3265. 'translate' => '0',
  3266. 'created' => '1529615790',
  3267. 'changed' => '1529615790',
  3268. ))
  3269. ->values(array(
  3270. 'entity_type' => 'node',
  3271. 'entity_id' => '1',
  3272. 'revision_id' => '1',
  3273. 'language' => 'fr',
  3274. 'source' => 'en',
  3275. 'uid' => '2',
  3276. 'status' => '1',
  3277. 'translate' => '1',
  3278. 'created' => '1529615802',
  3279. 'changed' => '1529615802',
  3280. ))
  3281. ->values(array(
  3282. 'entity_type' => 'node',
  3283. 'entity_id' => '1',
  3284. 'revision_id' => '1',
  3285. 'language' => 'is',
  3286. 'source' => 'en',
  3287. 'uid' => '1',
  3288. 'status' => '0',
  3289. 'translate' => '0',
  3290. 'created' => '1529615813',
  3291. 'changed' => '1529615813',
  3292. ))
  3293. ->values(array(
  3294. 'entity_type' => 'user',
  3295. 'entity_id' => '2',
  3296. 'revision_id' => '2',
  3297. 'language' => 'en',
  3298. 'source' => '',
  3299. 'uid' => '1',
  3300. 'status' => '1',
  3301. 'translate' => '0',
  3302. 'created' => '1527594929',
  3303. 'changed' => '1527594929',
  3304. ))
  3305. ->values(array(
  3306. 'entity_type' => 'user',
  3307. 'entity_id' => '2',
  3308. 'revision_id' => '2',
  3309. 'language' => 'fr',
  3310. 'source' => 'en',
  3311. 'uid' => '1',
  3312. 'status' => '0',
  3313. 'translate' => '0',
  3314. 'created' => '1531663916',
  3315. 'changed' => '1531663916',
  3316. ))
  3317. ->values(array(
  3318. 'entity_type' => 'user',
  3319. 'entity_id' => '2',
  3320. 'revision_id' => '2',
  3321. 'language' => 'is',
  3322. 'source' => 'en',
  3323. 'uid' => '2',
  3324. 'status' => '1',
  3325. 'translate' => '1',
  3326. 'created' => '1531663925',
  3327. 'changed' => '1531663925',
  3328. ))
  3329. ->values(array(
  3330. 'entity_type' => 'comment',
  3331. 'entity_id' => '4',
  3332. 'revision_id' => '4',
  3333. 'language' => 'en',
  3334. 'source' => '',
  3335. 'uid' => '1',
  3336. 'status' => '1',
  3337. 'translate' => '0',
  3338. 'created' => '1426781880',
  3339. 'changed' => '1426781880',
  3340. ))
  3341. ->values(array(
  3342. 'entity_type' => 'taxonomy_term',
  3343. 'entity_id' => '4',
  3344. 'revision_id' => '4',
  3345. 'language' => 'en',
  3346. 'source' => '',
  3347. 'uid' => '1',
  3348. 'status' => '1',
  3349. 'translate' => '0',
  3350. 'created' => '1531922259',
  3351. 'changed' => '1531922259',
  3352. ))
  3353. ->values(array(
  3354. 'entity_type' => 'taxonomy_term',
  3355. 'entity_id' => '4',
  3356. 'revision_id' => '4',
  3357. 'language' => 'fr',
  3358. 'source' => 'en',
  3359. 'uid' => '2',
  3360. 'status' => '1',
  3361. 'translate' => '1',
  3362. 'created' => '1531922267',
  3363. 'changed' => '1531922268',
  3364. ))
  3365. ->values(array(
  3366. 'entity_type' => 'taxonomy_term',
  3367. 'entity_id' => '4',
  3368. 'revision_id' => '4',
  3369. 'language' => 'is',
  3370. 'source' => 'en',
  3371. 'uid' => '1',
  3372. 'status' => '0',
  3373. 'translate' => '0',
  3374. 'created' => '1531922278',
  3375. 'changed' => '1531922279',
  3376. ))
  3377. ->execute();
  3378. $connection->schema()->createTable('entity_translation_revision', array(
  3379. 'fields' => array(
  3380. 'entity_type' => array(
  3381. 'type' => 'varchar',
  3382. 'not null' => TRUE,
  3383. 'length' => '128',
  3384. 'default' => '',
  3385. ),
  3386. 'entity_id' => array(
  3387. 'type' => 'int',
  3388. 'not null' => TRUE,
  3389. 'size' => 'normal',
  3390. 'unsigned' => TRUE,
  3391. ),
  3392. 'revision_id' => array(
  3393. 'type' => 'int',
  3394. 'not null' => TRUE,
  3395. 'size' => 'normal',
  3396. 'unsigned' => TRUE,
  3397. ),
  3398. 'language' => array(
  3399. 'type' => 'varchar',
  3400. 'not null' => TRUE,
  3401. 'length' => '32',
  3402. 'default' => '',
  3403. ),
  3404. 'source' => array(
  3405. 'type' => 'varchar',
  3406. 'not null' => TRUE,
  3407. 'length' => '32',
  3408. 'default' => '',
  3409. ),
  3410. 'uid' => array(
  3411. 'type' => 'int',
  3412. 'not null' => TRUE,
  3413. 'size' => 'normal',
  3414. 'default' => '0',
  3415. ),
  3416. 'status' => array(
  3417. 'type' => 'int',
  3418. 'not null' => TRUE,
  3419. 'size' => 'normal',
  3420. 'default' => '1',
  3421. ),
  3422. 'translate' => array(
  3423. 'type' => 'int',
  3424. 'not null' => TRUE,
  3425. 'size' => 'normal',
  3426. 'default' => '0',
  3427. ),
  3428. 'created' => array(
  3429. 'type' => 'int',
  3430. 'not null' => TRUE,
  3431. 'size' => 'normal',
  3432. 'default' => '0',
  3433. ),
  3434. 'changed' => array(
  3435. 'type' => 'int',
  3436. 'not null' => TRUE,
  3437. 'size' => 'normal',
  3438. 'default' => '0',
  3439. ),
  3440. ),
  3441. 'primary key' => array(
  3442. 'entity_type',
  3443. 'revision_id',
  3444. 'language',
  3445. ),
  3446. 'indexes' => array(
  3447. 'revision_id' => array(
  3448. 'revision_id',
  3449. ),
  3450. ),
  3451. 'mysql_character_set' => 'utf8',
  3452. ));
  3453. $connection->schema()->createTable('field_config', array(
  3454. 'fields' => array(
  3455. 'id' => array(
  3456. 'type' => 'serial',
  3457. 'not null' => TRUE,
  3458. 'size' => 'normal',
  3459. ),
  3460. 'field_name' => array(
  3461. 'type' => 'varchar',
  3462. 'not null' => TRUE,
  3463. 'length' => '32',
  3464. ),
  3465. 'type' => array(
  3466. 'type' => 'varchar',
  3467. 'not null' => TRUE,
  3468. 'length' => '128',
  3469. ),
  3470. 'module' => array(
  3471. 'type' => 'varchar',
  3472. 'not null' => TRUE,
  3473. 'length' => '128',
  3474. 'default' => '',
  3475. ),
  3476. 'active' => array(
  3477. 'type' => 'int',
  3478. 'not null' => TRUE,
  3479. 'size' => 'normal',
  3480. 'default' => '0',
  3481. ),
  3482. 'storage_type' => array(
  3483. 'type' => 'varchar',
  3484. 'not null' => TRUE,
  3485. 'length' => '128',
  3486. ),
  3487. 'storage_module' => array(
  3488. 'type' => 'varchar',
  3489. 'not null' => TRUE,
  3490. 'length' => '128',
  3491. 'default' => '',
  3492. ),
  3493. 'storage_active' => array(
  3494. 'type' => 'int',
  3495. 'not null' => TRUE,
  3496. 'size' => 'normal',
  3497. 'default' => '0',
  3498. ),
  3499. 'locked' => array(
  3500. 'type' => 'int',
  3501. 'not null' => TRUE,
  3502. 'size' => 'normal',
  3503. 'default' => '0',
  3504. ),
  3505. 'data' => array(
  3506. 'type' => 'blob',
  3507. 'not null' => TRUE,
  3508. 'size' => 'normal',
  3509. ),
  3510. 'cardinality' => array(
  3511. 'type' => 'int',
  3512. 'not null' => TRUE,
  3513. 'size' => 'normal',
  3514. 'default' => '0',
  3515. ),
  3516. 'translatable' => array(
  3517. 'type' => 'int',
  3518. 'not null' => TRUE,
  3519. 'size' => 'normal',
  3520. 'default' => '0',
  3521. ),
  3522. 'deleted' => array(
  3523. 'type' => 'int',
  3524. 'not null' => TRUE,
  3525. 'size' => 'normal',
  3526. 'default' => '0',
  3527. ),
  3528. ),
  3529. 'primary key' => array(
  3530. 'id',
  3531. ),
  3532. 'mysql_character_set' => 'utf8',
  3533. ));
  3534. $connection->insert('field_config')
  3535. ->fields(array(
  3536. 'id',
  3537. 'field_name',
  3538. 'type',
  3539. 'module',
  3540. 'active',
  3541. 'storage_type',
  3542. 'storage_module',
  3543. 'storage_active',
  3544. 'locked',
  3545. 'data',
  3546. 'cardinality',
  3547. 'translatable',
  3548. 'deleted',
  3549. ))
  3550. ->values(array(
  3551. 'id' => '1',
  3552. 'field_name' => 'comment_body',
  3553. 'type' => 'text_long',
  3554. 'module' => 'text',
  3555. 'active' => '1',
  3556. 'storage_type' => 'field_sql_storage',
  3557. 'storage_module' => 'field_sql_storage',
  3558. 'storage_active' => '1',
  3559. 'locked' => '0',
  3560. '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";}}}',
  3561. 'cardinality' => '1',
  3562. 'translatable' => '0',
  3563. 'deleted' => '0',
  3564. ))
  3565. ->values(array(
  3566. 'id' => '2',
  3567. 'field_name' => 'body',
  3568. 'type' => 'text_with_summary',
  3569. 'module' => 'text',
  3570. 'active' => '1',
  3571. 'storage_type' => 'field_sql_storage',
  3572. 'storage_module' => 'field_sql_storage',
  3573. 'storage_active' => '1',
  3574. 'locked' => '0',
  3575. '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";}}}',
  3576. 'cardinality' => '1',
  3577. 'translatable' => '0',
  3578. 'deleted' => '0',
  3579. ))
  3580. ->values(array(
  3581. 'id' => '3',
  3582. 'field_name' => 'field_tags',
  3583. 'type' => 'taxonomy_term_reference',
  3584. 'module' => 'taxonomy',
  3585. 'active' => '1',
  3586. 'storage_type' => 'field_sql_storage',
  3587. 'storage_module' => 'field_sql_storage',
  3588. 'storage_active' => '1',
  3589. 'locked' => '0',
  3590. 'data' => 'a:7:{s:8:"settings";a:3:{s:14:"allowed_values";a:1:{i:0;a:2:{s:10:"vocabulary";s:4:"tags";s:6:"parent";i:0;}}s:21:"options_list_callback";s:28:"i18n_taxonomy_allowed_values";s:23:"entity_translation_sync";b:0;}s:12:"entity_types";a:0:{}s:12:"translatable";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:21:"field_data_field_tags";a:1:{s:3:"tid";s:14:"field_tags_tid";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:25:"field_revision_field_tags";a:1:{s:3:"tid";s:14:"field_tags_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:1:"3";}',
  3591. 'cardinality' => '-1',
  3592. 'translatable' => '0',
  3593. 'deleted' => '0',
  3594. ))
  3595. ->values(array(
  3596. 'id' => '4',
  3597. 'field_name' => 'field_image',
  3598. 'type' => 'image',
  3599. 'module' => 'image',
  3600. 'active' => '1',
  3601. 'storage_type' => 'field_sql_storage',
  3602. 'storage_module' => 'field_sql_storage',
  3603. 'storage_active' => '1',
  3604. 'locked' => '0',
  3605. '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";}}}}',
  3606. 'cardinality' => '1',
  3607. 'translatable' => '0',
  3608. 'deleted' => '0',
  3609. ))
  3610. ->values(array(
  3611. 'id' => '5',
  3612. 'field_name' => 'taxonomy_forums',
  3613. 'type' => 'taxonomy_term_reference',
  3614. 'module' => 'taxonomy',
  3615. 'active' => '1',
  3616. 'storage_type' => 'field_sql_storage',
  3617. 'storage_module' => 'field_sql_storage',
  3618. 'storage_active' => '1',
  3619. 'locked' => '0',
  3620. 'data' => 'a:7:{s:8:"settings";a:3:{s:14:"allowed_values";a:1:{i:0;a:2:{s:10:"vocabulary";s:19:"sujet_de_discussion";s:6:"parent";i:0;}}s:21:"options_list_callback";s:28:"i18n_taxonomy_allowed_values";s:23:"entity_translation_sync";b:0;}s:12:"entity_types";a:0:{}s:12:"translatable";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:26:"field_data_taxonomy_forums";a:1:{s:3:"tid";s:19:"taxonomy_forums_tid";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:30:"field_revision_taxonomy_forums";a:1:{s:3:"tid";s:19:"taxonomy_forums_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:1:"5";}',
  3621. 'cardinality' => '1',
  3622. 'translatable' => '0',
  3623. 'deleted' => '0',
  3624. ))
  3625. ->values(array(
  3626. 'id' => '6',
  3627. 'field_name' => 'field_boolean',
  3628. 'type' => 'list_boolean',
  3629. 'module' => 'list',
  3630. 'active' => '1',
  3631. 'storage_type' => 'field_sql_storage',
  3632. 'storage_module' => 'field_sql_storage',
  3633. 'storage_active' => '1',
  3634. 'locked' => '0',
  3635. '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";}',
  3636. 'cardinality' => '1',
  3637. 'translatable' => '0',
  3638. 'deleted' => '0',
  3639. ))
  3640. ->values(array(
  3641. 'id' => '7',
  3642. 'field_name' => 'field_email',
  3643. 'type' => 'email',
  3644. 'module' => 'email',
  3645. 'active' => '1',
  3646. 'storage_type' => 'field_sql_storage',
  3647. 'storage_module' => 'field_sql_storage',
  3648. 'storage_active' => '1',
  3649. 'locked' => '0',
  3650. '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";}',
  3651. 'cardinality' => '-1',
  3652. 'translatable' => '0',
  3653. 'deleted' => '0',
  3654. ))
  3655. ->values(array(
  3656. 'id' => '8',
  3657. 'field_name' => 'field_phone',
  3658. 'type' => 'phone',
  3659. 'module' => 'phone',
  3660. 'active' => '1',
  3661. 'storage_type' => 'field_sql_storage',
  3662. 'storage_module' => 'field_sql_storage',
  3663. 'storage_active' => '1',
  3664. 'locked' => '0',
  3665. '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";}',
  3666. 'cardinality' => '1',
  3667. 'translatable' => '0',
  3668. 'deleted' => '0',
  3669. ))
  3670. ->values(array(
  3671. 'id' => '9',
  3672. 'field_name' => 'field_date',
  3673. 'type' => 'datetime',
  3674. 'module' => 'date',
  3675. 'active' => '1',
  3676. 'storage_type' => 'field_sql_storage',
  3677. 'storage_module' => 'field_sql_storage',
  3678. 'storage_active' => '1',
  3679. 'locked' => '0',
  3680. '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";}',
  3681. 'cardinality' => '1',
  3682. 'translatable' => '0',
  3683. 'deleted' => '0',
  3684. ))
  3685. ->values(array(
  3686. 'id' => '10',
  3687. 'field_name' => 'field_date_with_end_time',
  3688. 'type' => 'datestamp',
  3689. 'module' => 'date',
  3690. 'active' => '1',
  3691. 'storage_type' => 'field_sql_storage',
  3692. 'storage_module' => 'field_sql_storage',
  3693. 'storage_active' => '1',
  3694. 'locked' => '0',
  3695. '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";}',
  3696. 'cardinality' => '1',
  3697. 'translatable' => '0',
  3698. 'deleted' => '0',
  3699. ))
  3700. ->values(array(
  3701. 'id' => '11',
  3702. 'field_name' => 'field_file',
  3703. 'type' => 'file',
  3704. 'module' => 'file',
  3705. 'active' => '1',
  3706. 'storage_type' => 'field_sql_storage',
  3707. 'storage_module' => 'field_sql_storage',
  3708. 'storage_active' => '1',
  3709. 'locked' => '0',
  3710. '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";}',
  3711. 'cardinality' => '1',
  3712. 'translatable' => '0',
  3713. 'deleted' => '0',
  3714. ))
  3715. ->values(array(
  3716. 'id' => '12',
  3717. 'field_name' => 'field_float',
  3718. 'type' => 'number_float',
  3719. 'module' => 'number',
  3720. 'active' => '1',
  3721. 'storage_type' => 'field_sql_storage',
  3722. 'storage_module' => 'field_sql_storage',
  3723. 'storage_active' => '1',
  3724. 'locked' => '0',
  3725. '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";}',
  3726. 'cardinality' => '1',
  3727. 'translatable' => '0',
  3728. 'deleted' => '0',
  3729. ))
  3730. ->values(array(
  3731. 'id' => '13',
  3732. 'field_name' => 'field_images',
  3733. 'type' => 'image',
  3734. 'module' => 'image',
  3735. 'active' => '1',
  3736. 'storage_type' => 'field_sql_storage',
  3737. 'storage_module' => 'field_sql_storage',
  3738. 'storage_active' => '1',
  3739. 'locked' => '0',
  3740. '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";}',
  3741. 'cardinality' => '1',
  3742. 'translatable' => '0',
  3743. 'deleted' => '0',
  3744. ))
  3745. ->values(array(
  3746. 'id' => '14',
  3747. 'field_name' => 'field_integer',
  3748. 'type' => 'number_integer',
  3749. 'module' => 'number',
  3750. 'active' => '1',
  3751. 'storage_type' => 'field_sql_storage',
  3752. 'storage_module' => 'field_sql_storage',
  3753. 'storage_active' => '1',
  3754. 'locked' => '0',
  3755. 'data' => 'a:7:{s:12:"translatable";b:1;s:12:"entity_types";a:0:{}s:8:"settings";a:1:{s:23:"entity_translation_sync";b: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";}',
  3756. 'cardinality' => '1',
  3757. 'translatable' => '1',
  3758. 'deleted' => '0',
  3759. ))
  3760. ->values(array(
  3761. 'id' => '15',
  3762. 'field_name' => 'field_link',
  3763. 'type' => 'link_field',
  3764. 'module' => 'link',
  3765. 'active' => '1',
  3766. 'storage_type' => 'field_sql_storage',
  3767. 'storage_module' => 'field_sql_storage',
  3768. 'storage_active' => '1',
  3769. 'locked' => '0',
  3770. '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";}',
  3771. 'cardinality' => '1',
  3772. 'translatable' => '0',
  3773. 'deleted' => '0',
  3774. ))
  3775. ->values(array(
  3776. 'id' => '16',
  3777. 'field_name' => 'field_text_list',
  3778. 'type' => 'list_text',
  3779. 'module' => 'list',
  3780. 'active' => '1',
  3781. 'storage_type' => 'field_sql_storage',
  3782. 'storage_module' => 'field_sql_storage',
  3783. 'storage_active' => '1',
  3784. 'locked' => '0',
  3785. '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";}',
  3786. 'cardinality' => '3',
  3787. 'translatable' => '0',
  3788. 'deleted' => '0',
  3789. ))
  3790. ->values(array(
  3791. 'id' => '17',
  3792. 'field_name' => 'field_integer_list',
  3793. 'type' => 'list_integer',
  3794. 'module' => 'list',
  3795. 'active' => '1',
  3796. 'storage_type' => 'field_sql_storage',
  3797. 'storage_module' => 'field_sql_storage',
  3798. 'storage_active' => '1',
  3799. 'locked' => '0',
  3800. '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";}',
  3801. 'cardinality' => '1',
  3802. 'translatable' => '0',
  3803. 'deleted' => '0',
  3804. ))
  3805. ->values(array(
  3806. 'id' => '18',
  3807. 'field_name' => 'field_long_text',
  3808. 'type' => 'text_with_summary',
  3809. 'module' => 'text',
  3810. 'active' => '1',
  3811. 'storage_type' => 'field_sql_storage',
  3812. 'storage_module' => 'field_sql_storage',
  3813. 'storage_active' => '1',
  3814. 'locked' => '0',
  3815. '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";}',
  3816. 'cardinality' => '1',
  3817. 'translatable' => '0',
  3818. 'deleted' => '0',
  3819. ))
  3820. ->values(array(
  3821. 'id' => '20',
  3822. 'field_name' => 'field_term_reference',
  3823. 'type' => 'taxonomy_term_reference',
  3824. 'module' => 'taxonomy',
  3825. 'active' => '1',
  3826. 'storage_type' => 'field_sql_storage',
  3827. 'storage_module' => 'field_sql_storage',
  3828. 'storage_active' => '1',
  3829. 'locked' => '0',
  3830. 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:3:{s:14:"allowed_values";a:2:{i:0;a:2:{s:10:"vocabulary";s:15:"test_vocabulary";s:6:"parent";s:1:"0";}i:1;a:2:{s:10:"vocabulary";s:4:"tags";s:6:"parent";s:1:"0";}}s:21:"options_list_callback";s:28:"i18n_taxonomy_allowed_values";s:23:"entity_translation_sync";b: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";}',
  3831. 'cardinality' => '1',
  3832. 'translatable' => '0',
  3833. 'deleted' => '0',
  3834. ))
  3835. ->values(array(
  3836. 'id' => '21',
  3837. 'field_name' => 'field_text',
  3838. 'type' => 'text',
  3839. 'module' => 'text',
  3840. 'active' => '1',
  3841. 'storage_type' => 'field_sql_storage',
  3842. 'storage_module' => 'field_sql_storage',
  3843. 'storage_active' => '1',
  3844. 'locked' => '0',
  3845. '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";}',
  3846. 'cardinality' => '1',
  3847. 'translatable' => '0',
  3848. 'deleted' => '0',
  3849. ))
  3850. ->values(array(
  3851. 'id' => '22',
  3852. 'field_name' => 'field_node_entityreference',
  3853. 'type' => 'entityreference',
  3854. 'module' => 'entityreference',
  3855. 'active' => '1',
  3856. 'storage_type' => 'field_sql_storage',
  3857. 'storage_module' => 'field_sql_storage',
  3858. 'storage_active' => '1',
  3859. 'locked' => '0',
  3860. '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";}',
  3861. 'cardinality' => '-1',
  3862. 'translatable' => '0',
  3863. 'deleted' => '0',
  3864. ))
  3865. ->values(array(
  3866. 'id' => '23',
  3867. 'field_name' => 'field_user_entityreference',
  3868. 'type' => 'entityreference',
  3869. 'module' => 'entityreference',
  3870. 'active' => '1',
  3871. 'storage_type' => 'field_sql_storage',
  3872. 'storage_module' => 'field_sql_storage',
  3873. 'storage_active' => '1',
  3874. 'locked' => '0',
  3875. '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";}',
  3876. 'cardinality' => '1',
  3877. 'translatable' => '0',
  3878. 'deleted' => '0',
  3879. ))
  3880. ->values(array(
  3881. 'id' => '24',
  3882. 'field_name' => 'field_term_entityreference',
  3883. 'type' => 'entityreference',
  3884. 'module' => 'entityreference',
  3885. 'active' => '1',
  3886. 'storage_type' => 'field_sql_storage',
  3887. 'storage_module' => 'field_sql_storage',
  3888. 'storage_active' => '1',
  3889. 'locked' => '0',
  3890. '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";}',
  3891. 'cardinality' => '-1',
  3892. 'translatable' => '0',
  3893. 'deleted' => '0',
  3894. ))
  3895. ->values(array(
  3896. 'id' => '25',
  3897. 'field_name' => 'field_private_file',
  3898. 'type' => 'file',
  3899. 'module' => 'file',
  3900. 'active' => '1',
  3901. 'storage_type' => 'field_sql_storage',
  3902. 'storage_module' => 'field_sql_storage',
  3903. 'storage_active' => '1',
  3904. 'locked' => '0',
  3905. '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";}',
  3906. 'cardinality' => '1',
  3907. 'translatable' => '0',
  3908. 'deleted' => '0',
  3909. ))
  3910. ->values(array(
  3911. 'id' => '26',
  3912. 'field_name' => 'field_text_plain',
  3913. 'type' => 'text',
  3914. 'module' => 'text',
  3915. 'active' => '1',
  3916. 'storage_type' => 'field_sql_storage',
  3917. 'storage_module' => 'field_sql_storage',
  3918. 'storage_active' => '1',
  3919. 'locked' => '0',
  3920. '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";}',
  3921. 'cardinality' => '1',
  3922. 'translatable' => '0',
  3923. 'deleted' => '0',
  3924. ))
  3925. ->values(array(
  3926. 'id' => '27',
  3927. 'field_name' => 'field_text_filtered',
  3928. 'type' => 'text',
  3929. 'module' => 'text',
  3930. 'active' => '1',
  3931. 'storage_type' => 'field_sql_storage',
  3932. 'storage_module' => 'field_sql_storage',
  3933. 'storage_active' => '1',
  3934. 'locked' => '0',
  3935. '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";}',
  3936. 'cardinality' => '1',
  3937. 'translatable' => '0',
  3938. 'deleted' => '0',
  3939. ))
  3940. ->values(array(
  3941. 'id' => '28',
  3942. 'field_name' => 'field_text_plain_filtered',
  3943. 'type' => 'text',
  3944. 'module' => 'text',
  3945. 'active' => '1',
  3946. 'storage_type' => 'field_sql_storage',
  3947. 'storage_module' => 'field_sql_storage',
  3948. 'storage_active' => '1',
  3949. 'locked' => '0',
  3950. '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";}',
  3951. 'cardinality' => '1',
  3952. 'translatable' => '0',
  3953. 'deleted' => '0',
  3954. ))
  3955. ->values(array(
  3956. 'id' => '29',
  3957. 'field_name' => 'field_text_long_plain',
  3958. 'type' => 'text_long',
  3959. 'module' => 'text',
  3960. 'active' => '1',
  3961. 'storage_type' => 'field_sql_storage',
  3962. 'storage_module' => 'field_sql_storage',
  3963. 'storage_active' => '1',
  3964. 'locked' => '0',
  3965. '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";}',
  3966. 'cardinality' => '1',
  3967. 'translatable' => '0',
  3968. 'deleted' => '0',
  3969. ))
  3970. ->values(array(
  3971. 'id' => '30',
  3972. 'field_name' => 'field_text_long_filtered',
  3973. 'type' => 'text_long',
  3974. 'module' => 'text',
  3975. 'active' => '1',
  3976. 'storage_type' => 'field_sql_storage',
  3977. 'storage_module' => 'field_sql_storage',
  3978. 'storage_active' => '1',
  3979. 'locked' => '0',
  3980. '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";}',
  3981. 'cardinality' => '1',
  3982. 'translatable' => '0',
  3983. 'deleted' => '0',
  3984. ))
  3985. ->values(array(
  3986. 'id' => '31',
  3987. 'field_name' => 'field_text_long_plain_filtered',
  3988. 'type' => 'text_long',
  3989. 'module' => 'text',
  3990. 'active' => '1',
  3991. 'storage_type' => 'field_sql_storage',
  3992. 'storage_module' => 'field_sql_storage',
  3993. 'storage_active' => '1',
  3994. 'locked' => '0',
  3995. '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";}',
  3996. 'cardinality' => '1',
  3997. 'translatable' => '0',
  3998. 'deleted' => '0',
  3999. ))
  4000. ->values(array(
  4001. 'id' => '32',
  4002. 'field_name' => 'field_text_sum_plain',
  4003. 'type' => 'text_with_summary',
  4004. 'module' => 'text',
  4005. 'active' => '1',
  4006. 'storage_type' => 'field_sql_storage',
  4007. 'storage_module' => 'field_sql_storage',
  4008. 'storage_active' => '1',
  4009. 'locked' => '0',
  4010. '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";}',
  4011. 'cardinality' => '1',
  4012. 'translatable' => '0',
  4013. 'deleted' => '0',
  4014. ))
  4015. ->values(array(
  4016. 'id' => '33',
  4017. 'field_name' => 'field_text_sum_filtered',
  4018. 'type' => 'text_with_summary',
  4019. 'module' => 'text',
  4020. 'active' => '1',
  4021. 'storage_type' => 'field_sql_storage',
  4022. 'storage_module' => 'field_sql_storage',
  4023. 'storage_active' => '1',
  4024. 'locked' => '0',
  4025. '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";}',
  4026. 'cardinality' => '1',
  4027. 'translatable' => '0',
  4028. 'deleted' => '0',
  4029. ))
  4030. ->values(array(
  4031. 'id' => '34',
  4032. 'field_name' => 'field_text_sum_plain_filtered',
  4033. 'type' => 'text_with_summary',
  4034. 'module' => 'text',
  4035. 'active' => '1',
  4036. 'storage_type' => 'field_sql_storage',
  4037. 'storage_module' => 'field_sql_storage',
  4038. 'storage_active' => '1',
  4039. 'locked' => '0',
  4040. '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";}',
  4041. 'cardinality' => '1',
  4042. 'translatable' => '0',
  4043. 'deleted' => '0',
  4044. ))
  4045. ->values(array(
  4046. 'id' => '35',
  4047. 'field_name' => 'field_datetime_without_time',
  4048. 'type' => 'datetime',
  4049. 'module' => 'date',
  4050. 'active' => '1',
  4051. 'storage_type' => 'field_sql_storage',
  4052. 'storage_module' => 'field_sql_storage',
  4053. 'storage_active' => '1',
  4054. 'locked' => '0',
  4055. '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";}',
  4056. 'cardinality' => '1',
  4057. 'translatable' => '0',
  4058. 'deleted' => '0',
  4059. ))
  4060. ->values(array(
  4061. 'id' => '36',
  4062. 'field_name' => 'field_date_without_time',
  4063. 'type' => 'date',
  4064. 'module' => 'date',
  4065. 'active' => '1',
  4066. 'storage_type' => 'field_sql_storage',
  4067. 'storage_module' => 'field_sql_storage',
  4068. 'storage_active' => '1',
  4069. 'locked' => '0',
  4070. '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";}',
  4071. 'cardinality' => '1',
  4072. 'translatable' => '0',
  4073. 'deleted' => '0',
  4074. ))
  4075. ->values(array(
  4076. 'id' => '37',
  4077. 'field_name' => 'field_float_list',
  4078. 'type' => 'list_float',
  4079. 'module' => 'list',
  4080. 'active' => '1',
  4081. 'storage_type' => 'field_sql_storage',
  4082. 'storage_module' => 'field_sql_storage',
  4083. 'storage_active' => '1',
  4084. 'locked' => '0',
  4085. '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";}',
  4086. 'cardinality' => '1',
  4087. 'translatable' => '0',
  4088. 'deleted' => '0',
  4089. ))
  4090. ->values(array(
  4091. 'id' => '38',
  4092. 'field_name' => 'field_reference',
  4093. 'type' => 'entityreference',
  4094. 'module' => 'entityreference',
  4095. 'active' => '1',
  4096. 'storage_type' => 'field_sql_storage',
  4097. 'storage_module' => 'field_sql_storage',
  4098. 'storage_active' => '1',
  4099. 'locked' => '0',
  4100. '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";}',
  4101. 'cardinality' => '1',
  4102. 'translatable' => '0',
  4103. 'deleted' => '0',
  4104. ))
  4105. ->values(array(
  4106. 'id' => '39',
  4107. 'field_name' => 'field_reference_2',
  4108. 'type' => 'entityreference',
  4109. 'module' => 'entityreference',
  4110. 'active' => '1',
  4111. 'storage_type' => 'field_sql_storage',
  4112. 'storage_module' => 'field_sql_storage',
  4113. 'storage_active' => '1',
  4114. 'locked' => '0',
  4115. '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";}',
  4116. 'cardinality' => '1',
  4117. 'translatable' => '0',
  4118. 'deleted' => '0',
  4119. ))
  4120. ->values(array(
  4121. 'id' => '40',
  4122. 'field_name' => 'title_field',
  4123. 'type' => 'text',
  4124. 'module' => 'text',
  4125. 'active' => '1',
  4126. 'storage_type' => 'field_sql_storage',
  4127. 'storage_module' => 'field_sql_storage',
  4128. 'storage_active' => '1',
  4129. 'locked' => '0',
  4130. 'data' => 'a:6:{s:12:"translatable";b:1;s:12:"entity_types";a:0:{}s:8:"settings";a:2:{s:10:"max_length";i:255;s:23:"entity_translation_sync";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: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";}}}',
  4131. 'cardinality' => '1',
  4132. 'translatable' => '1',
  4133. 'deleted' => '0',
  4134. ))
  4135. ->values(array(
  4136. 'id' => '41',
  4137. 'field_name' => 'subject_field',
  4138. 'type' => 'text',
  4139. 'module' => 'text',
  4140. 'active' => '1',
  4141. 'storage_type' => 'field_sql_storage',
  4142. 'storage_module' => 'field_sql_storage',
  4143. 'storage_active' => '1',
  4144. 'locked' => '0',
  4145. 'data' => 'a:6:{s:12:"translatable";b:1;s:12:"entity_types";a:0:{}s:8:"settings";a:2:{s:10:"max_length";i:255;s:23:"entity_translation_sync";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: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";}}}',
  4146. 'cardinality' => '1',
  4147. 'translatable' => '1',
  4148. 'deleted' => '0',
  4149. ))
  4150. ->values(array(
  4151. 'id' => '42',
  4152. 'field_name' => 'name_field',
  4153. 'type' => 'text',
  4154. 'module' => 'text',
  4155. 'active' => '1',
  4156. 'storage_type' => 'field_sql_storage',
  4157. 'storage_module' => 'field_sql_storage',
  4158. 'storage_active' => '1',
  4159. 'locked' => '0',
  4160. 'data' => 'a:6:{s:12:"translatable";b:1;s:12:"entity_types";a:0:{}s:8:"settings";a:2:{s:10:"max_length";i:255;s:23:"entity_translation_sync";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: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";}}}',
  4161. 'cardinality' => '1',
  4162. 'translatable' => '1',
  4163. 'deleted' => '0',
  4164. ))
  4165. ->values(array(
  4166. 'id' => '43',
  4167. 'field_name' => 'description_field',
  4168. 'type' => 'text_with_summary',
  4169. 'module' => 'text',
  4170. 'active' => '1',
  4171. 'storage_type' => 'field_sql_storage',
  4172. 'storage_module' => 'field_sql_storage',
  4173. 'storage_active' => '1',
  4174. 'locked' => '0',
  4175. 'data' => 'a:6:{s:12:"translatable";b:1;s:12:"entity_types";a:0:{}s:8:"settings";a:1:{s:23:"entity_translation_sync";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: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";}}}',
  4176. 'cardinality' => '1',
  4177. 'translatable' => '1',
  4178. 'deleted' => '0',
  4179. ))
  4180. ->values(array(
  4181. 'id' => '44',
  4182. 'field_name' => 'field_vocab_localize',
  4183. 'type' => 'taxonomy_term_reference',
  4184. 'module' => 'taxonomy',
  4185. 'active' => '1',
  4186. 'storage_type' => 'field_sql_storage',
  4187. 'storage_module' => 'field_sql_storage',
  4188. 'storage_active' => '1',
  4189. 'locked' => '0',
  4190. 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:3:{s:14:"allowed_values";a:1:{i:0;a:2:{s:10:"vocabulary";s:14:"vocablocalized";s:6:"parent";s:1:"0";}}s:21:"options_list_callback";s:28:"i18n_taxonomy_allowed_values";s:23:"entity_translation_sync";b: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_vocab_localize";a:1:{s:3:"tid";s:24:"field_vocab_localize_tid";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:35:"field_revision_field_vocab_localize";a:1:{s:3:"tid";s:24:"field_vocab_localize_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:"44";}',
  4191. 'cardinality' => '1',
  4192. 'translatable' => '0',
  4193. 'deleted' => '0',
  4194. ))
  4195. ->values(array(
  4196. 'id' => '45',
  4197. 'field_name' => 'field_vocab_translate',
  4198. 'type' => 'taxonomy_term_reference',
  4199. 'module' => 'taxonomy',
  4200. 'active' => '1',
  4201. 'storage_type' => 'field_sql_storage',
  4202. 'storage_module' => 'field_sql_storage',
  4203. 'storage_active' => '1',
  4204. 'locked' => '0',
  4205. 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:3:{s:14:"allowed_values";a:1:{i:0;a:2:{s:10:"vocabulary";s:14:"vocabtranslate";s:6:"parent";s:1:"0";}}s:21:"options_list_callback";s:28:"i18n_taxonomy_allowed_values";s:23:"entity_translation_sync";b: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_vocab_translate";a:1:{s:3:"tid";s:25:"field_vocab_translate_tid";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:36:"field_revision_field_vocab_translate";a:1:{s:3:"tid";s:25:"field_vocab_translate_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:"45";}',
  4206. 'cardinality' => '1',
  4207. 'translatable' => '0',
  4208. 'deleted' => '0',
  4209. ))
  4210. ->values(array(
  4211. 'id' => '46',
  4212. 'field_name' => 'field_vocab_fixed',
  4213. 'type' => 'taxonomy_term_reference',
  4214. 'module' => 'taxonomy',
  4215. 'active' => '1',
  4216. 'storage_type' => 'field_sql_storage',
  4217. 'storage_module' => 'field_sql_storage',
  4218. 'storage_active' => '1',
  4219. 'locked' => '0',
  4220. 'data' => 'a:7:{s:12:"translatable";s:1:"0";s:12:"entity_types";a:0:{}s:8:"settings";a:3:{s:14:"allowed_values";a:1:{i:0;a:2:{s:10:"vocabulary";s:10:"vocabfixed";s:6:"parent";s:1:"0";}}s:21:"options_list_callback";s:28:"i18n_taxonomy_allowed_values";s:23:"entity_translation_sync";b: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:28:"field_data_field_vocab_fixed";a:1:{s:3:"tid";s:21:"field_vocab_fixed_tid";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:32:"field_revision_field_vocab_fixed";a:1:{s:3:"tid";s:21:"field_vocab_fixed_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:"46";}',
  4221. 'cardinality' => '1',
  4222. 'translatable' => '0',
  4223. 'deleted' => '0',
  4224. ))
  4225. ->values(array(
  4226. 'id' => '48',
  4227. 'field_name' => 'field_color',
  4228. 'type' => 'list_text',
  4229. 'module' => 'list',
  4230. 'active' => '1',
  4231. 'storage_type' => 'field_sql_storage',
  4232. 'storage_module' => 'field_sql_storage',
  4233. 'storage_active' => '1',
  4234. 'locked' => '0',
  4235. 'data' => 'a:7:{s:12:"translatable";b:1;s:12:"entity_types";a:0:{}s:8:"settings";a:3:{s:14:"allowed_values";a:3:{i:0;s:5:"Green";i:1;s:5:"Black";i:2;s:5:"White";}s:23:"allowed_values_function";s:0:"";s:23:"entity_translation_sync";b: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_color";a:1:{s:5:"value";s:17:"field_color_value";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:26:"field_revision_field_color";a:1:{s:5:"value";s:17:"field_color_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:"48";}',
  4236. 'cardinality' => '1',
  4237. 'translatable' => '1',
  4238. 'deleted' => '0',
  4239. ))
  4240. ->values(array(
  4241. 'id' => '49',
  4242. 'field_name' => 'field_rating',
  4243. 'type' => 'list_text',
  4244. 'module' => 'list',
  4245. 'active' => '1',
  4246. 'storage_type' => 'field_sql_storage',
  4247. 'storage_module' => 'field_sql_storage',
  4248. 'storage_active' => '1',
  4249. 'locked' => '0',
  4250. 'data' => 'a:7:{s:12:"translatable";b:1;s:12:"entity_types";a:0:{}s:8:"settings";a:3:{s:14:"allowed_values";a:3:{i:1;s:4:"High";i:2;s:6:"Medium";i:3;s:3:"Low";}s:23:"allowed_values_function";s:0:"";s:23:"entity_translation_sync";b: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_rating";a:1:{s:5:"value";s:18:"field_rating_value";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:27:"field_revision_field_rating";a:1:{s:5:"value";s:18:"field_rating_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:"49";}',
  4251. 'cardinality' => '1',
  4252. 'translatable' => '1',
  4253. 'deleted' => '0',
  4254. ))
  4255. ->execute();
  4256. $connection->schema()->createTable('field_config_instance', array(
  4257. 'fields' => array(
  4258. 'id' => array(
  4259. 'type' => 'serial',
  4260. 'not null' => TRUE,
  4261. 'size' => 'normal',
  4262. ),
  4263. 'field_id' => array(
  4264. 'type' => 'int',
  4265. 'not null' => TRUE,
  4266. 'size' => 'normal',
  4267. ),
  4268. 'field_name' => array(
  4269. 'type' => 'varchar',
  4270. 'not null' => TRUE,
  4271. 'length' => '32',
  4272. 'default' => '',
  4273. ),
  4274. 'entity_type' => array(
  4275. 'type' => 'varchar',
  4276. 'not null' => TRUE,
  4277. 'length' => '32',
  4278. 'default' => '',
  4279. ),
  4280. 'bundle' => array(
  4281. 'type' => 'varchar',
  4282. 'not null' => TRUE,
  4283. 'length' => '128',
  4284. 'default' => '',
  4285. ),
  4286. 'data' => array(
  4287. 'type' => 'blob',
  4288. 'not null' => TRUE,
  4289. 'size' => 'normal',
  4290. ),
  4291. 'deleted' => array(
  4292. 'type' => 'int',
  4293. 'not null' => TRUE,
  4294. 'size' => 'normal',
  4295. 'default' => '0',
  4296. ),
  4297. ),
  4298. 'primary key' => array(
  4299. 'id',
  4300. ),
  4301. 'mysql_character_set' => 'utf8',
  4302. ));
  4303. $connection->insert('field_config_instance')
  4304. ->fields(array(
  4305. 'id',
  4306. 'field_id',
  4307. 'field_name',
  4308. 'entity_type',
  4309. 'bundle',
  4310. 'data',
  4311. 'deleted',
  4312. ))
  4313. ->values(array(
  4314. 'id' => '1',
  4315. 'field_id' => '1',
  4316. 'field_name' => 'comment_body',
  4317. 'entity_type' => 'comment',
  4318. 'bundle' => 'comment_node_page',
  4319. '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:"";}',
  4320. 'deleted' => '0',
  4321. ))
  4322. ->values(array(
  4323. 'id' => '2',
  4324. 'field_id' => '2',
  4325. 'field_name' => 'body',
  4326. 'entity_type' => 'node',
  4327. 'bundle' => 'page',
  4328. '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:"";}',
  4329. 'deleted' => '0',
  4330. ))
  4331. ->values(array(
  4332. 'id' => '3',
  4333. 'field_id' => '1',
  4334. 'field_name' => 'comment_body',
  4335. 'entity_type' => 'comment',
  4336. 'bundle' => 'comment_node_article',
  4337. '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:"";}',
  4338. 'deleted' => '0',
  4339. ))
  4340. ->values(array(
  4341. 'id' => '4',
  4342. 'field_id' => '2',
  4343. 'field_name' => 'body',
  4344. 'entity_type' => 'node',
  4345. 'bundle' => 'article',
  4346. '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";s:2:"-4";s:6:"module";s:4:"text";}s:8:"settings";a:4:{s:15:"display_summary";b:1;s:15:"text_processing";i:1;s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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: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:"";}',
  4347. 'deleted' => '0',
  4348. ))
  4349. ->values(array(
  4350. 'id' => '5',
  4351. 'field_id' => '3',
  4352. 'field_name' => 'field_tags',
  4353. 'entity_type' => 'node',
  4354. 'bundle' => 'article',
  4355. '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";s:2:"-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:2:{s:18:"user_register_form";b:0;s:23:"entity_translation_sync";b:0;}s:8:"required";b:0;}',
  4356. 'deleted' => '0',
  4357. ))
  4358. ->values(array(
  4359. 'id' => '6',
  4360. 'field_id' => '4',
  4361. 'field_name' => 'field_image',
  4362. 'entity_type' => 'node',
  4363. 'bundle' => 'article',
  4364. '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:10:{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:23:"entity_translation_sync";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";s:2:"-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";}}}',
  4365. 'deleted' => '0',
  4366. ))
  4367. ->values(array(
  4368. 'id' => '7',
  4369. 'field_id' => '1',
  4370. 'field_name' => 'comment_body',
  4371. 'entity_type' => 'comment',
  4372. 'bundle' => 'comment_node_blog',
  4373. '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:"";}',
  4374. 'deleted' => '0',
  4375. ))
  4376. ->values(array(
  4377. 'id' => '8',
  4378. 'field_id' => '2',
  4379. 'field_name' => 'body',
  4380. 'entity_type' => 'node',
  4381. 'bundle' => 'blog',
  4382. '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";s:2:"-4";s:6:"module";s:4:"text";}s:8:"settings";a:4:{s:15:"display_summary";b:1;s:15:"text_processing";i:1;s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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:"";}',
  4383. 'deleted' => '0',
  4384. ))
  4385. ->values(array(
  4386. 'id' => '9',
  4387. 'field_id' => '1',
  4388. 'field_name' => 'comment_body',
  4389. 'entity_type' => 'comment',
  4390. 'bundle' => 'comment_node_book',
  4391. '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:"";}',
  4392. 'deleted' => '0',
  4393. ))
  4394. ->values(array(
  4395. 'id' => '10',
  4396. 'field_id' => '2',
  4397. 'field_name' => 'body',
  4398. 'entity_type' => 'node',
  4399. 'bundle' => 'book',
  4400. '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:"";}',
  4401. 'deleted' => '0',
  4402. ))
  4403. ->values(array(
  4404. 'id' => '11',
  4405. 'field_id' => '5',
  4406. 'field_name' => 'taxonomy_forums',
  4407. 'entity_type' => 'node',
  4408. 'bundle' => 'forum',
  4409. '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:"";}',
  4410. 'deleted' => '0',
  4411. ))
  4412. ->values(array(
  4413. 'id' => '12',
  4414. 'field_id' => '1',
  4415. 'field_name' => 'comment_body',
  4416. 'entity_type' => 'comment',
  4417. 'bundle' => 'comment_node_forum',
  4418. '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:"";}',
  4419. 'deleted' => '0',
  4420. ))
  4421. ->values(array(
  4422. 'id' => '13',
  4423. 'field_id' => '2',
  4424. 'field_name' => 'body',
  4425. 'entity_type' => 'node',
  4426. 'bundle' => 'forum',
  4427. '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:"";}',
  4428. 'deleted' => '0',
  4429. ))
  4430. ->values(array(
  4431. 'id' => '14',
  4432. 'field_id' => '1',
  4433. 'field_name' => 'comment_body',
  4434. 'entity_type' => 'comment',
  4435. 'bundle' => 'comment_node_test_content_type',
  4436. '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:"";}',
  4437. 'deleted' => '0',
  4438. ))
  4439. ->values(array(
  4440. 'id' => '16',
  4441. 'field_id' => '6',
  4442. 'field_name' => 'field_boolean',
  4443. 'entity_type' => 'node',
  4444. 'bundle' => 'test_content_type',
  4445. '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;}}}',
  4446. 'deleted' => '0',
  4447. ))
  4448. ->values(array(
  4449. 'id' => '17',
  4450. 'field_id' => '7',
  4451. 'field_name' => 'field_email',
  4452. 'entity_type' => 'node',
  4453. 'bundle' => 'test_content_type',
  4454. '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";}}}',
  4455. 'deleted' => '0',
  4456. ))
  4457. ->values(array(
  4458. 'id' => '18',
  4459. 'field_id' => '8',
  4460. 'field_name' => 'field_phone',
  4461. 'entity_type' => 'node',
  4462. 'bundle' => 'test_content_type',
  4463. '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;}',
  4464. 'deleted' => '0',
  4465. ))
  4466. ->values(array(
  4467. 'id' => '19',
  4468. 'field_id' => '9',
  4469. 'field_name' => 'field_date',
  4470. 'entity_type' => 'node',
  4471. 'bundle' => 'test_content_type',
  4472. '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:"";}',
  4473. 'deleted' => '0',
  4474. ))
  4475. ->values(array(
  4476. 'id' => '20',
  4477. 'field_id' => '10',
  4478. 'field_name' => 'field_date_with_end_time',
  4479. 'entity_type' => 'node',
  4480. 'bundle' => 'test_content_type',
  4481. '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:"";}',
  4482. 'deleted' => '0',
  4483. ))
  4484. ->values(array(
  4485. 'id' => '21',
  4486. 'field_id' => '11',
  4487. 'field_name' => 'field_file',
  4488. 'entity_type' => 'node',
  4489. 'bundle' => 'test_content_type',
  4490. '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:"";}',
  4491. 'deleted' => '0',
  4492. ))
  4493. ->values(array(
  4494. 'id' => '22',
  4495. 'field_id' => '12',
  4496. 'field_name' => 'field_float',
  4497. 'entity_type' => 'node',
  4498. 'bundle' => 'test_content_type',
  4499. '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";}}}',
  4500. 'deleted' => '0',
  4501. ))
  4502. ->values(array(
  4503. 'id' => '23',
  4504. 'field_id' => '13',
  4505. 'field_name' => 'field_images',
  4506. 'entity_type' => 'node',
  4507. 'bundle' => 'test_content_type',
  4508. '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:"";}',
  4509. 'deleted' => '0',
  4510. ))
  4511. ->values(array(
  4512. 'id' => '24',
  4513. 'field_id' => '14',
  4514. 'field_name' => 'field_integer',
  4515. 'entity_type' => 'node',
  4516. 'bundle' => 'test_content_type',
  4517. '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;}',
  4518. 'deleted' => '0',
  4519. ))
  4520. ->values(array(
  4521. 'id' => '25',
  4522. 'field_id' => '15',
  4523. 'field_name' => 'field_link',
  4524. 'entity_type' => 'node',
  4525. 'bundle' => 'test_content_type',
  4526. '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;}',
  4527. 'deleted' => '0',
  4528. ))
  4529. ->values(array(
  4530. 'id' => '26',
  4531. 'field_id' => '16',
  4532. 'field_name' => 'field_text_list',
  4533. 'entity_type' => 'node',
  4534. 'bundle' => 'test_content_type',
  4535. '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;}',
  4536. 'deleted' => '0',
  4537. ))
  4538. ->values(array(
  4539. 'id' => '27',
  4540. 'field_id' => '17',
  4541. 'field_name' => 'field_integer_list',
  4542. 'entity_type' => 'node',
  4543. 'bundle' => 'test_content_type',
  4544. '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;}',
  4545. 'deleted' => '0',
  4546. ))
  4547. ->values(array(
  4548. 'id' => '28',
  4549. 'field_id' => '18',
  4550. 'field_name' => 'field_long_text',
  4551. 'entity_type' => 'node',
  4552. 'bundle' => 'test_content_type',
  4553. '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;}',
  4554. 'deleted' => '0',
  4555. ))
  4556. ->values(array(
  4557. 'id' => '30',
  4558. 'field_id' => '20',
  4559. 'field_name' => 'field_term_reference',
  4560. 'entity_type' => 'node',
  4561. 'bundle' => 'test_content_type',
  4562. '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;}',
  4563. 'deleted' => '0',
  4564. ))
  4565. ->values(array(
  4566. 'id' => '31',
  4567. 'field_id' => '21',
  4568. 'field_name' => 'field_text',
  4569. 'entity_type' => 'node',
  4570. 'bundle' => 'test_content_type',
  4571. '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;}',
  4572. 'deleted' => '0',
  4573. ))
  4574. ->values(array(
  4575. 'id' => '32',
  4576. 'field_id' => '14',
  4577. 'field_name' => 'field_integer',
  4578. 'entity_type' => 'comment',
  4579. 'bundle' => 'comment_node_test_content_type',
  4580. '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;}',
  4581. 'deleted' => '0',
  4582. ))
  4583. ->values(array(
  4584. 'id' => '33',
  4585. 'field_id' => '11',
  4586. 'field_name' => 'field_file',
  4587. 'entity_type' => 'user',
  4588. 'bundle' => 'user',
  4589. '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:"";}',
  4590. 'deleted' => '0',
  4591. ))
  4592. ->values(array(
  4593. 'id' => '34',
  4594. 'field_id' => '15',
  4595. 'field_name' => 'field_link',
  4596. 'entity_type' => 'node',
  4597. 'bundle' => 'article',
  4598. '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:13:{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:23:"entity_translation_sync";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;}',
  4599. 'deleted' => '0',
  4600. ))
  4601. ->values(array(
  4602. 'id' => '35',
  4603. 'field_id' => '14',
  4604. 'field_name' => 'field_integer',
  4605. 'entity_type' => 'taxonomy_term',
  4606. 'bundle' => 'test_vocabulary',
  4607. '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;}',
  4608. 'deleted' => '0',
  4609. ))
  4610. ->values(array(
  4611. 'id' => '36',
  4612. 'field_id' => '14',
  4613. 'field_name' => 'field_integer',
  4614. 'entity_type' => 'user',
  4615. 'bundle' => 'user',
  4616. '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;}',
  4617. 'deleted' => '0',
  4618. ))
  4619. ->values(array(
  4620. 'id' => '37',
  4621. 'field_id' => '15',
  4622. 'field_name' => 'field_link',
  4623. 'entity_type' => 'node',
  4624. 'bundle' => 'blog',
  4625. '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:13:{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:23:"entity_translation_sync";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;}',
  4626. 'deleted' => '0',
  4627. ))
  4628. ->values(array(
  4629. 'id' => '38',
  4630. 'field_id' => '22',
  4631. 'field_name' => 'field_node_entityreference',
  4632. 'entity_type' => 'node',
  4633. 'bundle' => 'test_content_type',
  4634. '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;}',
  4635. 'deleted' => '0',
  4636. ))
  4637. ->values(array(
  4638. 'id' => '39',
  4639. 'field_id' => '23',
  4640. 'field_name' => 'field_user_entityreference',
  4641. 'entity_type' => 'node',
  4642. 'bundle' => 'test_content_type',
  4643. '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;}',
  4644. 'deleted' => '0',
  4645. ))
  4646. ->values(array(
  4647. 'id' => '40',
  4648. 'field_id' => '24',
  4649. 'field_name' => 'field_term_entityreference',
  4650. 'entity_type' => 'node',
  4651. 'bundle' => 'test_content_type',
  4652. '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;}',
  4653. 'deleted' => '0',
  4654. ))
  4655. ->values(array(
  4656. 'id' => '41',
  4657. 'field_id' => '20',
  4658. 'field_name' => 'field_term_reference',
  4659. 'entity_type' => 'taxonomy_term',
  4660. 'bundle' => 'test_vocabulary',
  4661. '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;}',
  4662. 'deleted' => '0',
  4663. ))
  4664. ->values(array(
  4665. 'id' => '42',
  4666. 'field_id' => '25',
  4667. 'field_name' => 'field_private_file',
  4668. 'entity_type' => 'node',
  4669. 'bundle' => 'test_content_type',
  4670. '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:"";}',
  4671. 'deleted' => '0',
  4672. ))
  4673. ->values(array(
  4674. 'id' => '43',
  4675. 'field_id' => '26',
  4676. 'field_name' => 'field_text_plain',
  4677. 'entity_type' => 'node',
  4678. 'bundle' => 'article',
  4679. '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:3:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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;}',
  4680. 'deleted' => '0',
  4681. ))
  4682. ->values(array(
  4683. 'id' => '44',
  4684. 'field_id' => '27',
  4685. 'field_name' => 'field_text_filtered',
  4686. 'entity_type' => 'node',
  4687. 'bundle' => 'article',
  4688. '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:3:{s:15:"text_processing";s:1:"1";s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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;}',
  4689. 'deleted' => '0',
  4690. ))
  4691. ->values(array(
  4692. 'id' => '45',
  4693. 'field_id' => '28',
  4694. 'field_name' => 'field_text_plain_filtered',
  4695. 'entity_type' => 'node',
  4696. 'bundle' => 'article',
  4697. '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:3:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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;}',
  4698. 'deleted' => '0',
  4699. ))
  4700. ->values(array(
  4701. 'id' => '46',
  4702. 'field_id' => '29',
  4703. 'field_name' => 'field_text_long_plain',
  4704. 'entity_type' => 'node',
  4705. 'bundle' => 'article',
  4706. '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:3:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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;}',
  4707. 'deleted' => '0',
  4708. ))
  4709. ->values(array(
  4710. 'id' => '47',
  4711. 'field_id' => '30',
  4712. 'field_name' => 'field_text_long_filtered',
  4713. 'entity_type' => 'node',
  4714. 'bundle' => 'article',
  4715. '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:3:{s:15:"text_processing";s:1:"1";s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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;}',
  4716. 'deleted' => '0',
  4717. ))
  4718. ->values(array(
  4719. 'id' => '48',
  4720. 'field_id' => '31',
  4721. 'field_name' => 'field_text_long_plain_filtered',
  4722. 'entity_type' => 'node',
  4723. 'bundle' => 'article',
  4724. '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:3:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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;}',
  4725. 'deleted' => '0',
  4726. ))
  4727. ->values(array(
  4728. 'id' => '49',
  4729. 'field_id' => '32',
  4730. 'field_name' => 'field_text_sum_plain',
  4731. 'entity_type' => 'node',
  4732. 'bundle' => 'article',
  4733. '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:4:{s:15:"text_processing";s:1:"0";s:15:"display_summary";i:0;s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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;}',
  4734. 'deleted' => '0',
  4735. ))
  4736. ->values(array(
  4737. 'id' => '50',
  4738. 'field_id' => '33',
  4739. 'field_name' => 'field_text_sum_filtered',
  4740. 'entity_type' => 'node',
  4741. 'bundle' => 'article',
  4742. '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:4:{s:15:"text_processing";s:1:"1";s:15:"display_summary";i:0;s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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;}',
  4743. 'deleted' => '0',
  4744. ))
  4745. ->values(array(
  4746. 'id' => '51',
  4747. 'field_id' => '34',
  4748. 'field_name' => 'field_text_sum_plain_filtered',
  4749. 'entity_type' => 'node',
  4750. 'bundle' => 'article',
  4751. '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:4:{s:15:"text_processing";s:1:"0";s:15:"display_summary";i:0;s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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;}',
  4752. 'deleted' => '0',
  4753. ))
  4754. ->values(array(
  4755. 'id' => '52',
  4756. 'field_id' => '26',
  4757. 'field_name' => 'field_text_plain',
  4758. 'entity_type' => 'node',
  4759. 'bundle' => 'page',
  4760. '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;}',
  4761. 'deleted' => '0',
  4762. ))
  4763. ->values(array(
  4764. 'id' => '53',
  4765. 'field_id' => '27',
  4766. 'field_name' => 'field_text_filtered',
  4767. 'entity_type' => 'node',
  4768. 'bundle' => 'page',
  4769. '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;}',
  4770. 'deleted' => '0',
  4771. ))
  4772. ->values(array(
  4773. 'id' => '54',
  4774. 'field_id' => '28',
  4775. 'field_name' => 'field_text_plain_filtered',
  4776. 'entity_type' => 'node',
  4777. 'bundle' => 'page',
  4778. '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;}',
  4779. 'deleted' => '0',
  4780. ))
  4781. ->values(array(
  4782. 'id' => '55',
  4783. 'field_id' => '29',
  4784. 'field_name' => 'field_text_long_plain',
  4785. 'entity_type' => 'node',
  4786. 'bundle' => 'page',
  4787. '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;}',
  4788. 'deleted' => '0',
  4789. ))
  4790. ->values(array(
  4791. 'id' => '56',
  4792. 'field_id' => '30',
  4793. 'field_name' => 'field_text_long_filtered',
  4794. 'entity_type' => 'node',
  4795. 'bundle' => 'page',
  4796. '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;}',
  4797. 'deleted' => '0',
  4798. ))
  4799. ->values(array(
  4800. 'id' => '57',
  4801. 'field_id' => '31',
  4802. 'field_name' => 'field_text_long_plain_filtered',
  4803. 'entity_type' => 'node',
  4804. 'bundle' => 'page',
  4805. '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;}',
  4806. 'deleted' => '0',
  4807. ))
  4808. ->values(array(
  4809. 'id' => '58',
  4810. 'field_id' => '32',
  4811. 'field_name' => 'field_text_sum_plain',
  4812. 'entity_type' => 'node',
  4813. 'bundle' => 'page',
  4814. '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;}',
  4815. 'deleted' => '0',
  4816. ))
  4817. ->values(array(
  4818. 'id' => '59',
  4819. 'field_id' => '33',
  4820. 'field_name' => 'field_text_sum_filtered',
  4821. 'entity_type' => 'node',
  4822. 'bundle' => 'page',
  4823. '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;}',
  4824. 'deleted' => '0',
  4825. ))
  4826. ->values(array(
  4827. 'id' => '60',
  4828. 'field_id' => '34',
  4829. 'field_name' => 'field_text_sum_plain_filtered',
  4830. 'entity_type' => 'node',
  4831. 'bundle' => 'page',
  4832. '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;}',
  4833. 'deleted' => '0',
  4834. ))
  4835. ->values(array(
  4836. 'id' => '61',
  4837. 'field_id' => '35',
  4838. 'field_name' => 'field_datetime_without_time',
  4839. 'entity_type' => 'node',
  4840. 'bundle' => 'test_content_type',
  4841. '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:"";}',
  4842. 'deleted' => '0',
  4843. ))
  4844. ->values(array(
  4845. 'id' => '62',
  4846. 'field_id' => '36',
  4847. 'field_name' => 'field_date_without_time',
  4848. 'entity_type' => 'node',
  4849. 'bundle' => 'test_content_type',
  4850. '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:"";}',
  4851. 'deleted' => '0',
  4852. ))
  4853. ->values(array(
  4854. 'id' => '63',
  4855. 'field_id' => '37',
  4856. 'field_name' => 'field_float_list',
  4857. 'entity_type' => 'node',
  4858. 'bundle' => 'test_content_type',
  4859. '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;}',
  4860. 'deleted' => '0',
  4861. ))
  4862. ->values(array(
  4863. 'id' => '64',
  4864. 'field_id' => '38',
  4865. 'field_name' => 'field_reference',
  4866. 'entity_type' => 'node',
  4867. 'bundle' => 'article',
  4868. '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:2:{s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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;}',
  4869. 'deleted' => '0',
  4870. ))
  4871. ->values(array(
  4872. 'id' => '65',
  4873. 'field_id' => '39',
  4874. 'field_name' => 'field_reference_2',
  4875. 'entity_type' => 'node',
  4876. 'bundle' => 'article',
  4877. 'data' => 'a:6:{s:5:"label";s:11:"Reference 2";s:6:"widget";a:4:{s:4:"type";s:33:"entityreference_autocomplete_tags";s:6:"weight";s:2:"21";s:8:"settings";a:3:{s:14:"match_operator";s:8:"CONTAINS";s:4:"size";i:60;s:4:"path";s:0:"";}s:6:"module";s:15:"entityreference";}s:8:"settings";a:2:{s:18:"user_register_form";b:0;s:23:"entity_translation_sync";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:27:"entityreference_entity_view";s:6:"weight";s:2:"21";s:8:"settings";a:3:{s:9:"view_mode";s:7:"default";s:5:"links";b:1;s:20:"use_content_language";b:1;}s:6:"module";s:15:"entityreference";}}s:8:"required";b:0;s:11:"description";s:0:"";}',
  4878. 'deleted' => '0',
  4879. ))
  4880. ->values(array(
  4881. 'id' => '66',
  4882. 'field_id' => '38',
  4883. 'field_name' => 'field_reference',
  4884. 'entity_type' => 'user',
  4885. 'bundle' => 'user',
  4886. 'data' => 'a:7:{s:5:"label";s:9:"Reference";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:2:{s:18:"user_register_form";i:0;s:23:"entity_translation_sync";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:9;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}',
  4887. 'deleted' => '0',
  4888. ))
  4889. ->values(array(
  4890. 'id' => '67',
  4891. 'field_id' => '40',
  4892. 'field_name' => 'title_field',
  4893. 'entity_type' => 'node',
  4894. 'bundle' => 'test_content_type',
  4895. 'data' => 'a:6:{s:5:"label";s:5:"Title";s:11:"description";s:0:"";s:8:"required";b:1;s:8:"settings";a:4:{s:15:"text_processing";i:0;s:10:"hide_label";a:2:{s:4:"page";b:0;s:6:"entity";b:0;}s:18:"user_register_form";b:0;s:23:"entity_translation_sync";b:0;}s:6:"widget";a:4:{s:6:"weight";i:-5;s:4:"type";s:14:"text_textfield";s:8:"settings";a:1:{s:4:"size";i:60;}s:6:"module";s:4:"text";}s:7:"display";a:1:{s:7:"default";a:4:{s:4:"type";s:6:"hidden";s:5:"label";s:5:"above";s:8:"settings";a:0:{}s:6:"weight";i:20;}}}',
  4896. 'deleted' => '0',
  4897. ))
  4898. ->values(array(
  4899. 'id' => '68',
  4900. 'field_id' => '41',
  4901. 'field_name' => 'subject_field',
  4902. 'entity_type' => 'comment',
  4903. 'bundle' => 'comment_node_article',
  4904. 'data' => 'a:6:{s:5:"label";s:7:"Subject";s:11:"description";s:0:"";s:8:"required";b:1;s:8:"settings";a:4:{s:15:"text_processing";i:0;s:10:"hide_label";a:2:{s:4:"page";b:0;s:6:"entity";b:0;}s:18:"user_register_form";b:0;s:23:"entity_translation_sync";b:0;}s:6:"widget";a:4:{s:6:"weight";i:-5;s:4:"type";s:14:"text_textfield";s:8:"settings";a:1:{s:4:"size";i:60;}s:6:"module";s:4:"text";}s:7:"display";a:1:{s:7:"default";a:4:{s:4:"type";s:6:"hidden";s:5:"label";s:5:"above";s:8:"settings";a:0:{}s:6:"weight";i:1;}}}',
  4905. 'deleted' => '0',
  4906. ))
  4907. ->values(array(
  4908. 'id' => '69',
  4909. 'field_id' => '42',
  4910. 'field_name' => 'name_field',
  4911. 'entity_type' => 'taxonomy_term',
  4912. 'bundle' => 'test_vocabulary',
  4913. 'data' => 'a:6:{s:5:"label";s:4:"Name";s:11:"description";s:0:"";s:8:"required";b:1;s:8:"settings";a:4:{s:15:"text_processing";i:0;s:10:"hide_label";a:2:{s:4:"page";b:0;s:6:"entity";b:0;}s:18:"user_register_form";b:0;s:23:"entity_translation_sync";b:0;}s:6:"widget";a:4:{s:6:"weight";i:-5;s:4:"type";s:14:"text_textfield";s:8:"settings";a:1:{s:4:"size";i:60;}s:6:"module";s:4:"text";}s:7:"display";a:1:{s:7:"default";a:4:{s:4:"type";s:6:"hidden";s:5:"label";s:5:"above";s:8:"settings";a:0:{}s:6:"weight";i:14;}}}',
  4914. 'deleted' => '0',
  4915. ))
  4916. ->values(array(
  4917. 'id' => '70',
  4918. 'field_id' => '43',
  4919. 'field_name' => 'description_field',
  4920. 'entity_type' => 'taxonomy_term',
  4921. 'bundle' => 'test_vocabulary',
  4922. 'data' => 'a:6:{s:8:"required";b:0;s:5:"label";s:11:"Description";s:11:"description";s:0:"";s:8:"settings";a:5:{s:15:"text_processing";i:1;s:10:"hide_label";a:2:{s:4:"page";b:0;s:6:"entity";b:0;}s:15:"display_summary";i:0;s:18:"user_register_form";b:0;s:23:"entity_translation_sync";b:0;}s:6:"widget";a:4:{s:6:"weight";i:-5;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:"module";s:4:"text";}s:7:"display";a:1:{s:7:"default";a:4:{s:4:"type";s:6:"hidden";s:5:"label";s:5:"above";s:8:"settings";a:0:{}s:6:"weight";i:15;}}}',
  4923. 'deleted' => '0',
  4924. ))
  4925. ->values(array(
  4926. 'id' => '71',
  4927. 'field_id' => '41',
  4928. 'field_name' => 'subject_field',
  4929. 'entity_type' => 'comment',
  4930. 'bundle' => 'comment_node_test_content_type',
  4931. 'data' => 'a:6:{s:5:"label";s:7:"Subject";s:11:"description";s:0:"";s:8:"required";b:1;s:8:"settings";a:4:{s:15:"text_processing";i:0;s:10:"hide_label";a:2:{s:4:"page";b:0;s:6:"entity";b:0;}s:18:"user_register_form";b:0;s:23:"entity_translation_sync";b:0;}s:6:"widget";a:4:{s:6:"weight";i:-5;s:4:"type";s:14:"text_textfield";s:8:"settings";a:1:{s:4:"size";i:60;}s:6:"module";s:4:"text";}s:7:"display";a:1:{s:7:"default";a:4:{s:4:"type";s:6:"hidden";s:5:"label";s:5:"above";s:8:"settings";a:0:{}s:6:"weight";i:1;}}}',
  4932. 'deleted' => '0',
  4933. ))
  4934. ->values(array(
  4935. 'id' => '72',
  4936. 'field_id' => '44',
  4937. 'field_name' => 'field_vocab_localize',
  4938. 'entity_type' => 'node',
  4939. 'bundle' => 'article',
  4940. 'data' => 'a:7:{s:5:"label";s:14:"vocab_localize";s:6:"widget";a:5:{s:6:"weight";s:2:"22";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:2:{s:18:"user_register_form";b:0;s:23:"entity_translation_sync";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:33:"i18n_taxonomy_term_reference_link";s:8:"settings";a:0:{}s:6:"module";s:13:"i18n_taxonomy";s:6:"weight";i:22;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}',
  4941. 'deleted' => '0',
  4942. ))
  4943. ->values(array(
  4944. 'id' => '73',
  4945. 'field_id' => '45',
  4946. 'field_name' => 'field_vocab_translate',
  4947. 'entity_type' => 'node',
  4948. 'bundle' => 'article',
  4949. 'data' => 'a:7:{s:5:"label";s:15:"vocab_translate";s:6:"widget";a:5:{s:6:"weight";s:2:"23";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:3:{s:50:"entity_translation_taxonomy_autocomplete_translate";b:0;s:18:"user_register_form";b:0;s:23:"entity_translation_sync";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:33:"i18n_taxonomy_term_reference_link";s:8:"settings";a:0:{}s:6:"module";s:13:"i18n_taxonomy";s:6:"weight";i:23;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}',
  4950. 'deleted' => '0',
  4951. ))
  4952. ->values(array(
  4953. 'id' => '74',
  4954. 'field_id' => '46',
  4955. 'field_name' => 'field_vocab_fixed',
  4956. 'entity_type' => 'node',
  4957. 'bundle' => 'article',
  4958. 'data' => 'a:7:{s:5:"label";s:11:"vocab_fixed";s:6:"widget";a:5:{s:6:"weight";s:2:"24";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:2:{s:18:"user_register_form";b:0;s:23:"entity_translation_sync";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:33:"i18n_taxonomy_term_reference_link";s:8:"settings";a:0:{}s:6:"module";s:13:"i18n_taxonomy";s:6:"weight";i:24;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}',
  4959. 'deleted' => '0',
  4960. ))
  4961. ->values(array(
  4962. 'id' => '76',
  4963. 'field_id' => '48',
  4964. 'field_name' => 'field_color',
  4965. 'entity_type' => 'node',
  4966. 'bundle' => 'blog',
  4967. 'data' => 'a:7:{s:5:"label";s:5:"Color";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:2:{s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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:10;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}',
  4968. 'deleted' => '0',
  4969. ))
  4970. ->values(array(
  4971. 'id' => '77',
  4972. 'field_id' => '49',
  4973. 'field_name' => 'field_rating',
  4974. 'entity_type' => 'node',
  4975. 'bundle' => 'blog',
  4976. 'data' => 'a:7:{s:5:"label";s:6:"Rating";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:2:{s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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:11;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}',
  4977. 'deleted' => '0',
  4978. ))
  4979. ->values(array(
  4980. 'id' => '78',
  4981. 'field_id' => '6',
  4982. 'field_name' => 'field_boolean',
  4983. 'entity_type' => 'node',
  4984. 'bundle' => 'blog',
  4985. 'data' => 'a:6:{s:5:"label";s:7:"Boolean";s:6:"widget";a:4:{s:4:"type";s:13:"options_onoff";s:6:"weight";s:2:"14";s:8:"settings";a:1:{s:13:"display_label";i:0;}s:6:"module";s:7:"options";}s:8:"settings";a:2:{s:18:"user_register_form";b:0;s:23:"entity_translation_sync";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:12;}}s:8:"required";b:0;s:11:"description";s:0:"";}',
  4986. 'deleted' => '0',
  4987. ))
  4988. ->execute();
  4989. $connection->schema()->createTable('field_data_body', array(
  4990. 'fields' => array(
  4991. 'entity_type' => array(
  4992. 'type' => 'varchar',
  4993. 'not null' => TRUE,
  4994. 'length' => '128',
  4995. 'default' => '',
  4996. ),
  4997. 'bundle' => array(
  4998. 'type' => 'varchar',
  4999. 'not null' => TRUE,
  5000. 'length' => '128',
  5001. 'default' => '',
  5002. ),
  5003. 'deleted' => array(
  5004. 'type' => 'int',
  5005. 'not null' => TRUE,
  5006. 'size' => 'normal',
  5007. 'default' => '0',
  5008. ),
  5009. 'entity_id' => array(
  5010. 'type' => 'int',
  5011. 'not null' => TRUE,
  5012. 'size' => 'normal',
  5013. 'unsigned' => TRUE,
  5014. ),
  5015. 'revision_id' => array(
  5016. 'type' => 'int',
  5017. 'not null' => FALSE,
  5018. 'size' => 'normal',
  5019. 'unsigned' => TRUE,
  5020. ),
  5021. 'language' => array(
  5022. 'type' => 'varchar',
  5023. 'not null' => TRUE,
  5024. 'length' => '32',
  5025. 'default' => '',
  5026. ),
  5027. 'delta' => array(
  5028. 'type' => 'int',
  5029. 'not null' => TRUE,
  5030. 'size' => 'normal',
  5031. 'unsigned' => TRUE,
  5032. ),
  5033. 'body_value' => array(
  5034. 'type' => 'text',
  5035. 'not null' => FALSE,
  5036. 'size' => 'normal',
  5037. ),
  5038. 'body_summary' => array(
  5039. 'type' => 'text',
  5040. 'not null' => FALSE,
  5041. 'size' => 'normal',
  5042. ),
  5043. 'body_format' => array(
  5044. 'type' => 'varchar',
  5045. 'not null' => FALSE,
  5046. 'length' => '255',
  5047. ),
  5048. ),
  5049. 'primary key' => array(
  5050. 'entity_type',
  5051. 'deleted',
  5052. 'entity_id',
  5053. 'language',
  5054. 'delta',
  5055. ),
  5056. 'mysql_character_set' => 'utf8',
  5057. ));
  5058. $connection->insert('field_data_body')
  5059. ->fields(array(
  5060. 'entity_type',
  5061. 'bundle',
  5062. 'deleted',
  5063. 'entity_id',
  5064. 'revision_id',
  5065. 'language',
  5066. 'delta',
  5067. 'body_value',
  5068. 'body_summary',
  5069. 'body_format',
  5070. ))
  5071. ->values(array(
  5072. 'entity_type' => 'node',
  5073. 'bundle' => 'article',
  5074. 'deleted' => '0',
  5075. 'entity_id' => '2',
  5076. 'revision_id' => '2',
  5077. 'language' => 'und',
  5078. 'delta' => '0',
  5079. 'body_value' => "...is that it's the absolute best show ever. Trust me, I would know.",
  5080. 'body_summary' => '',
  5081. 'body_format' => 'filtered_html',
  5082. ))
  5083. ->values(array(
  5084. 'entity_type' => 'node',
  5085. 'bundle' => 'article',
  5086. 'deleted' => '0',
  5087. 'entity_id' => '3',
  5088. 'revision_id' => '3',
  5089. 'language' => 'und',
  5090. 'delta' => '0',
  5091. 'body_value' => "is - ...is that it's the absolute best show ever. Trust me, I would know.",
  5092. 'body_summary' => '',
  5093. 'body_format' => 'filtered_html',
  5094. ))
  5095. ->values(array(
  5096. 'entity_type' => 'node',
  5097. 'bundle' => 'blog',
  5098. 'deleted' => '0',
  5099. 'entity_id' => '8',
  5100. 'revision_id' => '8',
  5101. 'language' => 'und',
  5102. 'delta' => '0',
  5103. 'body_value' => "'Tis everywhere.",
  5104. 'body_summary' => '',
  5105. 'body_format' => 'filtered_html',
  5106. ))
  5107. ->values(array(
  5108. 'entity_type' => 'node',
  5109. 'bundle' => 'blog',
  5110. 'deleted' => '0',
  5111. 'entity_id' => '9',
  5112. 'revision_id' => '9',
  5113. 'language' => 'und',
  5114. 'delta' => '0',
  5115. 'body_value' => "fr - 'Tis everywhere.",
  5116. 'body_summary' => '',
  5117. 'body_format' => 'filtered_html',
  5118. ))
  5119. ->values(array(
  5120. 'entity_type' => 'node',
  5121. 'bundle' => 'blog',
  5122. 'deleted' => '0',
  5123. 'entity_id' => '10',
  5124. 'revision_id' => '10',
  5125. 'language' => 'und',
  5126. 'delta' => '0',
  5127. 'body_value' => "is - 'Tis everywhere.",
  5128. 'body_summary' => '',
  5129. 'body_format' => 'filtered_html',
  5130. ))
  5131. ->execute();
  5132. $connection->schema()->createTable('field_data_comment_body', array(
  5133. 'fields' => array(
  5134. 'entity_type' => array(
  5135. 'type' => 'varchar',
  5136. 'not null' => TRUE,
  5137. 'length' => '128',
  5138. 'default' => '',
  5139. ),
  5140. 'bundle' => array(
  5141. 'type' => 'varchar',
  5142. 'not null' => TRUE,
  5143. 'length' => '128',
  5144. 'default' => '',
  5145. ),
  5146. 'deleted' => array(
  5147. 'type' => 'int',
  5148. 'not null' => TRUE,
  5149. 'size' => 'normal',
  5150. 'default' => '0',
  5151. ),
  5152. 'entity_id' => array(
  5153. 'type' => 'int',
  5154. 'not null' => TRUE,
  5155. 'size' => 'normal',
  5156. 'unsigned' => TRUE,
  5157. ),
  5158. 'revision_id' => array(
  5159. 'type' => 'int',
  5160. 'not null' => FALSE,
  5161. 'size' => 'normal',
  5162. 'unsigned' => TRUE,
  5163. ),
  5164. 'language' => array(
  5165. 'type' => 'varchar',
  5166. 'not null' => TRUE,
  5167. 'length' => '32',
  5168. 'default' => '',
  5169. ),
  5170. 'delta' => array(
  5171. 'type' => 'int',
  5172. 'not null' => TRUE,
  5173. 'size' => 'normal',
  5174. 'unsigned' => TRUE,
  5175. ),
  5176. 'comment_body_value' => array(
  5177. 'type' => 'text',
  5178. 'not null' => FALSE,
  5179. 'size' => 'normal',
  5180. ),
  5181. 'comment_body_format' => array(
  5182. 'type' => 'varchar',
  5183. 'not null' => FALSE,
  5184. 'length' => '255',
  5185. ),
  5186. ),
  5187. 'primary key' => array(
  5188. 'entity_type',
  5189. 'deleted',
  5190. 'entity_id',
  5191. 'language',
  5192. 'delta',
  5193. ),
  5194. 'mysql_character_set' => 'utf8',
  5195. ));
  5196. $connection->insert('field_data_comment_body')
  5197. ->fields(array(
  5198. 'entity_type',
  5199. 'bundle',
  5200. 'deleted',
  5201. 'entity_id',
  5202. 'revision_id',
  5203. 'language',
  5204. 'delta',
  5205. 'comment_body_value',
  5206. 'comment_body_format',
  5207. ))
  5208. ->values(array(
  5209. 'entity_type' => 'comment',
  5210. 'bundle' => 'comment_node_test_content_type',
  5211. 'deleted' => '0',
  5212. 'entity_id' => '1',
  5213. 'revision_id' => '1',
  5214. 'language' => 'und',
  5215. 'delta' => '0',
  5216. 'comment_body_value' => 'This is a comment',
  5217. 'comment_body_format' => 'filtered_html',
  5218. ))
  5219. ->values(array(
  5220. 'entity_type' => 'comment',
  5221. 'bundle' => 'comment_node_article',
  5222. 'deleted' => '0',
  5223. 'entity_id' => '2',
  5224. 'revision_id' => '2',
  5225. 'language' => 'und',
  5226. 'delta' => '0',
  5227. 'comment_body_value' => 'TNG is better than DS9.',
  5228. 'comment_body_format' => 'filtered_html',
  5229. ))
  5230. ->values(array(
  5231. 'entity_type' => 'comment',
  5232. 'bundle' => 'comment_node_article',
  5233. 'deleted' => '0',
  5234. 'entity_id' => '3',
  5235. 'revision_id' => '3',
  5236. 'language' => 'und',
  5237. 'delta' => '0',
  5238. 'comment_body_value' => 'This is a comment to an Icelandic translation.',
  5239. 'comment_body_format' => 'filtered_html',
  5240. ))
  5241. ->values(array(
  5242. 'entity_type' => 'comment',
  5243. 'bundle' => 'comment_node_test_content_type',
  5244. 'deleted' => '0',
  5245. 'entity_id' => '4',
  5246. 'revision_id' => '4',
  5247. 'language' => 'und',
  5248. 'delta' => '0',
  5249. 'comment_body_value' => 'A comment without language (migrated from Drupal 6)',
  5250. 'comment_body_format' => 'filtered_html',
  5251. ))
  5252. ->execute();
  5253. $connection->schema()->createTable('field_data_description_field', array(
  5254. 'fields' => array(
  5255. 'entity_type' => array(
  5256. 'type' => 'varchar',
  5257. 'not null' => TRUE,
  5258. 'length' => '128',
  5259. 'default' => '',
  5260. ),
  5261. 'bundle' => array(
  5262. 'type' => 'varchar',
  5263. 'not null' => TRUE,
  5264. 'length' => '128',
  5265. 'default' => '',
  5266. ),
  5267. 'deleted' => array(
  5268. 'type' => 'int',
  5269. 'not null' => TRUE,
  5270. 'size' => 'tiny',
  5271. 'default' => '0',
  5272. ),
  5273. 'entity_id' => array(
  5274. 'type' => 'int',
  5275. 'not null' => TRUE,
  5276. 'size' => 'normal',
  5277. 'unsigned' => TRUE,
  5278. ),
  5279. 'revision_id' => array(
  5280. 'type' => 'int',
  5281. 'not null' => FALSE,
  5282. 'size' => 'normal',
  5283. 'unsigned' => TRUE,
  5284. ),
  5285. 'language' => array(
  5286. 'type' => 'varchar',
  5287. 'not null' => TRUE,
  5288. 'length' => '32',
  5289. 'default' => '',
  5290. ),
  5291. 'delta' => array(
  5292. 'type' => 'int',
  5293. 'not null' => TRUE,
  5294. 'size' => 'normal',
  5295. 'unsigned' => TRUE,
  5296. ),
  5297. 'description_field_value' => array(
  5298. 'type' => 'text',
  5299. 'not null' => FALSE,
  5300. 'size' => 'big',
  5301. ),
  5302. 'description_field_summary' => array(
  5303. 'type' => 'text',
  5304. 'not null' => FALSE,
  5305. 'size' => 'big',
  5306. ),
  5307. 'description_field_format' => array(
  5308. 'type' => 'varchar',
  5309. 'not null' => FALSE,
  5310. 'length' => '255',
  5311. ),
  5312. ),
  5313. 'primary key' => array(
  5314. 'entity_type',
  5315. 'entity_id',
  5316. 'deleted',
  5317. 'delta',
  5318. 'language',
  5319. ),
  5320. 'indexes' => array(
  5321. 'entity_type' => array(
  5322. 'entity_type',
  5323. ),
  5324. 'bundle' => array(
  5325. 'bundle',
  5326. ),
  5327. 'deleted' => array(
  5328. 'deleted',
  5329. ),
  5330. 'entity_id' => array(
  5331. 'entity_id',
  5332. ),
  5333. 'revision_id' => array(
  5334. 'revision_id',
  5335. ),
  5336. 'language' => array(
  5337. 'language',
  5338. ),
  5339. 'description_field_format' => array(
  5340. array(
  5341. 'description_field_format',
  5342. '191',
  5343. ),
  5344. ),
  5345. ),
  5346. 'mysql_character_set' => 'utf8',
  5347. ));
  5348. $connection->insert('field_data_description_field')
  5349. ->fields(array(
  5350. 'entity_type',
  5351. 'bundle',
  5352. 'deleted',
  5353. 'entity_id',
  5354. 'revision_id',
  5355. 'language',
  5356. 'delta',
  5357. 'description_field_value',
  5358. 'description_field_summary',
  5359. 'description_field_format',
  5360. ))
  5361. ->values(array(
  5362. 'entity_type' => 'taxonomy_term',
  5363. 'bundle' => 'test_vocabulary',
  5364. 'deleted' => '0',
  5365. 'entity_id' => '2',
  5366. 'revision_id' => '2',
  5367. 'language' => 'en',
  5368. 'delta' => '0',
  5369. 'description_field_value' => 'The first term. (This is a real field!)',
  5370. 'description_field_summary' => '',
  5371. 'description_field_format' => 'filtered_html',
  5372. ))
  5373. ->values(array(
  5374. 'entity_type' => 'taxonomy_term',
  5375. 'bundle' => 'test_vocabulary',
  5376. 'deleted' => '0',
  5377. 'entity_id' => '3',
  5378. 'revision_id' => '3',
  5379. 'language' => 'en',
  5380. 'delta' => '0',
  5381. 'description_field_value' => 'The second term.',
  5382. 'description_field_summary' => '',
  5383. 'description_field_format' => 'filtered_html',
  5384. ))
  5385. ->values(array(
  5386. 'entity_type' => 'taxonomy_term',
  5387. 'bundle' => 'test_vocabulary',
  5388. 'deleted' => '0',
  5389. 'entity_id' => '4',
  5390. 'revision_id' => '4',
  5391. 'language' => 'en',
  5392. 'delta' => '0',
  5393. 'description_field_value' => 'The third term in plain old English.',
  5394. 'description_field_summary' => '',
  5395. 'description_field_format' => 'full_html',
  5396. ))
  5397. ->values(array(
  5398. 'entity_type' => 'taxonomy_term',
  5399. 'bundle' => 'test_vocabulary',
  5400. 'deleted' => '0',
  5401. 'entity_id' => '4',
  5402. 'revision_id' => '4',
  5403. 'language' => 'fr',
  5404. 'delta' => '0',
  5405. 'description_field_value' => "The third term en français s'il vous plaît.",
  5406. 'description_field_summary' => '',
  5407. 'description_field_format' => 'filtered_html',
  5408. ))
  5409. ->values(array(
  5410. 'entity_type' => 'taxonomy_term',
  5411. 'bundle' => 'test_vocabulary',
  5412. 'deleted' => '0',
  5413. 'entity_id' => '4',
  5414. 'revision_id' => '4',
  5415. 'language' => 'is',
  5416. 'delta' => '0',
  5417. 'description_field_value' => 'The third term á íslensku.',
  5418. 'description_field_summary' => '',
  5419. 'description_field_format' => 'plain_text',
  5420. ))
  5421. ->execute();
  5422. $connection->schema()->createTable('field_data_field_boolean', array(
  5423. 'fields' => array(
  5424. 'entity_type' => array(
  5425. 'type' => 'varchar',
  5426. 'not null' => TRUE,
  5427. 'length' => '128',
  5428. 'default' => '',
  5429. ),
  5430. 'bundle' => array(
  5431. 'type' => 'varchar',
  5432. 'not null' => TRUE,
  5433. 'length' => '128',
  5434. 'default' => '',
  5435. ),
  5436. 'deleted' => array(
  5437. 'type' => 'int',
  5438. 'not null' => TRUE,
  5439. 'size' => 'normal',
  5440. 'default' => '0',
  5441. ),
  5442. 'entity_id' => array(
  5443. 'type' => 'int',
  5444. 'not null' => TRUE,
  5445. 'size' => 'normal',
  5446. 'unsigned' => TRUE,
  5447. ),
  5448. 'revision_id' => array(
  5449. 'type' => 'int',
  5450. 'not null' => FALSE,
  5451. 'size' => 'normal',
  5452. 'unsigned' => TRUE,
  5453. ),
  5454. 'language' => array(
  5455. 'type' => 'varchar',
  5456. 'not null' => TRUE,
  5457. 'length' => '32',
  5458. 'default' => '',
  5459. ),
  5460. 'delta' => array(
  5461. 'type' => 'int',
  5462. 'not null' => TRUE,
  5463. 'size' => 'normal',
  5464. 'unsigned' => TRUE,
  5465. ),
  5466. 'field_boolean_value' => array(
  5467. 'type' => 'int',
  5468. 'not null' => FALSE,
  5469. 'size' => 'normal',
  5470. ),
  5471. ),
  5472. 'primary key' => array(
  5473. 'entity_type',
  5474. 'deleted',
  5475. 'entity_id',
  5476. 'language',
  5477. 'delta',
  5478. ),
  5479. 'mysql_character_set' => 'utf8',
  5480. ));
  5481. $connection->insert('field_data_field_boolean')
  5482. ->fields(array(
  5483. 'entity_type',
  5484. 'bundle',
  5485. 'deleted',
  5486. 'entity_id',
  5487. 'revision_id',
  5488. 'language',
  5489. 'delta',
  5490. 'field_boolean_value',
  5491. ))
  5492. ->values(array(
  5493. 'entity_type' => 'node',
  5494. 'bundle' => 'test_content_type',
  5495. 'deleted' => '0',
  5496. 'entity_id' => '1',
  5497. 'revision_id' => '1',
  5498. 'language' => 'fr',
  5499. 'delta' => '0',
  5500. 'field_boolean_value' => '1',
  5501. ))
  5502. ->values(array(
  5503. 'entity_type' => 'node',
  5504. 'bundle' => 'test_content_type',
  5505. 'deleted' => '0',
  5506. 'entity_id' => '1',
  5507. 'revision_id' => '1',
  5508. 'language' => 'is',
  5509. 'delta' => '0',
  5510. 'field_boolean_value' => '1',
  5511. ))
  5512. ->execute();
  5513. $connection->schema()->createTable('field_data_field_color', array(
  5514. 'fields' => array(
  5515. 'entity_type' => array(
  5516. 'type' => 'varchar',
  5517. 'not null' => TRUE,
  5518. 'length' => '128',
  5519. 'default' => '',
  5520. ),
  5521. 'bundle' => array(
  5522. 'type' => 'varchar',
  5523. 'not null' => TRUE,
  5524. 'length' => '128',
  5525. 'default' => '',
  5526. ),
  5527. 'deleted' => array(
  5528. 'type' => 'int',
  5529. 'not null' => TRUE,
  5530. 'size' => 'tiny',
  5531. 'default' => '0',
  5532. ),
  5533. 'entity_id' => array(
  5534. 'type' => 'int',
  5535. 'not null' => TRUE,
  5536. 'size' => 'normal',
  5537. 'unsigned' => TRUE,
  5538. ),
  5539. 'revision_id' => array(
  5540. 'type' => 'int',
  5541. 'not null' => FALSE,
  5542. 'size' => 'normal',
  5543. 'unsigned' => TRUE,
  5544. ),
  5545. 'language' => array(
  5546. 'type' => 'varchar',
  5547. 'not null' => TRUE,
  5548. 'length' => '32',
  5549. 'default' => '',
  5550. ),
  5551. 'delta' => array(
  5552. 'type' => 'int',
  5553. 'not null' => TRUE,
  5554. 'size' => 'normal',
  5555. 'unsigned' => TRUE,
  5556. ),
  5557. 'field_color_value' => array(
  5558. 'type' => 'varchar',
  5559. 'not null' => FALSE,
  5560. 'length' => '255',
  5561. ),
  5562. ),
  5563. 'primary key' => array(
  5564. 'entity_type',
  5565. 'entity_id',
  5566. 'deleted',
  5567. 'delta',
  5568. 'language',
  5569. ),
  5570. 'indexes' => array(
  5571. 'entity_type' => array(
  5572. 'entity_type',
  5573. ),
  5574. 'bundle' => array(
  5575. 'bundle',
  5576. ),
  5577. 'deleted' => array(
  5578. 'deleted',
  5579. ),
  5580. 'entity_id' => array(
  5581. 'entity_id',
  5582. ),
  5583. 'revision_id' => array(
  5584. 'revision_id',
  5585. ),
  5586. 'language' => array(
  5587. 'language',
  5588. ),
  5589. 'field_color_value' => array(
  5590. array(
  5591. 'field_color_value',
  5592. '191',
  5593. ),
  5594. ),
  5595. ),
  5596. 'mysql_character_set' => 'utf8',
  5597. ));
  5598. $connection->insert('field_data_field_color')
  5599. ->fields(array(
  5600. 'entity_type',
  5601. 'bundle',
  5602. 'deleted',
  5603. 'entity_id',
  5604. 'revision_id',
  5605. 'language',
  5606. 'delta',
  5607. 'field_color_value',
  5608. ))
  5609. ->values(array(
  5610. 'entity_type' => 'node',
  5611. 'bundle' => 'blog',
  5612. 'deleted' => '0',
  5613. 'entity_id' => '8',
  5614. 'revision_id' => '8',
  5615. 'language' => 'en',
  5616. 'delta' => '0',
  5617. 'field_color_value' => '0',
  5618. ))
  5619. ->values(array(
  5620. 'entity_type' => 'node',
  5621. 'bundle' => 'blog',
  5622. 'deleted' => '0',
  5623. 'entity_id' => '9',
  5624. 'revision_id' => '9',
  5625. 'language' => 'fr',
  5626. 'delta' => '0',
  5627. 'field_color_value' => '1',
  5628. ))
  5629. ->values(array(
  5630. 'entity_type' => 'node',
  5631. 'bundle' => 'blog',
  5632. 'deleted' => '0',
  5633. 'entity_id' => '10',
  5634. 'revision_id' => '10',
  5635. 'language' => 'is',
  5636. 'delta' => '0',
  5637. 'field_color_value' => '0',
  5638. ))
  5639. ->execute();
  5640. $connection->schema()->createTable('field_data_field_date', array(
  5641. 'fields' => array(
  5642. 'entity_type' => array(
  5643. 'type' => 'varchar',
  5644. 'not null' => TRUE,
  5645. 'length' => '128',
  5646. 'default' => '',
  5647. ),
  5648. 'bundle' => array(
  5649. 'type' => 'varchar',
  5650. 'not null' => TRUE,
  5651. 'length' => '128',
  5652. 'default' => '',
  5653. ),
  5654. 'deleted' => array(
  5655. 'type' => 'int',
  5656. 'not null' => TRUE,
  5657. 'size' => 'normal',
  5658. 'default' => '0',
  5659. ),
  5660. 'entity_id' => array(
  5661. 'type' => 'int',
  5662. 'not null' => TRUE,
  5663. 'size' => 'normal',
  5664. 'unsigned' => TRUE,
  5665. ),
  5666. 'revision_id' => array(
  5667. 'type' => 'int',
  5668. 'not null' => FALSE,
  5669. 'size' => 'normal',
  5670. 'unsigned' => TRUE,
  5671. ),
  5672. 'language' => array(
  5673. 'type' => 'varchar',
  5674. 'not null' => TRUE,
  5675. 'length' => '32',
  5676. 'default' => '',
  5677. ),
  5678. 'delta' => array(
  5679. 'type' => 'int',
  5680. 'not null' => TRUE,
  5681. 'size' => 'normal',
  5682. 'unsigned' => TRUE,
  5683. ),
  5684. 'field_date_value' => array(
  5685. 'type' => 'varchar',
  5686. 'not null' => FALSE,
  5687. 'length' => '100',
  5688. ),
  5689. ),
  5690. 'primary key' => array(
  5691. 'entity_type',
  5692. 'deleted',
  5693. 'entity_id',
  5694. 'language',
  5695. 'delta',
  5696. ),
  5697. 'mysql_character_set' => 'utf8',
  5698. ));
  5699. $connection->insert('field_data_field_date')
  5700. ->fields(array(
  5701. 'entity_type',
  5702. 'bundle',
  5703. 'deleted',
  5704. 'entity_id',
  5705. 'revision_id',
  5706. 'language',
  5707. 'delta',
  5708. 'field_date_value',
  5709. ))
  5710. ->values(array(
  5711. 'entity_type' => 'node',
  5712. 'bundle' => 'test_content_type',
  5713. 'deleted' => '0',
  5714. 'entity_id' => '1',
  5715. 'revision_id' => '1',
  5716. 'language' => 'und',
  5717. 'delta' => '0',
  5718. 'field_date_value' => '2015-01-20 04:15:00',
  5719. ))
  5720. ->execute();
  5721. $connection->schema()->createTable('field_data_field_date_with_end_time', array(
  5722. 'fields' => array(
  5723. 'entity_type' => array(
  5724. 'type' => 'varchar',
  5725. 'not null' => TRUE,
  5726. 'length' => '128',
  5727. 'default' => '',
  5728. ),
  5729. 'bundle' => array(
  5730. 'type' => 'varchar',
  5731. 'not null' => TRUE,
  5732. 'length' => '128',
  5733. 'default' => '',
  5734. ),
  5735. 'deleted' => array(
  5736. 'type' => 'int',
  5737. 'not null' => TRUE,
  5738. 'size' => 'normal',
  5739. 'default' => '0',
  5740. ),
  5741. 'entity_id' => array(
  5742. 'type' => 'int',
  5743. 'not null' => TRUE,
  5744. 'size' => 'normal',
  5745. 'unsigned' => TRUE,
  5746. ),
  5747. 'revision_id' => array(
  5748. 'type' => 'int',
  5749. 'not null' => FALSE,
  5750. 'size' => 'normal',
  5751. 'unsigned' => TRUE,
  5752. ),
  5753. 'language' => array(
  5754. 'type' => 'varchar',
  5755. 'not null' => TRUE,
  5756. 'length' => '32',
  5757. 'default' => '',
  5758. ),
  5759. 'delta' => array(
  5760. 'type' => 'int',
  5761. 'not null' => TRUE,
  5762. 'size' => 'normal',
  5763. 'unsigned' => TRUE,
  5764. ),
  5765. 'field_date_with_end_time_value' => array(
  5766. 'type' => 'int',
  5767. 'not null' => FALSE,
  5768. 'size' => 'normal',
  5769. ),
  5770. 'field_date_with_end_time_value2' => array(
  5771. 'type' => 'int',
  5772. 'not null' => FALSE,
  5773. 'size' => 'normal',
  5774. ),
  5775. ),
  5776. 'primary key' => array(
  5777. 'entity_type',
  5778. 'deleted',
  5779. 'entity_id',
  5780. 'language',
  5781. 'delta',
  5782. ),
  5783. 'mysql_character_set' => 'utf8',
  5784. ));
  5785. $connection->insert('field_data_field_date_with_end_time')
  5786. ->fields(array(
  5787. 'entity_type',
  5788. 'bundle',
  5789. 'deleted',
  5790. 'entity_id',
  5791. 'revision_id',
  5792. 'language',
  5793. 'delta',
  5794. 'field_date_with_end_time_value',
  5795. 'field_date_with_end_time_value2',
  5796. ))
  5797. ->values(array(
  5798. 'entity_type' => 'node',
  5799. 'bundle' => 'test_content_type',
  5800. 'deleted' => '0',
  5801. 'entity_id' => '1',
  5802. 'revision_id' => '1',
  5803. 'language' => 'und',
  5804. 'delta' => '0',
  5805. 'field_date_with_end_time_value' => '1421727300',
  5806. 'field_date_with_end_time_value2' => '1421727300',
  5807. ))
  5808. ->execute();
  5809. $connection->schema()->createTable('field_data_field_date_without_time', array(
  5810. 'fields' => array(
  5811. 'entity_type' => array(
  5812. 'type' => 'varchar',
  5813. 'not null' => TRUE,
  5814. 'length' => '128',
  5815. 'default' => '',
  5816. ),
  5817. 'bundle' => array(
  5818. 'type' => 'varchar',
  5819. 'not null' => TRUE,
  5820. 'length' => '128',
  5821. 'default' => '',
  5822. ),
  5823. 'deleted' => array(
  5824. 'type' => 'int',
  5825. 'not null' => TRUE,
  5826. 'size' => 'normal',
  5827. 'default' => '0',
  5828. ),
  5829. 'entity_id' => array(
  5830. 'type' => 'int',
  5831. 'not null' => TRUE,
  5832. 'size' => 'normal',
  5833. 'unsigned' => TRUE,
  5834. ),
  5835. 'revision_id' => array(
  5836. 'type' => 'int',
  5837. 'not null' => FALSE,
  5838. 'size' => 'normal',
  5839. 'unsigned' => TRUE,
  5840. ),
  5841. 'language' => array(
  5842. 'type' => 'varchar',
  5843. 'not null' => TRUE,
  5844. 'length' => '32',
  5845. 'default' => '',
  5846. ),
  5847. 'delta' => array(
  5848. 'type' => 'int',
  5849. 'not null' => TRUE,
  5850. 'size' => 'normal',
  5851. 'unsigned' => TRUE,
  5852. ),
  5853. 'field_date_without_time_value' => array(
  5854. 'type' => 'varchar',
  5855. 'not null' => FALSE,
  5856. 'length' => '100',
  5857. ),
  5858. ),
  5859. 'primary key' => array(
  5860. 'entity_type',
  5861. 'deleted',
  5862. 'entity_id',
  5863. 'language',
  5864. 'delta',
  5865. ),
  5866. 'mysql_character_set' => 'utf8',
  5867. ));
  5868. $connection->insert('field_data_field_date_without_time')
  5869. ->fields(array(
  5870. 'entity_type',
  5871. 'bundle',
  5872. 'deleted',
  5873. 'entity_id',
  5874. 'revision_id',
  5875. 'language',
  5876. 'delta',
  5877. 'field_date_without_time_value',
  5878. ))
  5879. ->values(array(
  5880. 'entity_type' => 'node',
  5881. 'bundle' => 'test_content_type',
  5882. 'deleted' => '0',
  5883. 'entity_id' => '1',
  5884. 'revision_id' => '1',
  5885. 'language' => 'und',
  5886. 'delta' => '0',
  5887. 'field_date_without_time_value' => '2015-01-20T00:00:00',
  5888. ))
  5889. ->execute();
  5890. $connection->schema()->createTable('field_data_field_datetime_without_time', array(
  5891. 'fields' => array(
  5892. 'entity_type' => array(
  5893. 'type' => 'varchar',
  5894. 'not null' => TRUE,
  5895. 'length' => '128',
  5896. 'default' => '',
  5897. ),
  5898. 'bundle' => array(
  5899. 'type' => 'varchar',
  5900. 'not null' => TRUE,
  5901. 'length' => '128',
  5902. 'default' => '',
  5903. ),
  5904. 'deleted' => array(
  5905. 'type' => 'int',
  5906. 'not null' => TRUE,
  5907. 'size' => 'normal',
  5908. 'default' => '0',
  5909. ),
  5910. 'entity_id' => array(
  5911. 'type' => 'int',
  5912. 'not null' => TRUE,
  5913. 'size' => 'normal',
  5914. 'unsigned' => TRUE,
  5915. ),
  5916. 'revision_id' => array(
  5917. 'type' => 'int',
  5918. 'not null' => FALSE,
  5919. 'size' => 'normal',
  5920. 'unsigned' => TRUE,
  5921. ),
  5922. 'language' => array(
  5923. 'type' => 'varchar',
  5924. 'not null' => TRUE,
  5925. 'length' => '32',
  5926. 'default' => '',
  5927. ),
  5928. 'delta' => array(
  5929. 'type' => 'int',
  5930. 'not null' => TRUE,
  5931. 'size' => 'normal',
  5932. 'unsigned' => TRUE,
  5933. ),
  5934. 'field_datetime_without_time_value' => array(
  5935. 'type' => 'datetime',
  5936. 'not null' => FALSE,
  5937. 'mysql_type' => 'datetime',
  5938. 'pgsql_type' => 'timestamp without time zone',
  5939. 'sqlite_type' => 'varchar',
  5940. 'sqlsrv_type' => 'smalldatetime',
  5941. ),
  5942. ),
  5943. 'primary key' => array(
  5944. 'entity_type',
  5945. 'deleted',
  5946. 'entity_id',
  5947. 'language',
  5948. 'delta',
  5949. ),
  5950. 'mysql_character_set' => 'utf8',
  5951. ));
  5952. $connection->insert('field_data_field_datetime_without_time')
  5953. ->fields(array(
  5954. 'entity_type',
  5955. 'bundle',
  5956. 'deleted',
  5957. 'entity_id',
  5958. 'revision_id',
  5959. 'language',
  5960. 'delta',
  5961. 'field_datetime_without_time_value',
  5962. ))
  5963. ->values(array(
  5964. 'entity_type' => 'node',
  5965. 'bundle' => 'test_content_type',
  5966. 'deleted' => '0',
  5967. 'entity_id' => '1',
  5968. 'revision_id' => '1',
  5969. 'language' => 'und',
  5970. 'delta' => '0',
  5971. 'field_datetime_without_time_value' => '2015-01-20 00:00:00',
  5972. ))
  5973. ->execute();
  5974. $connection->schema()->createTable('field_data_field_email', array(
  5975. 'fields' => array(
  5976. 'entity_type' => array(
  5977. 'type' => 'varchar',
  5978. 'not null' => TRUE,
  5979. 'length' => '128',
  5980. 'default' => '',
  5981. ),
  5982. 'bundle' => array(
  5983. 'type' => 'varchar',
  5984. 'not null' => TRUE,
  5985. 'length' => '128',
  5986. 'default' => '',
  5987. ),
  5988. 'deleted' => array(
  5989. 'type' => 'int',
  5990. 'not null' => TRUE,
  5991. 'size' => 'normal',
  5992. 'default' => '0',
  5993. ),
  5994. 'entity_id' => array(
  5995. 'type' => 'int',
  5996. 'not null' => TRUE,
  5997. 'size' => 'normal',
  5998. 'unsigned' => TRUE,
  5999. ),
  6000. 'revision_id' => array(
  6001. 'type' => 'int',
  6002. 'not null' => FALSE,
  6003. 'size' => 'normal',
  6004. 'unsigned' => TRUE,
  6005. ),
  6006. 'language' => array(
  6007. 'type' => 'varchar',
  6008. 'not null' => TRUE,
  6009. 'length' => '32',
  6010. 'default' => '',
  6011. ),
  6012. 'delta' => array(
  6013. 'type' => 'int',
  6014. 'not null' => TRUE,
  6015. 'size' => 'normal',
  6016. 'unsigned' => TRUE,
  6017. ),
  6018. 'field_email_email' => array(
  6019. 'type' => 'varchar',
  6020. 'not null' => FALSE,
  6021. 'length' => '255',
  6022. ),
  6023. ),
  6024. 'primary key' => array(
  6025. 'entity_type',
  6026. 'deleted',
  6027. 'entity_id',
  6028. 'language',
  6029. 'delta',
  6030. ),
  6031. 'mysql_character_set' => 'utf8',
  6032. ));
  6033. $connection->insert('field_data_field_email')
  6034. ->fields(array(
  6035. 'entity_type',
  6036. 'bundle',
  6037. 'deleted',
  6038. 'entity_id',
  6039. 'revision_id',
  6040. 'language',
  6041. 'delta',
  6042. 'field_email_email',
  6043. ))
  6044. ->values(array(
  6045. 'entity_type' => 'node',
  6046. 'bundle' => 'test_content_type',
  6047. 'deleted' => '0',
  6048. 'entity_id' => '1',
  6049. 'revision_id' => '1',
  6050. 'language' => 'und',
  6051. 'delta' => '0',
  6052. 'field_email_email' => 'default@example.com',
  6053. ))
  6054. ->values(array(
  6055. 'entity_type' => 'node',
  6056. 'bundle' => 'test_content_type',
  6057. 'deleted' => '0',
  6058. 'entity_id' => '1',
  6059. 'revision_id' => '1',
  6060. 'language' => 'und',
  6061. 'delta' => '1',
  6062. 'field_email_email' => 'another@example.com',
  6063. ))
  6064. ->execute();
  6065. $connection->schema()->createTable('field_data_field_file', array(
  6066. 'fields' => array(
  6067. 'entity_type' => array(
  6068. 'type' => 'varchar',
  6069. 'not null' => TRUE,
  6070. 'length' => '128',
  6071. 'default' => '',
  6072. ),
  6073. 'bundle' => array(
  6074. 'type' => 'varchar',
  6075. 'not null' => TRUE,
  6076. 'length' => '128',
  6077. 'default' => '',
  6078. ),
  6079. 'deleted' => array(
  6080. 'type' => 'int',
  6081. 'not null' => TRUE,
  6082. 'size' => 'normal',
  6083. 'default' => '0',
  6084. ),
  6085. 'entity_id' => array(
  6086. 'type' => 'int',
  6087. 'not null' => TRUE,
  6088. 'size' => 'normal',
  6089. 'unsigned' => TRUE,
  6090. ),
  6091. 'revision_id' => array(
  6092. 'type' => 'int',
  6093. 'not null' => FALSE,
  6094. 'size' => 'normal',
  6095. 'unsigned' => TRUE,
  6096. ),
  6097. 'language' => array(
  6098. 'type' => 'varchar',
  6099. 'not null' => TRUE,
  6100. 'length' => '32',
  6101. 'default' => '',
  6102. ),
  6103. 'delta' => array(
  6104. 'type' => 'int',
  6105. 'not null' => TRUE,
  6106. 'size' => 'normal',
  6107. 'unsigned' => TRUE,
  6108. ),
  6109. 'field_file_fid' => array(
  6110. 'type' => 'int',
  6111. 'not null' => FALSE,
  6112. 'size' => 'normal',
  6113. 'unsigned' => TRUE,
  6114. ),
  6115. 'field_file_display' => array(
  6116. 'type' => 'int',
  6117. 'not null' => TRUE,
  6118. 'size' => 'normal',
  6119. 'default' => '1',
  6120. 'unsigned' => TRUE,
  6121. ),
  6122. 'field_file_description' => array(
  6123. 'type' => 'text',
  6124. 'not null' => FALSE,
  6125. 'size' => 'normal',
  6126. ),
  6127. ),
  6128. 'primary key' => array(
  6129. 'entity_type',
  6130. 'deleted',
  6131. 'entity_id',
  6132. 'language',
  6133. 'delta',
  6134. ),
  6135. 'mysql_character_set' => 'utf8',
  6136. ));
  6137. $connection->insert('field_data_field_file')
  6138. ->fields(array(
  6139. 'entity_type',
  6140. 'bundle',
  6141. 'deleted',
  6142. 'entity_id',
  6143. 'revision_id',
  6144. 'language',
  6145. 'delta',
  6146. 'field_file_fid',
  6147. 'field_file_display',
  6148. 'field_file_description',
  6149. ))
  6150. ->values(array(
  6151. 'entity_type' => 'node',
  6152. 'bundle' => 'test_content_type',
  6153. 'deleted' => '0',
  6154. 'entity_id' => '1',
  6155. 'revision_id' => '1',
  6156. 'language' => 'und',
  6157. 'delta' => '0',
  6158. 'field_file_fid' => '2',
  6159. 'field_file_display' => '1',
  6160. 'field_file_description' => 'file desc',
  6161. ))
  6162. ->values(array(
  6163. 'entity_type' => 'user',
  6164. 'bundle' => 'user',
  6165. 'deleted' => '0',
  6166. 'entity_id' => '2',
  6167. 'revision_id' => '2',
  6168. 'language' => 'und',
  6169. 'delta' => '0',
  6170. 'field_file_fid' => '2',
  6171. 'field_file_display' => '1',
  6172. 'field_file_description' => 'file desc',
  6173. ))
  6174. ->execute();
  6175. $connection->schema()->createTable('field_data_field_float', array(
  6176. 'fields' => array(
  6177. 'entity_type' => array(
  6178. 'type' => 'varchar',
  6179. 'not null' => TRUE,
  6180. 'length' => '128',
  6181. 'default' => '',
  6182. ),
  6183. 'bundle' => array(
  6184. 'type' => 'varchar',
  6185. 'not null' => TRUE,
  6186. 'length' => '128',
  6187. 'default' => '',
  6188. ),
  6189. 'deleted' => array(
  6190. 'type' => 'int',
  6191. 'not null' => TRUE,
  6192. 'size' => 'normal',
  6193. 'default' => '0',
  6194. ),
  6195. 'entity_id' => array(
  6196. 'type' => 'int',
  6197. 'not null' => TRUE,
  6198. 'size' => 'normal',
  6199. 'unsigned' => TRUE,
  6200. ),
  6201. 'revision_id' => array(
  6202. 'type' => 'int',
  6203. 'not null' => FALSE,
  6204. 'size' => 'normal',
  6205. 'unsigned' => TRUE,
  6206. ),
  6207. 'language' => array(
  6208. 'type' => 'varchar',
  6209. 'not null' => TRUE,
  6210. 'length' => '32',
  6211. 'default' => '',
  6212. ),
  6213. 'delta' => array(
  6214. 'type' => 'int',
  6215. 'not null' => TRUE,
  6216. 'size' => 'normal',
  6217. 'unsigned' => TRUE,
  6218. ),
  6219. 'field_float_value' => array(
  6220. 'type' => 'numeric',
  6221. 'not null' => FALSE,
  6222. 'precision' => '10',
  6223. 'scale' => '0',
  6224. ),
  6225. ),
  6226. 'primary key' => array(
  6227. 'entity_type',
  6228. 'deleted',
  6229. 'entity_id',
  6230. 'language',
  6231. 'delta',
  6232. ),
  6233. 'mysql_character_set' => 'utf8',
  6234. ));
  6235. $connection->insert('field_data_field_float')
  6236. ->fields(array(
  6237. 'entity_type',
  6238. 'bundle',
  6239. 'deleted',
  6240. 'entity_id',
  6241. 'revision_id',
  6242. 'language',
  6243. 'delta',
  6244. 'field_float_value',
  6245. ))
  6246. ->values(array(
  6247. 'entity_type' => 'node',
  6248. 'bundle' => 'test_content_type',
  6249. 'deleted' => '0',
  6250. 'entity_id' => '1',
  6251. 'revision_id' => '1',
  6252. 'language' => 'und',
  6253. 'delta' => '0',
  6254. 'field_float_value' => '1',
  6255. ))
  6256. ->execute();
  6257. $connection->schema()->createTable('field_data_field_float_list', array(
  6258. 'fields' => array(
  6259. 'entity_type' => array(
  6260. 'type' => 'varchar',
  6261. 'not null' => TRUE,
  6262. 'length' => '128',
  6263. 'default' => '',
  6264. ),
  6265. 'bundle' => array(
  6266. 'type' => 'varchar',
  6267. 'not null' => TRUE,
  6268. 'length' => '128',
  6269. 'default' => '',
  6270. ),
  6271. 'deleted' => array(
  6272. 'type' => 'int',
  6273. 'not null' => TRUE,
  6274. 'size' => 'tiny',
  6275. 'default' => '0',
  6276. ),
  6277. 'entity_id' => array(
  6278. 'type' => 'int',
  6279. 'not null' => TRUE,
  6280. 'size' => 'normal',
  6281. 'unsigned' => TRUE,
  6282. ),
  6283. 'revision_id' => array(
  6284. 'type' => 'int',
  6285. 'not null' => FALSE,
  6286. 'size' => 'normal',
  6287. 'unsigned' => TRUE,
  6288. ),
  6289. 'language' => array(
  6290. 'type' => 'varchar',
  6291. 'not null' => TRUE,
  6292. 'length' => '32',
  6293. 'default' => '',
  6294. ),
  6295. 'delta' => array(
  6296. 'type' => 'int',
  6297. 'not null' => TRUE,
  6298. 'size' => 'normal',
  6299. 'unsigned' => TRUE,
  6300. ),
  6301. 'field_float_list_value' => array(
  6302. 'type' => 'float',
  6303. 'not null' => FALSE,
  6304. 'size' => 'normal',
  6305. ),
  6306. ),
  6307. 'primary key' => array(
  6308. 'entity_type',
  6309. 'entity_id',
  6310. 'deleted',
  6311. 'delta',
  6312. 'language',
  6313. ),
  6314. 'indexes' => array(
  6315. 'entity_type' => array(
  6316. 'entity_type',
  6317. ),
  6318. 'bundle' => array(
  6319. 'bundle',
  6320. ),
  6321. 'deleted' => array(
  6322. 'deleted',
  6323. ),
  6324. 'entity_id' => array(
  6325. 'entity_id',
  6326. ),
  6327. 'revision_id' => array(
  6328. 'revision_id',
  6329. ),
  6330. 'language' => array(
  6331. 'language',
  6332. ),
  6333. 'field_float_list_value' => array(
  6334. 'field_float_list_value',
  6335. ),
  6336. ),
  6337. 'mysql_character_set' => 'utf8',
  6338. ));
  6339. $connection->insert('field_data_field_float_list')
  6340. ->fields(array(
  6341. 'entity_type',
  6342. 'bundle',
  6343. 'deleted',
  6344. 'entity_id',
  6345. 'revision_id',
  6346. 'language',
  6347. 'delta',
  6348. 'field_float_list_value',
  6349. ))
  6350. ->values(array(
  6351. 'entity_type' => 'node',
  6352. 'bundle' => 'test_content_type',
  6353. 'deleted' => '0',
  6354. 'entity_id' => '1',
  6355. 'revision_id' => '1',
  6356. 'language' => 'und',
  6357. 'delta' => '0',
  6358. 'field_float_list_value' => '3.1416',
  6359. ))
  6360. ->execute();
  6361. $connection->schema()->createTable('field_data_field_image', array(
  6362. 'fields' => array(
  6363. 'entity_type' => array(
  6364. 'type' => 'varchar',
  6365. 'not null' => TRUE,
  6366. 'length' => '128',
  6367. 'default' => '',
  6368. ),
  6369. 'bundle' => array(
  6370. 'type' => 'varchar',
  6371. 'not null' => TRUE,
  6372. 'length' => '128',
  6373. 'default' => '',
  6374. ),
  6375. 'deleted' => array(
  6376. 'type' => 'int',
  6377. 'not null' => TRUE,
  6378. 'size' => 'normal',
  6379. 'default' => '0',
  6380. ),
  6381. 'entity_id' => array(
  6382. 'type' => 'int',
  6383. 'not null' => TRUE,
  6384. 'size' => 'normal',
  6385. 'unsigned' => TRUE,
  6386. ),
  6387. 'revision_id' => array(
  6388. 'type' => 'int',
  6389. 'not null' => FALSE,
  6390. 'size' => 'normal',
  6391. 'unsigned' => TRUE,
  6392. ),
  6393. 'language' => array(
  6394. 'type' => 'varchar',
  6395. 'not null' => TRUE,
  6396. 'length' => '32',
  6397. 'default' => '',
  6398. ),
  6399. 'delta' => array(
  6400. 'type' => 'int',
  6401. 'not null' => TRUE,
  6402. 'size' => 'normal',
  6403. 'unsigned' => TRUE,
  6404. ),
  6405. 'field_image_fid' => array(
  6406. 'type' => 'int',
  6407. 'not null' => FALSE,
  6408. 'size' => 'normal',
  6409. 'unsigned' => TRUE,
  6410. ),
  6411. 'field_image_alt' => array(
  6412. 'type' => 'varchar',
  6413. 'not null' => FALSE,
  6414. 'length' => '512',
  6415. ),
  6416. 'field_image_title' => array(
  6417. 'type' => 'varchar',
  6418. 'not null' => FALSE,
  6419. 'length' => '1024',
  6420. ),
  6421. 'field_image_width' => array(
  6422. 'type' => 'int',
  6423. 'not null' => FALSE,
  6424. 'size' => 'normal',
  6425. 'unsigned' => TRUE,
  6426. ),
  6427. 'field_image_height' => array(
  6428. 'type' => 'int',
  6429. 'not null' => FALSE,
  6430. 'size' => 'normal',
  6431. 'unsigned' => TRUE,
  6432. ),
  6433. ),
  6434. 'primary key' => array(
  6435. 'entity_type',
  6436. 'deleted',
  6437. 'entity_id',
  6438. 'language',
  6439. 'delta',
  6440. ),
  6441. 'mysql_character_set' => 'utf8',
  6442. ));
  6443. $connection->schema()->createTable('field_data_field_images', array(
  6444. 'fields' => array(
  6445. 'entity_type' => array(
  6446. 'type' => 'varchar',
  6447. 'not null' => TRUE,
  6448. 'length' => '128',
  6449. 'default' => '',
  6450. ),
  6451. 'bundle' => array(
  6452. 'type' => 'varchar',
  6453. 'not null' => TRUE,
  6454. 'length' => '128',
  6455. 'default' => '',
  6456. ),
  6457. 'deleted' => array(
  6458. 'type' => 'int',
  6459. 'not null' => TRUE,
  6460. 'size' => 'normal',
  6461. 'default' => '0',
  6462. ),
  6463. 'entity_id' => array(
  6464. 'type' => 'int',
  6465. 'not null' => TRUE,
  6466. 'size' => 'normal',
  6467. 'unsigned' => TRUE,
  6468. ),
  6469. 'revision_id' => array(
  6470. 'type' => 'int',
  6471. 'not null' => FALSE,
  6472. 'size' => 'normal',
  6473. 'unsigned' => TRUE,
  6474. ),
  6475. 'language' => array(
  6476. 'type' => 'varchar',
  6477. 'not null' => TRUE,
  6478. 'length' => '32',
  6479. 'default' => '',
  6480. ),
  6481. 'delta' => array(
  6482. 'type' => 'int',
  6483. 'not null' => TRUE,
  6484. 'size' => 'normal',
  6485. 'unsigned' => TRUE,
  6486. ),
  6487. 'field_images_fid' => array(
  6488. 'type' => 'int',
  6489. 'not null' => FALSE,
  6490. 'size' => 'normal',
  6491. 'unsigned' => TRUE,
  6492. ),
  6493. 'field_images_alt' => array(
  6494. 'type' => 'varchar',
  6495. 'not null' => FALSE,
  6496. 'length' => '512',
  6497. ),
  6498. 'field_images_title' => array(
  6499. 'type' => 'varchar',
  6500. 'not null' => FALSE,
  6501. 'length' => '1024',
  6502. ),
  6503. 'field_images_width' => array(
  6504. 'type' => 'int',
  6505. 'not null' => FALSE,
  6506. 'size' => 'normal',
  6507. 'unsigned' => TRUE,
  6508. ),
  6509. 'field_images_height' => array(
  6510. 'type' => 'int',
  6511. 'not null' => FALSE,
  6512. 'size' => 'normal',
  6513. 'unsigned' => TRUE,
  6514. ),
  6515. ),
  6516. 'primary key' => array(
  6517. 'entity_type',
  6518. 'deleted',
  6519. 'entity_id',
  6520. 'language',
  6521. 'delta',
  6522. ),
  6523. 'mysql_character_set' => 'utf8',
  6524. ));
  6525. $connection->insert('field_data_field_images')
  6526. ->fields(array(
  6527. 'entity_type',
  6528. 'bundle',
  6529. 'deleted',
  6530. 'entity_id',
  6531. 'revision_id',
  6532. 'language',
  6533. 'delta',
  6534. 'field_images_fid',
  6535. 'field_images_alt',
  6536. 'field_images_title',
  6537. 'field_images_width',
  6538. 'field_images_height',
  6539. ))
  6540. ->values(array(
  6541. 'entity_type' => 'node',
  6542. 'bundle' => 'test_content_type',
  6543. 'deleted' => '0',
  6544. 'entity_id' => '1',
  6545. 'revision_id' => '1',
  6546. 'language' => 'und',
  6547. 'delta' => '0',
  6548. 'field_images_fid' => '1',
  6549. 'field_images_alt' => 'alt text',
  6550. 'field_images_title' => 'title text',
  6551. 'field_images_width' => '93',
  6552. 'field_images_height' => '93',
  6553. ))
  6554. ->execute();
  6555. $connection->schema()->createTable('field_data_field_integer', array(
  6556. 'fields' => array(
  6557. 'entity_type' => array(
  6558. 'type' => 'varchar',
  6559. 'not null' => TRUE,
  6560. 'length' => '128',
  6561. 'default' => '',
  6562. ),
  6563. 'bundle' => array(
  6564. 'type' => 'varchar',
  6565. 'not null' => TRUE,
  6566. 'length' => '128',
  6567. 'default' => '',
  6568. ),
  6569. 'deleted' => array(
  6570. 'type' => 'int',
  6571. 'not null' => TRUE,
  6572. 'size' => 'normal',
  6573. 'default' => '0',
  6574. ),
  6575. 'entity_id' => array(
  6576. 'type' => 'int',
  6577. 'not null' => TRUE,
  6578. 'size' => 'normal',
  6579. 'unsigned' => TRUE,
  6580. ),
  6581. 'revision_id' => array(
  6582. 'type' => 'int',
  6583. 'not null' => FALSE,
  6584. 'size' => 'normal',
  6585. 'unsigned' => TRUE,
  6586. ),
  6587. 'language' => array(
  6588. 'type' => 'varchar',
  6589. 'not null' => TRUE,
  6590. 'length' => '32',
  6591. 'default' => '',
  6592. ),
  6593. 'delta' => array(
  6594. 'type' => 'int',
  6595. 'not null' => TRUE,
  6596. 'size' => 'normal',
  6597. 'unsigned' => TRUE,
  6598. ),
  6599. 'field_integer_value' => array(
  6600. 'type' => 'int',
  6601. 'not null' => FALSE,
  6602. 'size' => 'normal',
  6603. ),
  6604. ),
  6605. 'primary key' => array(
  6606. 'entity_type',
  6607. 'deleted',
  6608. 'entity_id',
  6609. 'language',
  6610. 'delta',
  6611. ),
  6612. 'mysql_character_set' => 'utf8',
  6613. ));
  6614. $connection->insert('field_data_field_integer')
  6615. ->fields(array(
  6616. 'entity_type',
  6617. 'bundle',
  6618. 'deleted',
  6619. 'entity_id',
  6620. 'revision_id',
  6621. 'language',
  6622. 'delta',
  6623. 'field_integer_value',
  6624. ))
  6625. ->values(array(
  6626. 'entity_type' => 'comment',
  6627. 'bundle' => 'comment_node_test_content_type',
  6628. 'deleted' => '0',
  6629. 'entity_id' => '1',
  6630. 'revision_id' => '1',
  6631. 'language' => 'en',
  6632. 'delta' => '0',
  6633. 'field_integer_value' => '1000000',
  6634. ))
  6635. ->values(array(
  6636. 'entity_type' => 'comment',
  6637. 'bundle' => 'comment_node_test_content_type',
  6638. 'deleted' => '0',
  6639. 'entity_id' => '1',
  6640. 'revision_id' => '1',
  6641. 'language' => 'fr',
  6642. 'delta' => '0',
  6643. 'field_integer_value' => '2000000',
  6644. ))
  6645. ->values(array(
  6646. 'entity_type' => 'comment',
  6647. 'bundle' => 'comment_node_test_content_type',
  6648. 'deleted' => '0',
  6649. 'entity_id' => '1',
  6650. 'revision_id' => '1',
  6651. 'language' => 'is',
  6652. 'delta' => '0',
  6653. 'field_integer_value' => '3000000',
  6654. ))
  6655. ->values(array(
  6656. 'entity_type' => 'node',
  6657. 'bundle' => 'test_content_type',
  6658. 'deleted' => '0',
  6659. 'entity_id' => '1',
  6660. 'revision_id' => '1',
  6661. 'language' => 'en',
  6662. 'delta' => '0',
  6663. 'field_integer_value' => '5',
  6664. ))
  6665. ->values(array(
  6666. 'entity_type' => 'node',
  6667. 'bundle' => 'test_content_type',
  6668. 'deleted' => '0',
  6669. 'entity_id' => '1',
  6670. 'revision_id' => '1',
  6671. 'language' => 'fr',
  6672. 'delta' => '0',
  6673. 'field_integer_value' => '6',
  6674. ))
  6675. ->values(array(
  6676. 'entity_type' => 'node',
  6677. 'bundle' => 'test_content_type',
  6678. 'deleted' => '0',
  6679. 'entity_id' => '1',
  6680. 'revision_id' => '1',
  6681. 'language' => 'is',
  6682. 'delta' => '0',
  6683. 'field_integer_value' => '7',
  6684. ))
  6685. ->values(array(
  6686. 'entity_type' => 'user',
  6687. 'bundle' => 'user',
  6688. 'deleted' => '0',
  6689. 'entity_id' => '2',
  6690. 'revision_id' => '2',
  6691. 'language' => 'en',
  6692. 'delta' => '0',
  6693. 'field_integer_value' => '99',
  6694. ))
  6695. ->values(array(
  6696. 'entity_type' => 'user',
  6697. 'bundle' => 'user',
  6698. 'deleted' => '0',
  6699. 'entity_id' => '2',
  6700. 'revision_id' => '2',
  6701. 'language' => 'fr',
  6702. 'delta' => '0',
  6703. 'field_integer_value' => '9',
  6704. ))
  6705. ->values(array(
  6706. 'entity_type' => 'user',
  6707. 'bundle' => 'user',
  6708. 'deleted' => '0',
  6709. 'entity_id' => '2',
  6710. 'revision_id' => '2',
  6711. 'language' => 'is',
  6712. 'delta' => '0',
  6713. 'field_integer_value' => '1',
  6714. ))
  6715. ->values(array(
  6716. 'entity_type' => 'comment',
  6717. 'bundle' => 'comment_node_test_content_type',
  6718. 'deleted' => '0',
  6719. 'entity_id' => '4',
  6720. 'revision_id' => '4',
  6721. 'language' => 'en',
  6722. 'delta' => '0',
  6723. 'field_integer_value' => '10',
  6724. ))
  6725. ->values(array(
  6726. 'entity_type' => 'taxonomy_term',
  6727. 'bundle' => 'test_vocabulary',
  6728. 'deleted' => '0',
  6729. 'entity_id' => '4',
  6730. 'revision_id' => '4',
  6731. 'language' => 'en',
  6732. 'delta' => '0',
  6733. 'field_integer_value' => '6',
  6734. ))
  6735. ->values(array(
  6736. 'entity_type' => 'taxonomy_term',
  6737. 'bundle' => 'test_vocabulary',
  6738. 'deleted' => '0',
  6739. 'entity_id' => '4',
  6740. 'revision_id' => '4',
  6741. 'language' => 'fr',
  6742. 'delta' => '0',
  6743. 'field_integer_value' => '5',
  6744. ))
  6745. ->values(array(
  6746. 'entity_type' => 'taxonomy_term',
  6747. 'bundle' => 'test_vocabulary',
  6748. 'deleted' => '0',
  6749. 'entity_id' => '4',
  6750. 'revision_id' => '4',
  6751. 'language' => 'is',
  6752. 'delta' => '0',
  6753. 'field_integer_value' => '4',
  6754. ))
  6755. ->execute();
  6756. $connection->schema()->createTable('field_data_field_integer_list', array(
  6757. 'fields' => array(
  6758. 'entity_type' => array(
  6759. 'type' => 'varchar',
  6760. 'not null' => TRUE,
  6761. 'length' => '128',
  6762. 'default' => '',
  6763. ),
  6764. 'bundle' => array(
  6765. 'type' => 'varchar',
  6766. 'not null' => TRUE,
  6767. 'length' => '128',
  6768. 'default' => '',
  6769. ),
  6770. 'deleted' => array(
  6771. 'type' => 'int',
  6772. 'not null' => TRUE,
  6773. 'size' => 'normal',
  6774. 'default' => '0',
  6775. ),
  6776. 'entity_id' => array(
  6777. 'type' => 'int',
  6778. 'not null' => TRUE,
  6779. 'size' => 'normal',
  6780. 'unsigned' => TRUE,
  6781. ),
  6782. 'revision_id' => array(
  6783. 'type' => 'int',
  6784. 'not null' => FALSE,
  6785. 'size' => 'normal',
  6786. 'unsigned' => TRUE,
  6787. ),
  6788. 'language' => array(
  6789. 'type' => 'varchar',
  6790. 'not null' => TRUE,
  6791. 'length' => '32',
  6792. 'default' => '',
  6793. ),
  6794. 'delta' => array(
  6795. 'type' => 'int',
  6796. 'not null' => TRUE,
  6797. 'size' => 'normal',
  6798. 'unsigned' => TRUE,
  6799. ),
  6800. 'field_integer_list_value' => array(
  6801. 'type' => 'int',
  6802. 'not null' => FALSE,
  6803. 'size' => 'normal',
  6804. ),
  6805. ),
  6806. 'primary key' => array(
  6807. 'entity_type',
  6808. 'deleted',
  6809. 'entity_id',
  6810. 'language',
  6811. 'delta',
  6812. ),
  6813. 'mysql_character_set' => 'utf8',
  6814. ));
  6815. $connection->insert('field_data_field_integer_list')
  6816. ->fields(array(
  6817. 'entity_type',
  6818. 'bundle',
  6819. 'deleted',
  6820. 'entity_id',
  6821. 'revision_id',
  6822. 'language',
  6823. 'delta',
  6824. 'field_integer_list_value',
  6825. ))
  6826. ->values(array(
  6827. 'entity_type' => 'node',
  6828. 'bundle' => 'test_content_type',
  6829. 'deleted' => '0',
  6830. 'entity_id' => '1',
  6831. 'revision_id' => '1',
  6832. 'language' => 'und',
  6833. 'delta' => '0',
  6834. 'field_integer_list_value' => '7',
  6835. ))
  6836. ->execute();
  6837. $connection->schema()->createTable('field_data_field_link', array(
  6838. 'fields' => array(
  6839. 'entity_type' => array(
  6840. 'type' => 'varchar',
  6841. 'not null' => TRUE,
  6842. 'length' => '128',
  6843. 'default' => '',
  6844. ),
  6845. 'bundle' => array(
  6846. 'type' => 'varchar',
  6847. 'not null' => TRUE,
  6848. 'length' => '128',
  6849. 'default' => '',
  6850. ),
  6851. 'deleted' => array(
  6852. 'type' => 'int',
  6853. 'not null' => TRUE,
  6854. 'size' => 'normal',
  6855. 'default' => '0',
  6856. ),
  6857. 'entity_id' => array(
  6858. 'type' => 'int',
  6859. 'not null' => TRUE,
  6860. 'size' => 'normal',
  6861. 'unsigned' => TRUE,
  6862. ),
  6863. 'revision_id' => array(
  6864. 'type' => 'int',
  6865. 'not null' => FALSE,
  6866. 'size' => 'normal',
  6867. 'unsigned' => TRUE,
  6868. ),
  6869. 'language' => array(
  6870. 'type' => 'varchar',
  6871. 'not null' => TRUE,
  6872. 'length' => '32',
  6873. 'default' => '',
  6874. ),
  6875. 'delta' => array(
  6876. 'type' => 'int',
  6877. 'not null' => TRUE,
  6878. 'size' => 'normal',
  6879. 'unsigned' => TRUE,
  6880. ),
  6881. 'field_link_url' => array(
  6882. 'type' => 'varchar',
  6883. 'not null' => FALSE,
  6884. 'length' => '2048',
  6885. ),
  6886. 'field_link_title' => array(
  6887. 'type' => 'varchar',
  6888. 'not null' => FALSE,
  6889. 'length' => '255',
  6890. ),
  6891. 'field_link_attributes' => array(
  6892. 'type' => 'text',
  6893. 'not null' => FALSE,
  6894. 'size' => 'normal',
  6895. ),
  6896. ),
  6897. 'primary key' => array(
  6898. 'entity_type',
  6899. 'deleted',
  6900. 'entity_id',
  6901. 'language',
  6902. 'delta',
  6903. ),
  6904. 'mysql_character_set' => 'utf8',
  6905. ));
  6906. $connection->insert('field_data_field_link')
  6907. ->fields(array(
  6908. 'entity_type',
  6909. 'bundle',
  6910. 'deleted',
  6911. 'entity_id',
  6912. 'revision_id',
  6913. 'language',
  6914. 'delta',
  6915. 'field_link_url',
  6916. 'field_link_title',
  6917. 'field_link_attributes',
  6918. ))
  6919. ->values(array(
  6920. 'entity_type' => 'node',
  6921. 'bundle' => 'test_content_type',
  6922. 'deleted' => '0',
  6923. 'entity_id' => '1',
  6924. 'revision_id' => '1',
  6925. 'language' => 'und',
  6926. 'delta' => '0',
  6927. 'field_link_url' => 'http://google.com',
  6928. 'field_link_title' => 'Click Here',
  6929. 'field_link_attributes' => 'a:1:{s:5:"title";s:10:"Click Here";}',
  6930. ))
  6931. ->values(array(
  6932. 'entity_type' => 'node',
  6933. 'bundle' => 'article',
  6934. 'deleted' => '0',
  6935. 'entity_id' => '2',
  6936. 'revision_id' => '2',
  6937. 'language' => 'und',
  6938. 'delta' => '0',
  6939. 'field_link_url' => '<front>',
  6940. 'field_link_title' => 'Home',
  6941. 'field_link_attributes' => 'a:0:{}',
  6942. ))
  6943. ->values(array(
  6944. 'entity_type' => 'node',
  6945. 'bundle' => 'article',
  6946. 'deleted' => '0',
  6947. 'entity_id' => '3',
  6948. 'revision_id' => '3',
  6949. 'language' => 'und',
  6950. 'delta' => '0',
  6951. 'field_link_url' => '<front>',
  6952. 'field_link_title' => 'Home',
  6953. 'field_link_attributes' => 'a:1:{s:5:"title";s:0:"";}',
  6954. ))
  6955. ->execute();
  6956. $connection->schema()->createTable('field_data_field_long_text', array(
  6957. 'fields' => array(
  6958. 'entity_type' => array(
  6959. 'type' => 'varchar',
  6960. 'not null' => TRUE,
  6961. 'length' => '128',
  6962. 'default' => '',
  6963. ),
  6964. 'bundle' => array(
  6965. 'type' => 'varchar',
  6966. 'not null' => TRUE,
  6967. 'length' => '128',
  6968. 'default' => '',
  6969. ),
  6970. 'deleted' => array(
  6971. 'type' => 'int',
  6972. 'not null' => TRUE,
  6973. 'size' => 'normal',
  6974. 'default' => '0',
  6975. ),
  6976. 'entity_id' => array(
  6977. 'type' => 'int',
  6978. 'not null' => TRUE,
  6979. 'size' => 'normal',
  6980. 'unsigned' => TRUE,
  6981. ),
  6982. 'revision_id' => array(
  6983. 'type' => 'int',
  6984. 'not null' => FALSE,
  6985. 'size' => 'normal',
  6986. 'unsigned' => TRUE,
  6987. ),
  6988. 'language' => array(
  6989. 'type' => 'varchar',
  6990. 'not null' => TRUE,
  6991. 'length' => '32',
  6992. 'default' => '',
  6993. ),
  6994. 'delta' => array(
  6995. 'type' => 'int',
  6996. 'not null' => TRUE,
  6997. 'size' => 'normal',
  6998. 'unsigned' => TRUE,
  6999. ),
  7000. 'field_long_text_value' => array(
  7001. 'type' => 'text',
  7002. 'not null' => FALSE,
  7003. 'size' => 'normal',
  7004. ),
  7005. 'field_long_text_summary' => array(
  7006. 'type' => 'text',
  7007. 'not null' => FALSE,
  7008. 'size' => 'normal',
  7009. ),
  7010. 'field_long_text_format' => array(
  7011. 'type' => 'varchar',
  7012. 'not null' => FALSE,
  7013. 'length' => '255',
  7014. ),
  7015. ),
  7016. 'primary key' => array(
  7017. 'entity_type',
  7018. 'deleted',
  7019. 'entity_id',
  7020. 'language',
  7021. 'delta',
  7022. ),
  7023. 'mysql_character_set' => 'utf8',
  7024. ));
  7025. $connection->schema()->createTable('field_data_field_node_entityreference', array(
  7026. 'fields' => array(
  7027. 'entity_type' => array(
  7028. 'type' => 'varchar',
  7029. 'not null' => TRUE,
  7030. 'length' => '128',
  7031. 'default' => '',
  7032. ),
  7033. 'bundle' => array(
  7034. 'type' => 'varchar',
  7035. 'not null' => TRUE,
  7036. 'length' => '128',
  7037. 'default' => '',
  7038. ),
  7039. 'deleted' => array(
  7040. 'type' => 'int',
  7041. 'not null' => TRUE,
  7042. 'size' => 'tiny',
  7043. 'default' => '0',
  7044. ),
  7045. 'entity_id' => array(
  7046. 'type' => 'int',
  7047. 'not null' => TRUE,
  7048. 'size' => 'normal',
  7049. 'unsigned' => TRUE,
  7050. ),
  7051. 'revision_id' => array(
  7052. 'type' => 'int',
  7053. 'not null' => FALSE,
  7054. 'size' => 'normal',
  7055. 'unsigned' => TRUE,
  7056. ),
  7057. 'language' => array(
  7058. 'type' => 'varchar',
  7059. 'not null' => TRUE,
  7060. 'length' => '32',
  7061. 'default' => '',
  7062. ),
  7063. 'delta' => array(
  7064. 'type' => 'int',
  7065. 'not null' => TRUE,
  7066. 'size' => 'normal',
  7067. 'unsigned' => TRUE,
  7068. ),
  7069. 'field_node_entityreference_target_id' => array(
  7070. 'type' => 'int',
  7071. 'not null' => TRUE,
  7072. 'size' => 'normal',
  7073. 'unsigned' => TRUE,
  7074. ),
  7075. ),
  7076. 'primary key' => array(
  7077. 'entity_type',
  7078. 'entity_id',
  7079. 'deleted',
  7080. 'delta',
  7081. 'language',
  7082. ),
  7083. 'indexes' => array(
  7084. 'entity_type' => array(
  7085. 'entity_type',
  7086. ),
  7087. 'bundle' => array(
  7088. 'bundle',
  7089. ),
  7090. 'deleted' => array(
  7091. 'deleted',
  7092. ),
  7093. 'entity_id' => array(
  7094. 'entity_id',
  7095. ),
  7096. 'revision_id' => array(
  7097. 'revision_id',
  7098. ),
  7099. 'language' => array(
  7100. 'language',
  7101. ),
  7102. 'field_node_entityreference_target_id' => array(
  7103. 'field_node_entityreference_target_id',
  7104. ),
  7105. ),
  7106. 'mysql_character_set' => 'utf8',
  7107. ));
  7108. $connection->insert('field_data_field_node_entityreference')
  7109. ->fields(array(
  7110. 'entity_type',
  7111. 'bundle',
  7112. 'deleted',
  7113. 'entity_id',
  7114. 'revision_id',
  7115. 'language',
  7116. 'delta',
  7117. 'field_node_entityreference_target_id',
  7118. ))
  7119. ->values(array(
  7120. 'entity_type' => 'node',
  7121. 'bundle' => 'test_content_type',
  7122. 'deleted' => '0',
  7123. 'entity_id' => '1',
  7124. 'revision_id' => '1',
  7125. 'language' => 'und',
  7126. 'delta' => '0',
  7127. 'field_node_entityreference_target_id' => '2',
  7128. ))
  7129. ->execute();
  7130. $connection->schema()->createTable('field_data_field_phone', array(
  7131. 'fields' => array(
  7132. 'entity_type' => array(
  7133. 'type' => 'varchar',
  7134. 'not null' => TRUE,
  7135. 'length' => '128',
  7136. 'default' => '',
  7137. ),
  7138. 'bundle' => array(
  7139. 'type' => 'varchar',
  7140. 'not null' => TRUE,
  7141. 'length' => '128',
  7142. 'default' => '',
  7143. ),
  7144. 'deleted' => array(
  7145. 'type' => 'int',
  7146. 'not null' => TRUE,
  7147. 'size' => 'normal',
  7148. 'default' => '0',
  7149. ),
  7150. 'entity_id' => array(
  7151. 'type' => 'int',
  7152. 'not null' => TRUE,
  7153. 'size' => 'normal',
  7154. 'unsigned' => TRUE,
  7155. ),
  7156. 'revision_id' => array(
  7157. 'type' => 'int',
  7158. 'not null' => FALSE,
  7159. 'size' => 'normal',
  7160. 'unsigned' => TRUE,
  7161. ),
  7162. 'language' => array(
  7163. 'type' => 'varchar',
  7164. 'not null' => TRUE,
  7165. 'length' => '32',
  7166. 'default' => '',
  7167. ),
  7168. 'delta' => array(
  7169. 'type' => 'int',
  7170. 'not null' => TRUE,
  7171. 'size' => 'normal',
  7172. 'unsigned' => TRUE,
  7173. ),
  7174. 'field_phone_value' => array(
  7175. 'type' => 'varchar',
  7176. 'not null' => FALSE,
  7177. 'length' => '255',
  7178. ),
  7179. ),
  7180. 'primary key' => array(
  7181. 'entity_type',
  7182. 'deleted',
  7183. 'entity_id',
  7184. 'language',
  7185. 'delta',
  7186. ),
  7187. 'mysql_character_set' => 'utf8',
  7188. ));
  7189. $connection->insert('field_data_field_phone')
  7190. ->fields(array(
  7191. 'entity_type',
  7192. 'bundle',
  7193. 'deleted',
  7194. 'entity_id',
  7195. 'revision_id',
  7196. 'language',
  7197. 'delta',
  7198. 'field_phone_value',
  7199. ))
  7200. ->values(array(
  7201. 'entity_type' => 'node',
  7202. 'bundle' => 'test_content_type',
  7203. 'deleted' => '0',
  7204. 'entity_id' => '1',
  7205. 'revision_id' => '6',
  7206. 'language' => 'und',
  7207. 'delta' => '0',
  7208. 'field_phone_value' => '99-99-99-99',
  7209. ))
  7210. ->execute();
  7211. $connection->schema()->createTable('field_data_field_private_file', array(
  7212. 'fields' => array(
  7213. 'entity_type' => array(
  7214. 'type' => 'varchar',
  7215. 'not null' => TRUE,
  7216. 'length' => '128',
  7217. 'default' => '',
  7218. ),
  7219. 'bundle' => array(
  7220. 'type' => 'varchar',
  7221. 'not null' => TRUE,
  7222. 'length' => '128',
  7223. 'default' => '',
  7224. ),
  7225. 'deleted' => array(
  7226. 'type' => 'int',
  7227. 'not null' => TRUE,
  7228. 'size' => 'tiny',
  7229. 'default' => '0',
  7230. ),
  7231. 'entity_id' => array(
  7232. 'type' => 'int',
  7233. 'not null' => TRUE,
  7234. 'size' => 'normal',
  7235. 'unsigned' => TRUE,
  7236. ),
  7237. 'revision_id' => array(
  7238. 'type' => 'int',
  7239. 'not null' => FALSE,
  7240. 'size' => 'normal',
  7241. 'unsigned' => TRUE,
  7242. ),
  7243. 'language' => array(
  7244. 'type' => 'varchar',
  7245. 'not null' => TRUE,
  7246. 'length' => '32',
  7247. 'default' => '',
  7248. ),
  7249. 'delta' => array(
  7250. 'type' => 'int',
  7251. 'not null' => TRUE,
  7252. 'size' => 'normal',
  7253. 'unsigned' => TRUE,
  7254. ),
  7255. 'field_private_file_fid' => array(
  7256. 'type' => 'int',
  7257. 'not null' => FALSE,
  7258. 'size' => 'normal',
  7259. 'unsigned' => TRUE,
  7260. ),
  7261. 'field_private_file_display' => array(
  7262. 'type' => 'int',
  7263. 'not null' => TRUE,
  7264. 'size' => 'tiny',
  7265. 'default' => '1',
  7266. 'unsigned' => TRUE,
  7267. ),
  7268. 'field_private_file_description' => array(
  7269. 'type' => 'text',
  7270. 'not null' => FALSE,
  7271. 'size' => 'normal',
  7272. ),
  7273. ),
  7274. 'primary key' => array(
  7275. 'entity_type',
  7276. 'entity_id',
  7277. 'deleted',
  7278. 'delta',
  7279. 'language',
  7280. ),
  7281. 'indexes' => array(
  7282. 'entity_type' => array(
  7283. 'entity_type',
  7284. ),
  7285. 'bundle' => array(
  7286. 'bundle',
  7287. ),
  7288. 'deleted' => array(
  7289. 'deleted',
  7290. ),
  7291. 'entity_id' => array(
  7292. 'entity_id',
  7293. ),
  7294. 'revision_id' => array(
  7295. 'revision_id',
  7296. ),
  7297. 'language' => array(
  7298. 'language',
  7299. ),
  7300. 'field_private_file_fid' => array(
  7301. 'field_private_file_fid',
  7302. ),
  7303. ),
  7304. 'mysql_character_set' => 'utf8',
  7305. ));
  7306. $connection->insert('field_data_field_private_file')
  7307. ->fields(array(
  7308. 'entity_type',
  7309. 'bundle',
  7310. 'deleted',
  7311. 'entity_id',
  7312. 'revision_id',
  7313. 'language',
  7314. 'delta',
  7315. 'field_private_file_fid',
  7316. 'field_private_file_display',
  7317. 'field_private_file_description',
  7318. ))
  7319. ->values(array(
  7320. 'entity_type' => 'node',
  7321. 'bundle' => 'test_content_type',
  7322. 'deleted' => '0',
  7323. 'entity_id' => '1',
  7324. 'revision_id' => '6',
  7325. 'language' => 'und',
  7326. 'delta' => '0',
  7327. 'field_private_file_fid' => '4',
  7328. 'field_private_file_display' => '1',
  7329. 'field_private_file_description' => '',
  7330. ))
  7331. ->execute();
  7332. $connection->schema()->createTable('field_data_field_rating', array(
  7333. 'fields' => array(
  7334. 'entity_type' => array(
  7335. 'type' => 'varchar',
  7336. 'not null' => TRUE,
  7337. 'length' => '128',
  7338. 'default' => '',
  7339. ),
  7340. 'bundle' => array(
  7341. 'type' => 'varchar',
  7342. 'not null' => TRUE,
  7343. 'length' => '128',
  7344. 'default' => '',
  7345. ),
  7346. 'deleted' => array(
  7347. 'type' => 'int',
  7348. 'not null' => TRUE,
  7349. 'size' => 'tiny',
  7350. 'default' => '0',
  7351. ),
  7352. 'entity_id' => array(
  7353. 'type' => 'int',
  7354. 'not null' => TRUE,
  7355. 'size' => 'normal',
  7356. 'unsigned' => TRUE,
  7357. ),
  7358. 'revision_id' => array(
  7359. 'type' => 'int',
  7360. 'not null' => FALSE,
  7361. 'size' => 'normal',
  7362. 'unsigned' => TRUE,
  7363. ),
  7364. 'language' => array(
  7365. 'type' => 'varchar',
  7366. 'not null' => TRUE,
  7367. 'length' => '32',
  7368. 'default' => '',
  7369. ),
  7370. 'delta' => array(
  7371. 'type' => 'int',
  7372. 'not null' => TRUE,
  7373. 'size' => 'normal',
  7374. 'unsigned' => TRUE,
  7375. ),
  7376. 'field_rating_value' => array(
  7377. 'type' => 'varchar',
  7378. 'not null' => FALSE,
  7379. 'length' => '255',
  7380. ),
  7381. ),
  7382. 'primary key' => array(
  7383. 'entity_type',
  7384. 'entity_id',
  7385. 'deleted',
  7386. 'delta',
  7387. 'language',
  7388. ),
  7389. 'indexes' => array(
  7390. 'entity_type' => array(
  7391. 'entity_type',
  7392. ),
  7393. 'bundle' => array(
  7394. 'bundle',
  7395. ),
  7396. 'deleted' => array(
  7397. 'deleted',
  7398. ),
  7399. 'entity_id' => array(
  7400. 'entity_id',
  7401. ),
  7402. 'revision_id' => array(
  7403. 'revision_id',
  7404. ),
  7405. 'language' => array(
  7406. 'language',
  7407. ),
  7408. 'field_rating_value' => array(
  7409. array(
  7410. 'field_rating_value',
  7411. '191',
  7412. ),
  7413. ),
  7414. ),
  7415. 'mysql_character_set' => 'utf8',
  7416. ));
  7417. $connection->insert('field_data_field_rating')
  7418. ->fields(array(
  7419. 'entity_type',
  7420. 'bundle',
  7421. 'deleted',
  7422. 'entity_id',
  7423. 'revision_id',
  7424. 'language',
  7425. 'delta',
  7426. 'field_rating_value',
  7427. ))
  7428. ->values(array(
  7429. 'entity_type' => 'node',
  7430. 'bundle' => 'blog',
  7431. 'deleted' => '0',
  7432. 'entity_id' => '8',
  7433. 'revision_id' => '8',
  7434. 'language' => 'en',
  7435. 'delta' => '0',
  7436. 'field_rating_value' => '1',
  7437. ))
  7438. ->values(array(
  7439. 'entity_type' => 'node',
  7440. 'bundle' => 'blog',
  7441. 'deleted' => '0',
  7442. 'entity_id' => '9',
  7443. 'revision_id' => '9',
  7444. 'language' => 'fr',
  7445. 'delta' => '0',
  7446. 'field_rating_value' => '3',
  7447. ))
  7448. ->values(array(
  7449. 'entity_type' => 'node',
  7450. 'bundle' => 'blog',
  7451. 'deleted' => '0',
  7452. 'entity_id' => '10',
  7453. 'revision_id' => '10',
  7454. 'language' => 'is',
  7455. 'delta' => '0',
  7456. 'field_rating_value' => '2',
  7457. ))
  7458. ->execute();
  7459. $connection->schema()->createTable('field_data_field_reference', array(
  7460. 'fields' => array(
  7461. 'entity_type' => array(
  7462. 'type' => 'varchar',
  7463. 'not null' => TRUE,
  7464. 'length' => '128',
  7465. 'default' => '',
  7466. ),
  7467. 'bundle' => array(
  7468. 'type' => 'varchar',
  7469. 'not null' => TRUE,
  7470. 'length' => '128',
  7471. 'default' => '',
  7472. ),
  7473. 'deleted' => array(
  7474. 'type' => 'int',
  7475. 'not null' => TRUE,
  7476. 'size' => 'tiny',
  7477. 'default' => '0',
  7478. ),
  7479. 'entity_id' => array(
  7480. 'type' => 'int',
  7481. 'not null' => TRUE,
  7482. 'size' => 'normal',
  7483. 'unsigned' => TRUE,
  7484. ),
  7485. 'revision_id' => array(
  7486. 'type' => 'int',
  7487. 'not null' => FALSE,
  7488. 'size' => 'normal',
  7489. 'unsigned' => TRUE,
  7490. ),
  7491. 'language' => array(
  7492. 'type' => 'varchar',
  7493. 'not null' => TRUE,
  7494. 'length' => '32',
  7495. 'default' => '',
  7496. ),
  7497. 'delta' => array(
  7498. 'type' => 'int',
  7499. 'not null' => TRUE,
  7500. 'size' => 'normal',
  7501. 'unsigned' => TRUE,
  7502. ),
  7503. 'field_reference_target_id' => array(
  7504. 'type' => 'int',
  7505. 'not null' => TRUE,
  7506. 'size' => 'normal',
  7507. 'unsigned' => TRUE,
  7508. ),
  7509. ),
  7510. 'primary key' => array(
  7511. 'entity_type',
  7512. 'entity_id',
  7513. 'deleted',
  7514. 'delta',
  7515. 'language',
  7516. ),
  7517. 'indexes' => array(
  7518. 'entity_type' => array(
  7519. 'entity_type',
  7520. ),
  7521. 'bundle' => array(
  7522. 'bundle',
  7523. ),
  7524. 'deleted' => array(
  7525. 'deleted',
  7526. ),
  7527. 'entity_id' => array(
  7528. 'entity_id',
  7529. ),
  7530. 'revision_id' => array(
  7531. 'revision_id',
  7532. ),
  7533. 'language' => array(
  7534. 'language',
  7535. ),
  7536. 'field_reference_target_id' => array(
  7537. 'field_reference_target_id',
  7538. ),
  7539. ),
  7540. 'mysql_character_set' => 'utf8',
  7541. ));
  7542. $connection->insert('field_data_field_reference')
  7543. ->fields(array(
  7544. 'entity_type',
  7545. 'bundle',
  7546. 'deleted',
  7547. 'entity_id',
  7548. 'revision_id',
  7549. 'language',
  7550. 'delta',
  7551. 'field_reference_target_id',
  7552. ))
  7553. ->values(array(
  7554. 'entity_type' => 'node',
  7555. 'bundle' => 'article',
  7556. 'deleted' => '0',
  7557. 'entity_id' => '2',
  7558. 'revision_id' => '2',
  7559. 'language' => 'und',
  7560. 'delta' => '0',
  7561. 'field_reference_target_id' => '5',
  7562. ))
  7563. ->values(array(
  7564. 'entity_type' => 'node',
  7565. 'bundle' => 'article',
  7566. 'deleted' => '0',
  7567. 'entity_id' => '3',
  7568. 'revision_id' => '3',
  7569. 'language' => 'und',
  7570. 'delta' => '0',
  7571. 'field_reference_target_id' => '4',
  7572. ))
  7573. ->values(array(
  7574. 'entity_type' => 'node',
  7575. 'bundle' => 'article',
  7576. 'deleted' => '0',
  7577. 'entity_id' => '4',
  7578. 'revision_id' => '4',
  7579. 'language' => 'und',
  7580. 'delta' => '0',
  7581. 'field_reference_target_id' => '3',
  7582. ))
  7583. ->values(array(
  7584. 'entity_type' => 'node',
  7585. 'bundle' => 'article',
  7586. 'deleted' => '0',
  7587. 'entity_id' => '5',
  7588. 'revision_id' => '5',
  7589. 'language' => 'und',
  7590. 'delta' => '0',
  7591. 'field_reference_target_id' => '2',
  7592. ))
  7593. ->execute();
  7594. $connection->schema()->createTable('field_data_field_reference_2', array(
  7595. 'fields' => array(
  7596. 'entity_type' => array(
  7597. 'type' => 'varchar',
  7598. 'not null' => TRUE,
  7599. 'length' => '128',
  7600. 'default' => '',
  7601. ),
  7602. 'bundle' => array(
  7603. 'type' => 'varchar',
  7604. 'not null' => TRUE,
  7605. 'length' => '128',
  7606. 'default' => '',
  7607. ),
  7608. 'deleted' => array(
  7609. 'type' => 'int',
  7610. 'not null' => TRUE,
  7611. 'size' => 'tiny',
  7612. 'default' => '0',
  7613. ),
  7614. 'entity_id' => array(
  7615. 'type' => 'int',
  7616. 'not null' => TRUE,
  7617. 'size' => 'normal',
  7618. 'unsigned' => TRUE,
  7619. ),
  7620. 'revision_id' => array(
  7621. 'type' => 'int',
  7622. 'not null' => FALSE,
  7623. 'size' => 'normal',
  7624. 'unsigned' => TRUE,
  7625. ),
  7626. 'language' => array(
  7627. 'type' => 'varchar',
  7628. 'not null' => TRUE,
  7629. 'length' => '32',
  7630. 'default' => '',
  7631. ),
  7632. 'delta' => array(
  7633. 'type' => 'int',
  7634. 'not null' => TRUE,
  7635. 'size' => 'normal',
  7636. 'unsigned' => TRUE,
  7637. ),
  7638. 'field_reference_2_target_id' => array(
  7639. 'type' => 'int',
  7640. 'not null' => TRUE,
  7641. 'size' => 'normal',
  7642. 'unsigned' => TRUE,
  7643. ),
  7644. ),
  7645. 'primary key' => array(
  7646. 'entity_type',
  7647. 'entity_id',
  7648. 'deleted',
  7649. 'delta',
  7650. 'language',
  7651. ),
  7652. 'indexes' => array(
  7653. 'entity_type' => array(
  7654. 'entity_type',
  7655. ),
  7656. 'bundle' => array(
  7657. 'bundle',
  7658. ),
  7659. 'deleted' => array(
  7660. 'deleted',
  7661. ),
  7662. 'entity_id' => array(
  7663. 'entity_id',
  7664. ),
  7665. 'revision_id' => array(
  7666. 'revision_id',
  7667. ),
  7668. 'language' => array(
  7669. 'language',
  7670. ),
  7671. 'field_reference_2_target_id' => array(
  7672. 'field_reference_2_target_id',
  7673. ),
  7674. ),
  7675. 'mysql_character_set' => 'utf8',
  7676. ));
  7677. $connection->insert('field_data_field_reference_2')
  7678. ->fields(array(
  7679. 'entity_type',
  7680. 'bundle',
  7681. 'deleted',
  7682. 'entity_id',
  7683. 'revision_id',
  7684. 'language',
  7685. 'delta',
  7686. 'field_reference_2_target_id',
  7687. ))
  7688. ->values(array(
  7689. 'entity_type' => 'node',
  7690. 'bundle' => 'article',
  7691. 'deleted' => '0',
  7692. 'entity_id' => '2',
  7693. 'revision_id' => '2',
  7694. 'language' => 'und',
  7695. 'delta' => '0',
  7696. 'field_reference_2_target_id' => '5',
  7697. ))
  7698. ->values(array(
  7699. 'entity_type' => 'node',
  7700. 'bundle' => 'article',
  7701. 'deleted' => '0',
  7702. 'entity_id' => '3',
  7703. 'revision_id' => '3',
  7704. 'language' => 'und',
  7705. 'delta' => '0',
  7706. 'field_reference_2_target_id' => '4',
  7707. ))
  7708. ->values(array(
  7709. 'entity_type' => 'node',
  7710. 'bundle' => 'article',
  7711. 'deleted' => '0',
  7712. 'entity_id' => '4',
  7713. 'revision_id' => '4',
  7714. 'language' => 'und',
  7715. 'delta' => '0',
  7716. 'field_reference_2_target_id' => '3',
  7717. ))
  7718. ->values(array(
  7719. 'entity_type' => 'node',
  7720. 'bundle' => 'article',
  7721. 'deleted' => '0',
  7722. 'entity_id' => '5',
  7723. 'revision_id' => '5',
  7724. 'language' => 'und',
  7725. 'delta' => '0',
  7726. 'field_reference_2_target_id' => '2',
  7727. ))
  7728. ->execute();
  7729. $connection->schema()->createTable('field_data_field_tags', array(
  7730. 'fields' => array(
  7731. 'entity_type' => array(
  7732. 'type' => 'varchar',
  7733. 'not null' => TRUE,
  7734. 'length' => '128',
  7735. 'default' => '',
  7736. ),
  7737. 'bundle' => array(
  7738. 'type' => 'varchar',
  7739. 'not null' => TRUE,
  7740. 'length' => '128',
  7741. 'default' => '',
  7742. ),
  7743. 'deleted' => array(
  7744. 'type' => 'int',
  7745. 'not null' => TRUE,
  7746. 'size' => 'normal',
  7747. 'default' => '0',
  7748. ),
  7749. 'entity_id' => array(
  7750. 'type' => 'int',
  7751. 'not null' => TRUE,
  7752. 'size' => 'normal',
  7753. 'unsigned' => TRUE,
  7754. ),
  7755. 'revision_id' => array(
  7756. 'type' => 'int',
  7757. 'not null' => FALSE,
  7758. 'size' => 'normal',
  7759. 'unsigned' => TRUE,
  7760. ),
  7761. 'language' => array(
  7762. 'type' => 'varchar',
  7763. 'not null' => TRUE,
  7764. 'length' => '32',
  7765. 'default' => '',
  7766. ),
  7767. 'delta' => array(
  7768. 'type' => 'int',
  7769. 'not null' => TRUE,
  7770. 'size' => 'normal',
  7771. 'unsigned' => TRUE,
  7772. ),
  7773. 'field_tags_tid' => array(
  7774. 'type' => 'int',
  7775. 'not null' => FALSE,
  7776. 'size' => 'normal',
  7777. 'unsigned' => TRUE,
  7778. ),
  7779. ),
  7780. 'primary key' => array(
  7781. 'entity_type',
  7782. 'deleted',
  7783. 'entity_id',
  7784. 'language',
  7785. 'delta',
  7786. ),
  7787. 'mysql_character_set' => 'utf8',
  7788. ));
  7789. $connection->insert('field_data_field_tags')
  7790. ->fields(array(
  7791. 'entity_type',
  7792. 'bundle',
  7793. 'deleted',
  7794. 'entity_id',
  7795. 'revision_id',
  7796. 'language',
  7797. 'delta',
  7798. 'field_tags_tid',
  7799. ))
  7800. ->values(array(
  7801. 'entity_type' => 'node',
  7802. 'bundle' => 'article',
  7803. 'deleted' => '0',
  7804. 'entity_id' => '2',
  7805. 'revision_id' => '2',
  7806. 'language' => 'und',
  7807. 'delta' => '0',
  7808. 'field_tags_tid' => '9',
  7809. ))
  7810. ->values(array(
  7811. 'entity_type' => 'node',
  7812. 'bundle' => 'article',
  7813. 'deleted' => '0',
  7814. 'entity_id' => '3',
  7815. 'revision_id' => '3',
  7816. 'language' => 'und',
  7817. 'delta' => '0',
  7818. 'field_tags_tid' => '9',
  7819. ))
  7820. ->values(array(
  7821. 'entity_type' => 'node',
  7822. 'bundle' => 'article',
  7823. 'deleted' => '0',
  7824. 'entity_id' => '2',
  7825. 'revision_id' => '2',
  7826. 'language' => 'und',
  7827. 'delta' => '1',
  7828. 'field_tags_tid' => '14',
  7829. ))
  7830. ->values(array(
  7831. 'entity_type' => 'node',
  7832. 'bundle' => 'article',
  7833. 'deleted' => '0',
  7834. 'entity_id' => '3',
  7835. 'revision_id' => '3',
  7836. 'language' => 'und',
  7837. 'delta' => '1',
  7838. 'field_tags_tid' => '14',
  7839. ))
  7840. ->values(array(
  7841. 'entity_type' => 'node',
  7842. 'bundle' => 'article',
  7843. 'deleted' => '0',
  7844. 'entity_id' => '2',
  7845. 'revision_id' => '2',
  7846. 'language' => 'und',
  7847. 'delta' => '2',
  7848. 'field_tags_tid' => '17',
  7849. ))
  7850. ->values(array(
  7851. 'entity_type' => 'node',
  7852. 'bundle' => 'article',
  7853. 'deleted' => '0',
  7854. 'entity_id' => '3',
  7855. 'revision_id' => '3',
  7856. 'language' => 'und',
  7857. 'delta' => '2',
  7858. 'field_tags_tid' => '17',
  7859. ))
  7860. ->execute();
  7861. $connection->schema()->createTable('field_data_field_term_entityreference', array(
  7862. 'fields' => array(
  7863. 'entity_type' => array(
  7864. 'type' => 'varchar',
  7865. 'not null' => TRUE,
  7866. 'length' => '128',
  7867. 'default' => '',
  7868. ),
  7869. 'bundle' => array(
  7870. 'type' => 'varchar',
  7871. 'not null' => TRUE,
  7872. 'length' => '128',
  7873. 'default' => '',
  7874. ),
  7875. 'deleted' => array(
  7876. 'type' => 'int',
  7877. 'not null' => TRUE,
  7878. 'size' => 'tiny',
  7879. 'default' => '0',
  7880. ),
  7881. 'entity_id' => array(
  7882. 'type' => 'int',
  7883. 'not null' => TRUE,
  7884. 'size' => 'normal',
  7885. 'unsigned' => TRUE,
  7886. ),
  7887. 'revision_id' => array(
  7888. 'type' => 'int',
  7889. 'not null' => FALSE,
  7890. 'size' => 'normal',
  7891. 'unsigned' => TRUE,
  7892. ),
  7893. 'language' => array(
  7894. 'type' => 'varchar',
  7895. 'not null' => TRUE,
  7896. 'length' => '32',
  7897. 'default' => '',
  7898. ),
  7899. 'delta' => array(
  7900. 'type' => 'int',
  7901. 'not null' => TRUE,
  7902. 'size' => 'normal',
  7903. 'unsigned' => TRUE,
  7904. ),
  7905. 'field_term_entityreference_target_id' => array(
  7906. 'type' => 'int',
  7907. 'not null' => TRUE,
  7908. 'size' => 'normal',
  7909. 'unsigned' => TRUE,
  7910. ),
  7911. ),
  7912. 'primary key' => array(
  7913. 'entity_type',
  7914. 'entity_id',
  7915. 'deleted',
  7916. 'delta',
  7917. 'language',
  7918. ),
  7919. 'indexes' => array(
  7920. 'entity_type' => array(
  7921. 'entity_type',
  7922. ),
  7923. 'bundle' => array(
  7924. 'bundle',
  7925. ),
  7926. 'deleted' => array(
  7927. 'deleted',
  7928. ),
  7929. 'entity_id' => array(
  7930. 'entity_id',
  7931. ),
  7932. 'revision_id' => array(
  7933. 'revision_id',
  7934. ),
  7935. 'language' => array(
  7936. 'language',
  7937. ),
  7938. 'field_term_entityreference_target_id' => array(
  7939. 'field_term_entityreference_target_id',
  7940. ),
  7941. ),
  7942. 'mysql_character_set' => 'utf8',
  7943. ));
  7944. $connection->insert('field_data_field_term_entityreference')
  7945. ->fields(array(
  7946. 'entity_type',
  7947. 'bundle',
  7948. 'deleted',
  7949. 'entity_id',
  7950. 'revision_id',
  7951. 'language',
  7952. 'delta',
  7953. 'field_term_entityreference_target_id',
  7954. ))
  7955. ->values(array(
  7956. 'entity_type' => 'node',
  7957. 'bundle' => 'test_content_type',
  7958. 'deleted' => '0',
  7959. 'entity_id' => '1',
  7960. 'revision_id' => '1',
  7961. 'language' => 'und',
  7962. 'delta' => '0',
  7963. 'field_term_entityreference_target_id' => '17',
  7964. ))
  7965. ->values(array(
  7966. 'entity_type' => 'node',
  7967. 'bundle' => 'test_content_type',
  7968. 'deleted' => '0',
  7969. 'entity_id' => '1',
  7970. 'revision_id' => '1',
  7971. 'language' => 'und',
  7972. 'delta' => '1',
  7973. 'field_term_entityreference_target_id' => '15',
  7974. ))
  7975. ->execute();
  7976. $connection->schema()->createTable('field_data_field_term_reference', array(
  7977. 'fields' => array(
  7978. 'entity_type' => array(
  7979. 'type' => 'varchar',
  7980. 'not null' => TRUE,
  7981. 'length' => '128',
  7982. 'default' => '',
  7983. ),
  7984. 'bundle' => array(
  7985. 'type' => 'varchar',
  7986. 'not null' => TRUE,
  7987. 'length' => '128',
  7988. 'default' => '',
  7989. ),
  7990. 'deleted' => array(
  7991. 'type' => 'int',
  7992. 'not null' => TRUE,
  7993. 'size' => 'normal',
  7994. 'default' => '0',
  7995. ),
  7996. 'entity_id' => array(
  7997. 'type' => 'int',
  7998. 'not null' => TRUE,
  7999. 'size' => 'normal',
  8000. 'unsigned' => TRUE,
  8001. ),
  8002. 'revision_id' => array(
  8003. 'type' => 'int',
  8004. 'not null' => FALSE,
  8005. 'size' => 'normal',
  8006. 'unsigned' => TRUE,
  8007. ),
  8008. 'language' => array(
  8009. 'type' => 'varchar',
  8010. 'not null' => TRUE,
  8011. 'length' => '32',
  8012. 'default' => '',
  8013. ),
  8014. 'delta' => array(
  8015. 'type' => 'int',
  8016. 'not null' => TRUE,
  8017. 'size' => 'normal',
  8018. 'unsigned' => TRUE,
  8019. ),
  8020. 'field_term_reference_tid' => array(
  8021. 'type' => 'int',
  8022. 'not null' => FALSE,
  8023. 'size' => 'normal',
  8024. 'unsigned' => TRUE,
  8025. ),
  8026. ),
  8027. 'primary key' => array(
  8028. 'entity_type',
  8029. 'deleted',
  8030. 'entity_id',
  8031. 'language',
  8032. 'delta',
  8033. ),
  8034. 'mysql_character_set' => 'utf8',
  8035. ));
  8036. $connection->insert('field_data_field_term_reference')
  8037. ->fields(array(
  8038. 'entity_type',
  8039. 'bundle',
  8040. 'deleted',
  8041. 'entity_id',
  8042. 'revision_id',
  8043. 'language',
  8044. 'delta',
  8045. 'field_term_reference_tid',
  8046. ))
  8047. ->values(array(
  8048. 'entity_type' => 'node',
  8049. 'bundle' => 'test_content_type',
  8050. 'deleted' => '0',
  8051. 'entity_id' => '1',
  8052. 'revision_id' => '1',
  8053. 'language' => 'und',
  8054. 'delta' => '0',
  8055. 'field_term_reference_tid' => '4',
  8056. ))
  8057. ->values(array(
  8058. 'entity_type' => 'taxonomy_term',
  8059. 'bundle' => 'test_vocabulary',
  8060. 'deleted' => '0',
  8061. 'entity_id' => '2',
  8062. 'revision_id' => '2',
  8063. 'language' => 'und',
  8064. 'delta' => '0',
  8065. 'field_term_reference_tid' => '3',
  8066. ))
  8067. ->execute();
  8068. $connection->schema()->createTable('field_data_field_text', array(
  8069. 'fields' => array(
  8070. 'entity_type' => array(
  8071. 'type' => 'varchar',
  8072. 'not null' => TRUE,
  8073. 'length' => '128',
  8074. 'default' => '',
  8075. ),
  8076. 'bundle' => array(
  8077. 'type' => 'varchar',
  8078. 'not null' => TRUE,
  8079. 'length' => '128',
  8080. 'default' => '',
  8081. ),
  8082. 'deleted' => array(
  8083. 'type' => 'int',
  8084. 'not null' => TRUE,
  8085. 'size' => 'normal',
  8086. 'default' => '0',
  8087. ),
  8088. 'entity_id' => array(
  8089. 'type' => 'int',
  8090. 'not null' => TRUE,
  8091. 'size' => 'normal',
  8092. 'unsigned' => TRUE,
  8093. ),
  8094. 'revision_id' => array(
  8095. 'type' => 'int',
  8096. 'not null' => FALSE,
  8097. 'size' => 'normal',
  8098. 'unsigned' => TRUE,
  8099. ),
  8100. 'language' => array(
  8101. 'type' => 'varchar',
  8102. 'not null' => TRUE,
  8103. 'length' => '32',
  8104. 'default' => '',
  8105. ),
  8106. 'delta' => array(
  8107. 'type' => 'int',
  8108. 'not null' => TRUE,
  8109. 'size' => 'normal',
  8110. 'unsigned' => TRUE,
  8111. ),
  8112. 'field_text_value' => array(
  8113. 'type' => 'varchar',
  8114. 'not null' => FALSE,
  8115. 'length' => '256',
  8116. ),
  8117. 'field_text_format' => array(
  8118. 'type' => 'varchar',
  8119. 'not null' => FALSE,
  8120. 'length' => '255',
  8121. ),
  8122. ),
  8123. 'primary key' => array(
  8124. 'entity_type',
  8125. 'deleted',
  8126. 'entity_id',
  8127. 'language',
  8128. 'delta',
  8129. ),
  8130. 'mysql_character_set' => 'utf8',
  8131. ));
  8132. $connection->insert('field_data_field_text')
  8133. ->fields(array(
  8134. 'entity_type',
  8135. 'bundle',
  8136. 'deleted',
  8137. 'entity_id',
  8138. 'revision_id',
  8139. 'language',
  8140. 'delta',
  8141. 'field_text_value',
  8142. 'field_text_format',
  8143. ))
  8144. ->values(array(
  8145. 'entity_type' => 'node',
  8146. 'bundle' => 'test_content_type',
  8147. 'deleted' => '0',
  8148. 'entity_id' => '1',
  8149. 'revision_id' => '1',
  8150. 'language' => 'und',
  8151. 'delta' => '0',
  8152. 'field_text_value' => 'qwerty',
  8153. 'field_text_format' => NULL,
  8154. ))
  8155. ->execute();
  8156. $connection->schema()->createTable('field_data_field_text_filtered', array(
  8157. 'fields' => array(
  8158. 'entity_type' => array(
  8159. 'type' => 'varchar',
  8160. 'not null' => TRUE,
  8161. 'length' => '128',
  8162. 'default' => '',
  8163. ),
  8164. 'bundle' => array(
  8165. 'type' => 'varchar',
  8166. 'not null' => TRUE,
  8167. 'length' => '128',
  8168. 'default' => '',
  8169. ),
  8170. 'deleted' => array(
  8171. 'type' => 'int',
  8172. 'not null' => TRUE,
  8173. 'size' => 'tiny',
  8174. 'default' => '0',
  8175. ),
  8176. 'entity_id' => array(
  8177. 'type' => 'int',
  8178. 'not null' => TRUE,
  8179. 'size' => 'normal',
  8180. 'unsigned' => TRUE,
  8181. ),
  8182. 'revision_id' => array(
  8183. 'type' => 'int',
  8184. 'not null' => FALSE,
  8185. 'size' => 'normal',
  8186. 'unsigned' => TRUE,
  8187. ),
  8188. 'language' => array(
  8189. 'type' => 'varchar',
  8190. 'not null' => TRUE,
  8191. 'length' => '32',
  8192. 'default' => '',
  8193. ),
  8194. 'delta' => array(
  8195. 'type' => 'int',
  8196. 'not null' => TRUE,
  8197. 'size' => 'normal',
  8198. 'unsigned' => TRUE,
  8199. ),
  8200. 'field_text_filtered_value' => array(
  8201. 'type' => 'varchar',
  8202. 'not null' => FALSE,
  8203. 'length' => '255',
  8204. ),
  8205. 'field_text_filtered_format' => array(
  8206. 'type' => 'varchar',
  8207. 'not null' => FALSE,
  8208. 'length' => '255',
  8209. ),
  8210. ),
  8211. 'primary key' => array(
  8212. 'entity_type',
  8213. 'entity_id',
  8214. 'deleted',
  8215. 'delta',
  8216. 'language',
  8217. ),
  8218. 'indexes' => array(
  8219. 'entity_type' => array(
  8220. 'entity_type',
  8221. ),
  8222. 'bundle' => array(
  8223. 'bundle',
  8224. ),
  8225. 'deleted' => array(
  8226. 'deleted',
  8227. ),
  8228. 'entity_id' => array(
  8229. 'entity_id',
  8230. ),
  8231. 'revision_id' => array(
  8232. 'revision_id',
  8233. ),
  8234. 'language' => array(
  8235. 'language',
  8236. ),
  8237. 'field_text_filtered_format' => array(
  8238. array(
  8239. 'field_text_filtered_format',
  8240. '191',
  8241. ),
  8242. ),
  8243. ),
  8244. 'mysql_character_set' => 'utf8',
  8245. ));
  8246. $connection->schema()->createTable('field_data_field_text_list', array(
  8247. 'fields' => array(
  8248. 'entity_type' => array(
  8249. 'type' => 'varchar',
  8250. 'not null' => TRUE,
  8251. 'length' => '128',
  8252. 'default' => '',
  8253. ),
  8254. 'bundle' => array(
  8255. 'type' => 'varchar',
  8256. 'not null' => TRUE,
  8257. 'length' => '128',
  8258. 'default' => '',
  8259. ),
  8260. 'deleted' => array(
  8261. 'type' => 'int',
  8262. 'not null' => TRUE,
  8263. 'size' => 'normal',
  8264. 'default' => '0',
  8265. ),
  8266. 'entity_id' => array(
  8267. 'type' => 'int',
  8268. 'not null' => TRUE,
  8269. 'size' => 'normal',
  8270. 'unsigned' => TRUE,
  8271. ),
  8272. 'revision_id' => array(
  8273. 'type' => 'int',
  8274. 'not null' => FALSE,
  8275. 'size' => 'normal',
  8276. 'unsigned' => TRUE,
  8277. ),
  8278. 'language' => array(
  8279. 'type' => 'varchar',
  8280. 'not null' => TRUE,
  8281. 'length' => '32',
  8282. 'default' => '',
  8283. ),
  8284. 'delta' => array(
  8285. 'type' => 'int',
  8286. 'not null' => TRUE,
  8287. 'size' => 'normal',
  8288. 'unsigned' => TRUE,
  8289. ),
  8290. 'field_text_list_value' => array(
  8291. 'type' => 'varchar',
  8292. 'not null' => FALSE,
  8293. 'length' => '255',
  8294. ),
  8295. ),
  8296. 'primary key' => array(
  8297. 'entity_type',
  8298. 'deleted',
  8299. 'entity_id',
  8300. 'language',
  8301. 'delta',
  8302. ),
  8303. 'mysql_character_set' => 'utf8',
  8304. ));
  8305. $connection->insert('field_data_field_text_list')
  8306. ->fields(array(
  8307. 'entity_type',
  8308. 'bundle',
  8309. 'deleted',
  8310. 'entity_id',
  8311. 'revision_id',
  8312. 'language',
  8313. 'delta',
  8314. 'field_text_list_value',
  8315. ))
  8316. ->values(array(
  8317. 'entity_type' => 'node',
  8318. 'bundle' => 'test_content_type',
  8319. 'deleted' => '0',
  8320. 'entity_id' => '1',
  8321. 'revision_id' => '1',
  8322. 'language' => 'und',
  8323. 'delta' => '0',
  8324. 'field_text_list_value' => 'Some more text',
  8325. ))
  8326. ->execute();
  8327. $connection->schema()->createTable('field_data_field_text_long_filtered', array(
  8328. 'fields' => array(
  8329. 'entity_type' => array(
  8330. 'type' => 'varchar',
  8331. 'not null' => TRUE,
  8332. 'length' => '128',
  8333. 'default' => '',
  8334. ),
  8335. 'bundle' => array(
  8336. 'type' => 'varchar',
  8337. 'not null' => TRUE,
  8338. 'length' => '128',
  8339. 'default' => '',
  8340. ),
  8341. 'deleted' => array(
  8342. 'type' => 'int',
  8343. 'not null' => TRUE,
  8344. 'size' => 'tiny',
  8345. 'default' => '0',
  8346. ),
  8347. 'entity_id' => array(
  8348. 'type' => 'int',
  8349. 'not null' => TRUE,
  8350. 'size' => 'normal',
  8351. 'unsigned' => TRUE,
  8352. ),
  8353. 'revision_id' => array(
  8354. 'type' => 'int',
  8355. 'not null' => FALSE,
  8356. 'size' => 'normal',
  8357. 'unsigned' => TRUE,
  8358. ),
  8359. 'language' => array(
  8360. 'type' => 'varchar',
  8361. 'not null' => TRUE,
  8362. 'length' => '32',
  8363. 'default' => '',
  8364. ),
  8365. 'delta' => array(
  8366. 'type' => 'int',
  8367. 'not null' => TRUE,
  8368. 'size' => 'normal',
  8369. 'unsigned' => TRUE,
  8370. ),
  8371. 'field_text_long_filtered_value' => array(
  8372. 'type' => 'text',
  8373. 'not null' => FALSE,
  8374. 'size' => 'big',
  8375. ),
  8376. 'field_text_long_filtered_format' => array(
  8377. 'type' => 'varchar',
  8378. 'not null' => FALSE,
  8379. 'length' => '255',
  8380. ),
  8381. ),
  8382. 'primary key' => array(
  8383. 'entity_type',
  8384. 'entity_id',
  8385. 'deleted',
  8386. 'delta',
  8387. 'language',
  8388. ),
  8389. 'indexes' => array(
  8390. 'entity_type' => array(
  8391. 'entity_type',
  8392. ),
  8393. 'bundle' => array(
  8394. 'bundle',
  8395. ),
  8396. 'deleted' => array(
  8397. 'deleted',
  8398. ),
  8399. 'entity_id' => array(
  8400. 'entity_id',
  8401. ),
  8402. 'revision_id' => array(
  8403. 'revision_id',
  8404. ),
  8405. 'language' => array(
  8406. 'language',
  8407. ),
  8408. 'field_text_long_filtered_format' => array(
  8409. array(
  8410. 'field_text_long_filtered_format',
  8411. '191',
  8412. ),
  8413. ),
  8414. ),
  8415. 'mysql_character_set' => 'utf8',
  8416. ));
  8417. $connection->schema()->createTable('field_data_field_text_long_plain', array(
  8418. 'fields' => array(
  8419. 'entity_type' => array(
  8420. 'type' => 'varchar',
  8421. 'not null' => TRUE,
  8422. 'length' => '128',
  8423. 'default' => '',
  8424. ),
  8425. 'bundle' => array(
  8426. 'type' => 'varchar',
  8427. 'not null' => TRUE,
  8428. 'length' => '128',
  8429. 'default' => '',
  8430. ),
  8431. 'deleted' => array(
  8432. 'type' => 'int',
  8433. 'not null' => TRUE,
  8434. 'size' => 'tiny',
  8435. 'default' => '0',
  8436. ),
  8437. 'entity_id' => array(
  8438. 'type' => 'int',
  8439. 'not null' => TRUE,
  8440. 'size' => 'normal',
  8441. 'unsigned' => TRUE,
  8442. ),
  8443. 'revision_id' => array(
  8444. 'type' => 'int',
  8445. 'not null' => FALSE,
  8446. 'size' => 'normal',
  8447. 'unsigned' => TRUE,
  8448. ),
  8449. 'language' => array(
  8450. 'type' => 'varchar',
  8451. 'not null' => TRUE,
  8452. 'length' => '32',
  8453. 'default' => '',
  8454. ),
  8455. 'delta' => array(
  8456. 'type' => 'int',
  8457. 'not null' => TRUE,
  8458. 'size' => 'normal',
  8459. 'unsigned' => TRUE,
  8460. ),
  8461. 'field_text_long_plain_value' => array(
  8462. 'type' => 'text',
  8463. 'not null' => FALSE,
  8464. 'size' => 'big',
  8465. ),
  8466. 'field_text_long_plain_format' => array(
  8467. 'type' => 'varchar',
  8468. 'not null' => FALSE,
  8469. 'length' => '255',
  8470. ),
  8471. ),
  8472. 'primary key' => array(
  8473. 'entity_type',
  8474. 'entity_id',
  8475. 'deleted',
  8476. 'delta',
  8477. 'language',
  8478. ),
  8479. 'indexes' => array(
  8480. 'entity_type' => array(
  8481. 'entity_type',
  8482. ),
  8483. 'bundle' => array(
  8484. 'bundle',
  8485. ),
  8486. 'deleted' => array(
  8487. 'deleted',
  8488. ),
  8489. 'entity_id' => array(
  8490. 'entity_id',
  8491. ),
  8492. 'revision_id' => array(
  8493. 'revision_id',
  8494. ),
  8495. 'language' => array(
  8496. 'language',
  8497. ),
  8498. 'field_text_long_plain_format' => array(
  8499. array(
  8500. 'field_text_long_plain_format',
  8501. '191',
  8502. ),
  8503. ),
  8504. ),
  8505. 'mysql_character_set' => 'utf8',
  8506. ));
  8507. $connection->schema()->createTable('field_data_field_text_long_plain_filtered', array(
  8508. 'fields' => array(
  8509. 'entity_type' => array(
  8510. 'type' => 'varchar',
  8511. 'not null' => TRUE,
  8512. 'length' => '128',
  8513. 'default' => '',
  8514. ),
  8515. 'bundle' => array(
  8516. 'type' => 'varchar',
  8517. 'not null' => TRUE,
  8518. 'length' => '128',
  8519. 'default' => '',
  8520. ),
  8521. 'deleted' => array(
  8522. 'type' => 'int',
  8523. 'not null' => TRUE,
  8524. 'size' => 'tiny',
  8525. 'default' => '0',
  8526. ),
  8527. 'entity_id' => array(
  8528. 'type' => 'int',
  8529. 'not null' => TRUE,
  8530. 'size' => 'normal',
  8531. 'unsigned' => TRUE,
  8532. ),
  8533. 'revision_id' => array(
  8534. 'type' => 'int',
  8535. 'not null' => FALSE,
  8536. 'size' => 'normal',
  8537. 'unsigned' => TRUE,
  8538. ),
  8539. 'language' => array(
  8540. 'type' => 'varchar',
  8541. 'not null' => TRUE,
  8542. 'length' => '32',
  8543. 'default' => '',
  8544. ),
  8545. 'delta' => array(
  8546. 'type' => 'int',
  8547. 'not null' => TRUE,
  8548. 'size' => 'normal',
  8549. 'unsigned' => TRUE,
  8550. ),
  8551. 'field_text_long_plain_filtered_value' => array(
  8552. 'type' => 'text',
  8553. 'not null' => FALSE,
  8554. 'size' => 'big',
  8555. ),
  8556. 'field_text_long_plain_filtered_format' => array(
  8557. 'type' => 'varchar',
  8558. 'not null' => FALSE,
  8559. 'length' => '255',
  8560. ),
  8561. ),
  8562. 'primary key' => array(
  8563. 'entity_type',
  8564. 'entity_id',
  8565. 'deleted',
  8566. 'delta',
  8567. 'language',
  8568. ),
  8569. 'indexes' => array(
  8570. 'entity_type' => array(
  8571. 'entity_type',
  8572. ),
  8573. 'bundle' => array(
  8574. 'bundle',
  8575. ),
  8576. 'deleted' => array(
  8577. 'deleted',
  8578. ),
  8579. 'entity_id' => array(
  8580. 'entity_id',
  8581. ),
  8582. 'revision_id' => array(
  8583. 'revision_id',
  8584. ),
  8585. 'language' => array(
  8586. 'language',
  8587. ),
  8588. 'field_text_long_plain_filtered_format' => array(
  8589. array(
  8590. 'field_text_long_plain_filtered_format',
  8591. '191',
  8592. ),
  8593. ),
  8594. ),
  8595. 'mysql_character_set' => 'utf8',
  8596. ));
  8597. $connection->schema()->createTable('field_data_field_text_plain', array(
  8598. 'fields' => array(
  8599. 'entity_type' => array(
  8600. 'type' => 'varchar',
  8601. 'not null' => TRUE,
  8602. 'length' => '128',
  8603. 'default' => '',
  8604. ),
  8605. 'bundle' => array(
  8606. 'type' => 'varchar',
  8607. 'not null' => TRUE,
  8608. 'length' => '128',
  8609. 'default' => '',
  8610. ),
  8611. 'deleted' => array(
  8612. 'type' => 'int',
  8613. 'not null' => TRUE,
  8614. 'size' => 'tiny',
  8615. 'default' => '0',
  8616. ),
  8617. 'entity_id' => array(
  8618. 'type' => 'int',
  8619. 'not null' => TRUE,
  8620. 'size' => 'normal',
  8621. 'unsigned' => TRUE,
  8622. ),
  8623. 'revision_id' => array(
  8624. 'type' => 'int',
  8625. 'not null' => FALSE,
  8626. 'size' => 'normal',
  8627. 'unsigned' => TRUE,
  8628. ),
  8629. 'language' => array(
  8630. 'type' => 'varchar',
  8631. 'not null' => TRUE,
  8632. 'length' => '32',
  8633. 'default' => '',
  8634. ),
  8635. 'delta' => array(
  8636. 'type' => 'int',
  8637. 'not null' => TRUE,
  8638. 'size' => 'normal',
  8639. 'unsigned' => TRUE,
  8640. ),
  8641. 'field_text_plain_value' => array(
  8642. 'type' => 'varchar',
  8643. 'not null' => FALSE,
  8644. 'length' => '255',
  8645. ),
  8646. 'field_text_plain_format' => array(
  8647. 'type' => 'varchar',
  8648. 'not null' => FALSE,
  8649. 'length' => '255',
  8650. ),
  8651. ),
  8652. 'primary key' => array(
  8653. 'entity_type',
  8654. 'entity_id',
  8655. 'deleted',
  8656. 'delta',
  8657. 'language',
  8658. ),
  8659. 'indexes' => array(
  8660. 'entity_type' => array(
  8661. 'entity_type',
  8662. ),
  8663. 'bundle' => array(
  8664. 'bundle',
  8665. ),
  8666. 'deleted' => array(
  8667. 'deleted',
  8668. ),
  8669. 'entity_id' => array(
  8670. 'entity_id',
  8671. ),
  8672. 'revision_id' => array(
  8673. 'revision_id',
  8674. ),
  8675. 'language' => array(
  8676. 'language',
  8677. ),
  8678. 'field_text_plain_format' => array(
  8679. array(
  8680. 'field_text_plain_format',
  8681. '191',
  8682. ),
  8683. ),
  8684. ),
  8685. 'mysql_character_set' => 'utf8',
  8686. ));
  8687. $connection->insert('field_data_field_text_plain')
  8688. ->fields(array(
  8689. 'entity_type',
  8690. 'bundle',
  8691. 'deleted',
  8692. 'entity_id',
  8693. 'revision_id',
  8694. 'language',
  8695. 'delta',
  8696. 'field_text_plain_value',
  8697. 'field_text_plain_format',
  8698. ))
  8699. ->values(array(
  8700. 'entity_type' => 'node',
  8701. 'bundle' => 'article',
  8702. 'deleted' => '0',
  8703. 'entity_id' => '2',
  8704. 'revision_id' => '2',
  8705. 'language' => 'und',
  8706. 'delta' => '0',
  8707. 'field_text_plain_value' => 'Kai Opaka',
  8708. 'field_text_plain_format' => NULL,
  8709. ))
  8710. ->values(array(
  8711. 'entity_type' => 'node',
  8712. 'bundle' => 'article',
  8713. 'deleted' => '0',
  8714. 'entity_id' => '3',
  8715. 'revision_id' => '3',
  8716. 'language' => 'und',
  8717. 'delta' => '0',
  8718. 'field_text_plain_value' => 'Kai Opaka',
  8719. 'field_text_plain_format' => NULL,
  8720. ))
  8721. ->execute();
  8722. $connection->schema()->createTable('field_data_field_text_plain_filtered', array(
  8723. 'fields' => array(
  8724. 'entity_type' => array(
  8725. 'type' => 'varchar',
  8726. 'not null' => TRUE,
  8727. 'length' => '128',
  8728. 'default' => '',
  8729. ),
  8730. 'bundle' => array(
  8731. 'type' => 'varchar',
  8732. 'not null' => TRUE,
  8733. 'length' => '128',
  8734. 'default' => '',
  8735. ),
  8736. 'deleted' => array(
  8737. 'type' => 'int',
  8738. 'not null' => TRUE,
  8739. 'size' => 'tiny',
  8740. 'default' => '0',
  8741. ),
  8742. 'entity_id' => array(
  8743. 'type' => 'int',
  8744. 'not null' => TRUE,
  8745. 'size' => 'normal',
  8746. 'unsigned' => TRUE,
  8747. ),
  8748. 'revision_id' => array(
  8749. 'type' => 'int',
  8750. 'not null' => FALSE,
  8751. 'size' => 'normal',
  8752. 'unsigned' => TRUE,
  8753. ),
  8754. 'language' => array(
  8755. 'type' => 'varchar',
  8756. 'not null' => TRUE,
  8757. 'length' => '32',
  8758. 'default' => '',
  8759. ),
  8760. 'delta' => array(
  8761. 'type' => 'int',
  8762. 'not null' => TRUE,
  8763. 'size' => 'normal',
  8764. 'unsigned' => TRUE,
  8765. ),
  8766. 'field_text_plain_filtered_value' => array(
  8767. 'type' => 'varchar',
  8768. 'not null' => FALSE,
  8769. 'length' => '255',
  8770. ),
  8771. 'field_text_plain_filtered_format' => array(
  8772. 'type' => 'varchar',
  8773. 'not null' => FALSE,
  8774. 'length' => '255',
  8775. ),
  8776. ),
  8777. 'primary key' => array(
  8778. 'entity_type',
  8779. 'entity_id',
  8780. 'deleted',
  8781. 'delta',
  8782. 'language',
  8783. ),
  8784. 'indexes' => array(
  8785. 'entity_type' => array(
  8786. 'entity_type',
  8787. ),
  8788. 'bundle' => array(
  8789. 'bundle',
  8790. ),
  8791. 'deleted' => array(
  8792. 'deleted',
  8793. ),
  8794. 'entity_id' => array(
  8795. 'entity_id',
  8796. ),
  8797. 'revision_id' => array(
  8798. 'revision_id',
  8799. ),
  8800. 'language' => array(
  8801. 'language',
  8802. ),
  8803. 'field_text_plain_filtered_format' => array(
  8804. array(
  8805. 'field_text_plain_filtered_format',
  8806. '191',
  8807. ),
  8808. ),
  8809. ),
  8810. 'mysql_character_set' => 'utf8',
  8811. ));
  8812. $connection->schema()->createTable('field_data_field_text_sum_filtered', array(
  8813. 'fields' => array(
  8814. 'entity_type' => array(
  8815. 'type' => 'varchar',
  8816. 'not null' => TRUE,
  8817. 'length' => '128',
  8818. 'default' => '',
  8819. ),
  8820. 'bundle' => array(
  8821. 'type' => 'varchar',
  8822. 'not null' => TRUE,
  8823. 'length' => '128',
  8824. 'default' => '',
  8825. ),
  8826. 'deleted' => array(
  8827. 'type' => 'int',
  8828. 'not null' => TRUE,
  8829. 'size' => 'tiny',
  8830. 'default' => '0',
  8831. ),
  8832. 'entity_id' => array(
  8833. 'type' => 'int',
  8834. 'not null' => TRUE,
  8835. 'size' => 'normal',
  8836. 'unsigned' => TRUE,
  8837. ),
  8838. 'revision_id' => array(
  8839. 'type' => 'int',
  8840. 'not null' => FALSE,
  8841. 'size' => 'normal',
  8842. 'unsigned' => TRUE,
  8843. ),
  8844. 'language' => array(
  8845. 'type' => 'varchar',
  8846. 'not null' => TRUE,
  8847. 'length' => '32',
  8848. 'default' => '',
  8849. ),
  8850. 'delta' => array(
  8851. 'type' => 'int',
  8852. 'not null' => TRUE,
  8853. 'size' => 'normal',
  8854. 'unsigned' => TRUE,
  8855. ),
  8856. 'field_text_sum_filtered_value' => array(
  8857. 'type' => 'text',
  8858. 'not null' => FALSE,
  8859. 'size' => 'big',
  8860. ),
  8861. 'field_text_sum_filtered_summary' => array(
  8862. 'type' => 'text',
  8863. 'not null' => FALSE,
  8864. 'size' => 'big',
  8865. ),
  8866. 'field_text_sum_filtered_format' => array(
  8867. 'type' => 'varchar',
  8868. 'not null' => FALSE,
  8869. 'length' => '255',
  8870. ),
  8871. ),
  8872. 'primary key' => array(
  8873. 'entity_type',
  8874. 'entity_id',
  8875. 'deleted',
  8876. 'delta',
  8877. 'language',
  8878. ),
  8879. 'indexes' => array(
  8880. 'entity_type' => array(
  8881. 'entity_type',
  8882. ),
  8883. 'bundle' => array(
  8884. 'bundle',
  8885. ),
  8886. 'deleted' => array(
  8887. 'deleted',
  8888. ),
  8889. 'entity_id' => array(
  8890. 'entity_id',
  8891. ),
  8892. 'revision_id' => array(
  8893. 'revision_id',
  8894. ),
  8895. 'language' => array(
  8896. 'language',
  8897. ),
  8898. 'field_text_sum_filtered_format' => array(
  8899. array(
  8900. 'field_text_sum_filtered_format',
  8901. '191',
  8902. ),
  8903. ),
  8904. ),
  8905. 'mysql_character_set' => 'utf8',
  8906. ));
  8907. $connection->schema()->createTable('field_data_field_text_sum_plain', array(
  8908. 'fields' => array(
  8909. 'entity_type' => array(
  8910. 'type' => 'varchar',
  8911. 'not null' => TRUE,
  8912. 'length' => '128',
  8913. 'default' => '',
  8914. ),
  8915. 'bundle' => array(
  8916. 'type' => 'varchar',
  8917. 'not null' => TRUE,
  8918. 'length' => '128',
  8919. 'default' => '',
  8920. ),
  8921. 'deleted' => array(
  8922. 'type' => 'int',
  8923. 'not null' => TRUE,
  8924. 'size' => 'tiny',
  8925. 'default' => '0',
  8926. ),
  8927. 'entity_id' => array(
  8928. 'type' => 'int',
  8929. 'not null' => TRUE,
  8930. 'size' => 'normal',
  8931. 'unsigned' => TRUE,
  8932. ),
  8933. 'revision_id' => array(
  8934. 'type' => 'int',
  8935. 'not null' => FALSE,
  8936. 'size' => 'normal',
  8937. 'unsigned' => TRUE,
  8938. ),
  8939. 'language' => array(
  8940. 'type' => 'varchar',
  8941. 'not null' => TRUE,
  8942. 'length' => '32',
  8943. 'default' => '',
  8944. ),
  8945. 'delta' => array(
  8946. 'type' => 'int',
  8947. 'not null' => TRUE,
  8948. 'size' => 'normal',
  8949. 'unsigned' => TRUE,
  8950. ),
  8951. 'field_text_sum_plain_value' => array(
  8952. 'type' => 'text',
  8953. 'not null' => FALSE,
  8954. 'size' => 'big',
  8955. ),
  8956. 'field_text_sum_plain_summary' => array(
  8957. 'type' => 'text',
  8958. 'not null' => FALSE,
  8959. 'size' => 'big',
  8960. ),
  8961. 'field_text_sum_plain_format' => array(
  8962. 'type' => 'varchar',
  8963. 'not null' => FALSE,
  8964. 'length' => '255',
  8965. ),
  8966. ),
  8967. 'primary key' => array(
  8968. 'entity_type',
  8969. 'entity_id',
  8970. 'deleted',
  8971. 'delta',
  8972. 'language',
  8973. ),
  8974. 'indexes' => array(
  8975. 'entity_type' => array(
  8976. 'entity_type',
  8977. ),
  8978. 'bundle' => array(
  8979. 'bundle',
  8980. ),
  8981. 'deleted' => array(
  8982. 'deleted',
  8983. ),
  8984. 'entity_id' => array(
  8985. 'entity_id',
  8986. ),
  8987. 'revision_id' => array(
  8988. 'revision_id',
  8989. ),
  8990. 'language' => array(
  8991. 'language',
  8992. ),
  8993. 'field_text_sum_plain_format' => array(
  8994. array(
  8995. 'field_text_sum_plain_format',
  8996. '191',
  8997. ),
  8998. ),
  8999. ),
  9000. 'mysql_character_set' => 'utf8',
  9001. ));
  9002. $connection->schema()->createTable('field_data_field_text_sum_plain_filtered', array(
  9003. 'fields' => array(
  9004. 'entity_type' => array(
  9005. 'type' => 'varchar',
  9006. 'not null' => TRUE,
  9007. 'length' => '128',
  9008. 'default' => '',
  9009. ),
  9010. 'bundle' => array(
  9011. 'type' => 'varchar',
  9012. 'not null' => TRUE,
  9013. 'length' => '128',
  9014. 'default' => '',
  9015. ),
  9016. 'deleted' => array(
  9017. 'type' => 'int',
  9018. 'not null' => TRUE,
  9019. 'size' => 'tiny',
  9020. 'default' => '0',
  9021. ),
  9022. 'entity_id' => array(
  9023. 'type' => 'int',
  9024. 'not null' => TRUE,
  9025. 'size' => 'normal',
  9026. 'unsigned' => TRUE,
  9027. ),
  9028. 'revision_id' => array(
  9029. 'type' => 'int',
  9030. 'not null' => FALSE,
  9031. 'size' => 'normal',
  9032. 'unsigned' => TRUE,
  9033. ),
  9034. 'language' => array(
  9035. 'type' => 'varchar',
  9036. 'not null' => TRUE,
  9037. 'length' => '32',
  9038. 'default' => '',
  9039. ),
  9040. 'delta' => array(
  9041. 'type' => 'int',
  9042. 'not null' => TRUE,
  9043. 'size' => 'normal',
  9044. 'unsigned' => TRUE,
  9045. ),
  9046. 'field_text_sum_plain_filtered_value' => array(
  9047. 'type' => 'text',
  9048. 'not null' => FALSE,
  9049. 'size' => 'big',
  9050. ),
  9051. 'field_text_sum_plain_filtered_summary' => array(
  9052. 'type' => 'text',
  9053. 'not null' => FALSE,
  9054. 'size' => 'big',
  9055. ),
  9056. 'field_text_sum_plain_filtered_format' => array(
  9057. 'type' => 'varchar',
  9058. 'not null' => FALSE,
  9059. 'length' => '255',
  9060. ),
  9061. ),
  9062. 'primary key' => array(
  9063. 'entity_type',
  9064. 'entity_id',
  9065. 'deleted',
  9066. 'delta',
  9067. 'language',
  9068. ),
  9069. 'indexes' => array(
  9070. 'entity_type' => array(
  9071. 'entity_type',
  9072. ),
  9073. 'bundle' => array(
  9074. 'bundle',
  9075. ),
  9076. 'deleted' => array(
  9077. 'deleted',
  9078. ),
  9079. 'entity_id' => array(
  9080. 'entity_id',
  9081. ),
  9082. 'revision_id' => array(
  9083. 'revision_id',
  9084. ),
  9085. 'language' => array(
  9086. 'language',
  9087. ),
  9088. 'field_text_sum_plain_filtered_format' => array(
  9089. array(
  9090. 'field_text_sum_plain_filtered_format',
  9091. '191',
  9092. ),
  9093. ),
  9094. ),
  9095. 'mysql_character_set' => 'utf8',
  9096. ));
  9097. $connection->schema()->createTable('field_data_field_user_entityreference', array(
  9098. 'fields' => array(
  9099. 'entity_type' => array(
  9100. 'type' => 'varchar',
  9101. 'not null' => TRUE,
  9102. 'length' => '128',
  9103. 'default' => '',
  9104. ),
  9105. 'bundle' => array(
  9106. 'type' => 'varchar',
  9107. 'not null' => TRUE,
  9108. 'length' => '128',
  9109. 'default' => '',
  9110. ),
  9111. 'deleted' => array(
  9112. 'type' => 'int',
  9113. 'not null' => TRUE,
  9114. 'size' => 'tiny',
  9115. 'default' => '0',
  9116. ),
  9117. 'entity_id' => array(
  9118. 'type' => 'int',
  9119. 'not null' => TRUE,
  9120. 'size' => 'normal',
  9121. 'unsigned' => TRUE,
  9122. ),
  9123. 'revision_id' => array(
  9124. 'type' => 'int',
  9125. 'not null' => FALSE,
  9126. 'size' => 'normal',
  9127. 'unsigned' => TRUE,
  9128. ),
  9129. 'language' => array(
  9130. 'type' => 'varchar',
  9131. 'not null' => TRUE,
  9132. 'length' => '32',
  9133. 'default' => '',
  9134. ),
  9135. 'delta' => array(
  9136. 'type' => 'int',
  9137. 'not null' => TRUE,
  9138. 'size' => 'normal',
  9139. 'unsigned' => TRUE,
  9140. ),
  9141. 'field_user_entityreference_target_id' => array(
  9142. 'type' => 'int',
  9143. 'not null' => TRUE,
  9144. 'size' => 'normal',
  9145. 'unsigned' => TRUE,
  9146. ),
  9147. ),
  9148. 'primary key' => array(
  9149. 'entity_type',
  9150. 'entity_id',
  9151. 'deleted',
  9152. 'delta',
  9153. 'language',
  9154. ),
  9155. 'indexes' => array(
  9156. 'entity_type' => array(
  9157. 'entity_type',
  9158. ),
  9159. 'bundle' => array(
  9160. 'bundle',
  9161. ),
  9162. 'deleted' => array(
  9163. 'deleted',
  9164. ),
  9165. 'entity_id' => array(
  9166. 'entity_id',
  9167. ),
  9168. 'revision_id' => array(
  9169. 'revision_id',
  9170. ),
  9171. 'language' => array(
  9172. 'language',
  9173. ),
  9174. 'field_user_entityreference_target_id' => array(
  9175. 'field_user_entityreference_target_id',
  9176. ),
  9177. ),
  9178. 'mysql_character_set' => 'utf8',
  9179. ));
  9180. $connection->insert('field_data_field_user_entityreference')
  9181. ->fields(array(
  9182. 'entity_type',
  9183. 'bundle',
  9184. 'deleted',
  9185. 'entity_id',
  9186. 'revision_id',
  9187. 'language',
  9188. 'delta',
  9189. 'field_user_entityreference_target_id',
  9190. ))
  9191. ->values(array(
  9192. 'entity_type' => 'node',
  9193. 'bundle' => 'test_content_type',
  9194. 'deleted' => '0',
  9195. 'entity_id' => '1',
  9196. 'revision_id' => '1',
  9197. 'language' => 'und',
  9198. 'delta' => '0',
  9199. 'field_user_entityreference_target_id' => '2',
  9200. ))
  9201. ->execute();
  9202. $connection->schema()->createTable('field_data_field_vocab_fixed', array(
  9203. 'fields' => array(
  9204. 'entity_type' => array(
  9205. 'type' => 'varchar',
  9206. 'not null' => TRUE,
  9207. 'length' => '128',
  9208. 'default' => '',
  9209. ),
  9210. 'bundle' => array(
  9211. 'type' => 'varchar',
  9212. 'not null' => TRUE,
  9213. 'length' => '128',
  9214. 'default' => '',
  9215. ),
  9216. 'deleted' => array(
  9217. 'type' => 'int',
  9218. 'not null' => TRUE,
  9219. 'size' => 'tiny',
  9220. 'default' => '0',
  9221. ),
  9222. 'entity_id' => array(
  9223. 'type' => 'int',
  9224. 'not null' => TRUE,
  9225. 'size' => 'normal',
  9226. 'unsigned' => TRUE,
  9227. ),
  9228. 'revision_id' => array(
  9229. 'type' => 'int',
  9230. 'not null' => FALSE,
  9231. 'size' => 'normal',
  9232. 'unsigned' => TRUE,
  9233. ),
  9234. 'language' => array(
  9235. 'type' => 'varchar',
  9236. 'not null' => TRUE,
  9237. 'length' => '32',
  9238. 'default' => '',
  9239. ),
  9240. 'delta' => array(
  9241. 'type' => 'int',
  9242. 'not null' => TRUE,
  9243. 'size' => 'normal',
  9244. 'unsigned' => TRUE,
  9245. ),
  9246. 'field_vocab_fixed_tid' => array(
  9247. 'type' => 'int',
  9248. 'not null' => FALSE,
  9249. 'size' => 'normal',
  9250. 'unsigned' => TRUE,
  9251. ),
  9252. ),
  9253. 'primary key' => array(
  9254. 'entity_type',
  9255. 'entity_id',
  9256. 'deleted',
  9257. 'delta',
  9258. 'language',
  9259. ),
  9260. 'indexes' => array(
  9261. 'entity_type' => array(
  9262. 'entity_type',
  9263. ),
  9264. 'bundle' => array(
  9265. 'bundle',
  9266. ),
  9267. 'deleted' => array(
  9268. 'deleted',
  9269. ),
  9270. 'entity_id' => array(
  9271. 'entity_id',
  9272. ),
  9273. 'revision_id' => array(
  9274. 'revision_id',
  9275. ),
  9276. 'language' => array(
  9277. 'language',
  9278. ),
  9279. 'field_vocab_fixed_tid' => array(
  9280. 'field_vocab_fixed_tid',
  9281. ),
  9282. ),
  9283. 'mysql_character_set' => 'utf8',
  9284. ));
  9285. $connection->insert('field_data_field_vocab_fixed')
  9286. ->fields(array(
  9287. 'entity_type',
  9288. 'bundle',
  9289. 'deleted',
  9290. 'entity_id',
  9291. 'revision_id',
  9292. 'language',
  9293. 'delta',
  9294. 'field_vocab_fixed_tid',
  9295. ))
  9296. ->values(array(
  9297. 'entity_type' => 'node',
  9298. 'bundle' => 'article',
  9299. 'deleted' => '0',
  9300. 'entity_id' => '2',
  9301. 'revision_id' => '2',
  9302. 'language' => 'und',
  9303. 'delta' => '0',
  9304. 'field_vocab_fixed_tid' => '24',
  9305. ))
  9306. ->execute();
  9307. $connection->schema()->createTable('field_data_field_vocab_localize', array(
  9308. 'fields' => array(
  9309. 'entity_type' => array(
  9310. 'type' => 'varchar',
  9311. 'not null' => TRUE,
  9312. 'length' => '128',
  9313. 'default' => '',
  9314. ),
  9315. 'bundle' => array(
  9316. 'type' => 'varchar',
  9317. 'not null' => TRUE,
  9318. 'length' => '128',
  9319. 'default' => '',
  9320. ),
  9321. 'deleted' => array(
  9322. 'type' => 'int',
  9323. 'not null' => TRUE,
  9324. 'size' => 'tiny',
  9325. 'default' => '0',
  9326. ),
  9327. 'entity_id' => array(
  9328. 'type' => 'int',
  9329. 'not null' => TRUE,
  9330. 'size' => 'normal',
  9331. 'unsigned' => TRUE,
  9332. ),
  9333. 'revision_id' => array(
  9334. 'type' => 'int',
  9335. 'not null' => FALSE,
  9336. 'size' => 'normal',
  9337. 'unsigned' => TRUE,
  9338. ),
  9339. 'language' => array(
  9340. 'type' => 'varchar',
  9341. 'not null' => TRUE,
  9342. 'length' => '32',
  9343. 'default' => '',
  9344. ),
  9345. 'delta' => array(
  9346. 'type' => 'int',
  9347. 'not null' => TRUE,
  9348. 'size' => 'normal',
  9349. 'unsigned' => TRUE,
  9350. ),
  9351. 'field_vocab_localize_tid' => array(
  9352. 'type' => 'int',
  9353. 'not null' => FALSE,
  9354. 'size' => 'normal',
  9355. 'unsigned' => TRUE,
  9356. ),
  9357. ),
  9358. 'primary key' => array(
  9359. 'entity_type',
  9360. 'entity_id',
  9361. 'deleted',
  9362. 'delta',
  9363. 'language',
  9364. ),
  9365. 'indexes' => array(
  9366. 'entity_type' => array(
  9367. 'entity_type',
  9368. ),
  9369. 'bundle' => array(
  9370. 'bundle',
  9371. ),
  9372. 'deleted' => array(
  9373. 'deleted',
  9374. ),
  9375. 'entity_id' => array(
  9376. 'entity_id',
  9377. ),
  9378. 'revision_id' => array(
  9379. 'revision_id',
  9380. ),
  9381. 'language' => array(
  9382. 'language',
  9383. ),
  9384. 'field_vocab_localize_tid' => array(
  9385. 'field_vocab_localize_tid',
  9386. ),
  9387. ),
  9388. 'mysql_character_set' => 'utf8',
  9389. ));
  9390. $connection->insert('field_data_field_vocab_localize')
  9391. ->fields(array(
  9392. 'entity_type',
  9393. 'bundle',
  9394. 'deleted',
  9395. 'entity_id',
  9396. 'revision_id',
  9397. 'language',
  9398. 'delta',
  9399. 'field_vocab_localize_tid',
  9400. ))
  9401. ->values(array(
  9402. 'entity_type' => 'node',
  9403. 'bundle' => 'article',
  9404. 'deleted' => '0',
  9405. 'entity_id' => '2',
  9406. 'revision_id' => '2',
  9407. 'language' => 'und',
  9408. 'delta' => '0',
  9409. 'field_vocab_localize_tid' => '20',
  9410. ))
  9411. ->values(array(
  9412. 'entity_type' => 'node',
  9413. 'bundle' => 'article',
  9414. 'deleted' => '0',
  9415. 'entity_id' => '3',
  9416. 'revision_id' => '3',
  9417. 'language' => 'und',
  9418. 'delta' => '0',
  9419. 'field_vocab_localize_tid' => '20',
  9420. ))
  9421. ->execute();
  9422. $connection->schema()->createTable('field_data_field_vocab_translate', array(
  9423. 'fields' => array(
  9424. 'entity_type' => array(
  9425. 'type' => 'varchar',
  9426. 'not null' => TRUE,
  9427. 'length' => '128',
  9428. 'default' => '',
  9429. ),
  9430. 'bundle' => array(
  9431. 'type' => 'varchar',
  9432. 'not null' => TRUE,
  9433. 'length' => '128',
  9434. 'default' => '',
  9435. ),
  9436. 'deleted' => array(
  9437. 'type' => 'int',
  9438. 'not null' => TRUE,
  9439. 'size' => 'tiny',
  9440. 'default' => '0',
  9441. ),
  9442. 'entity_id' => array(
  9443. 'type' => 'int',
  9444. 'not null' => TRUE,
  9445. 'size' => 'normal',
  9446. 'unsigned' => TRUE,
  9447. ),
  9448. 'revision_id' => array(
  9449. 'type' => 'int',
  9450. 'not null' => FALSE,
  9451. 'size' => 'normal',
  9452. 'unsigned' => TRUE,
  9453. ),
  9454. 'language' => array(
  9455. 'type' => 'varchar',
  9456. 'not null' => TRUE,
  9457. 'length' => '32',
  9458. 'default' => '',
  9459. ),
  9460. 'delta' => array(
  9461. 'type' => 'int',
  9462. 'not null' => TRUE,
  9463. 'size' => 'normal',
  9464. 'unsigned' => TRUE,
  9465. ),
  9466. 'field_vocab_translate_tid' => array(
  9467. 'type' => 'int',
  9468. 'not null' => FALSE,
  9469. 'size' => 'normal',
  9470. 'unsigned' => TRUE,
  9471. ),
  9472. ),
  9473. 'primary key' => array(
  9474. 'entity_type',
  9475. 'entity_id',
  9476. 'deleted',
  9477. 'delta',
  9478. 'language',
  9479. ),
  9480. 'indexes' => array(
  9481. 'entity_type' => array(
  9482. 'entity_type',
  9483. ),
  9484. 'bundle' => array(
  9485. 'bundle',
  9486. ),
  9487. 'deleted' => array(
  9488. 'deleted',
  9489. ),
  9490. 'entity_id' => array(
  9491. 'entity_id',
  9492. ),
  9493. 'revision_id' => array(
  9494. 'revision_id',
  9495. ),
  9496. 'language' => array(
  9497. 'language',
  9498. ),
  9499. 'field_vocab_translate_tid' => array(
  9500. 'field_vocab_translate_tid',
  9501. ),
  9502. ),
  9503. 'mysql_character_set' => 'utf8',
  9504. ));
  9505. $connection->insert('field_data_field_vocab_translate')
  9506. ->fields(array(
  9507. 'entity_type',
  9508. 'bundle',
  9509. 'deleted',
  9510. 'entity_id',
  9511. 'revision_id',
  9512. 'language',
  9513. 'delta',
  9514. 'field_vocab_translate_tid',
  9515. ))
  9516. ->values(array(
  9517. 'entity_type' => 'node',
  9518. 'bundle' => 'article',
  9519. 'deleted' => '0',
  9520. 'entity_id' => '2',
  9521. 'revision_id' => '2',
  9522. 'language' => 'und',
  9523. 'delta' => '0',
  9524. 'field_vocab_translate_tid' => '21',
  9525. ))
  9526. ->values(array(
  9527. 'entity_type' => 'node',
  9528. 'bundle' => 'article',
  9529. 'deleted' => '0',
  9530. 'entity_id' => '3',
  9531. 'revision_id' => '3',
  9532. 'language' => 'und',
  9533. 'delta' => '0',
  9534. 'field_vocab_translate_tid' => '23',
  9535. ))
  9536. ->execute();
  9537. $connection->schema()->createTable('field_data_name_field', array(
  9538. 'fields' => array(
  9539. 'entity_type' => array(
  9540. 'type' => 'varchar',
  9541. 'not null' => TRUE,
  9542. 'length' => '128',
  9543. 'default' => '',
  9544. ),
  9545. 'bundle' => array(
  9546. 'type' => 'varchar',
  9547. 'not null' => TRUE,
  9548. 'length' => '128',
  9549. 'default' => '',
  9550. ),
  9551. 'deleted' => array(
  9552. 'type' => 'int',
  9553. 'not null' => TRUE,
  9554. 'size' => 'tiny',
  9555. 'default' => '0',
  9556. ),
  9557. 'entity_id' => array(
  9558. 'type' => 'int',
  9559. 'not null' => TRUE,
  9560. 'size' => 'normal',
  9561. 'unsigned' => TRUE,
  9562. ),
  9563. 'revision_id' => array(
  9564. 'type' => 'int',
  9565. 'not null' => FALSE,
  9566. 'size' => 'normal',
  9567. 'unsigned' => TRUE,
  9568. ),
  9569. 'language' => array(
  9570. 'type' => 'varchar',
  9571. 'not null' => TRUE,
  9572. 'length' => '32',
  9573. 'default' => '',
  9574. ),
  9575. 'delta' => array(
  9576. 'type' => 'int',
  9577. 'not null' => TRUE,
  9578. 'size' => 'normal',
  9579. 'unsigned' => TRUE,
  9580. ),
  9581. 'name_field_value' => array(
  9582. 'type' => 'varchar',
  9583. 'not null' => FALSE,
  9584. 'length' => '255',
  9585. ),
  9586. 'name_field_format' => array(
  9587. 'type' => 'varchar',
  9588. 'not null' => FALSE,
  9589. 'length' => '255',
  9590. ),
  9591. ),
  9592. 'primary key' => array(
  9593. 'entity_type',
  9594. 'entity_id',
  9595. 'deleted',
  9596. 'delta',
  9597. 'language',
  9598. ),
  9599. 'indexes' => array(
  9600. 'entity_type' => array(
  9601. 'entity_type',
  9602. ),
  9603. 'bundle' => array(
  9604. 'bundle',
  9605. ),
  9606. 'deleted' => array(
  9607. 'deleted',
  9608. ),
  9609. 'entity_id' => array(
  9610. 'entity_id',
  9611. ),
  9612. 'revision_id' => array(
  9613. 'revision_id',
  9614. ),
  9615. 'language' => array(
  9616. 'language',
  9617. ),
  9618. 'name_field_format' => array(
  9619. array(
  9620. 'name_field_format',
  9621. '191',
  9622. ),
  9623. ),
  9624. ),
  9625. 'mysql_character_set' => 'utf8',
  9626. ));
  9627. $connection->insert('field_data_name_field')
  9628. ->fields(array(
  9629. 'entity_type',
  9630. 'bundle',
  9631. 'deleted',
  9632. 'entity_id',
  9633. 'revision_id',
  9634. 'language',
  9635. 'delta',
  9636. 'name_field_value',
  9637. 'name_field_format',
  9638. ))
  9639. ->values(array(
  9640. 'entity_type' => 'taxonomy_term',
  9641. 'bundle' => 'test_vocabulary',
  9642. 'deleted' => '0',
  9643. 'entity_id' => '2',
  9644. 'revision_id' => '2',
  9645. 'language' => 'en',
  9646. 'delta' => '0',
  9647. 'name_field_value' => 'Term1 (This is a real field!)',
  9648. 'name_field_format' => NULL,
  9649. ))
  9650. ->values(array(
  9651. 'entity_type' => 'taxonomy_term',
  9652. 'bundle' => 'test_vocabulary',
  9653. 'deleted' => '0',
  9654. 'entity_id' => '3',
  9655. 'revision_id' => '3',
  9656. 'language' => 'en',
  9657. 'delta' => '0',
  9658. 'name_field_value' => 'Term2',
  9659. 'name_field_format' => NULL,
  9660. ))
  9661. ->values(array(
  9662. 'entity_type' => 'taxonomy_term',
  9663. 'bundle' => 'test_vocabulary',
  9664. 'deleted' => '0',
  9665. 'entity_id' => '4',
  9666. 'revision_id' => '4',
  9667. 'language' => 'en',
  9668. 'delta' => '0',
  9669. 'name_field_value' => 'Term3 in plain old English',
  9670. 'name_field_format' => NULL,
  9671. ))
  9672. ->values(array(
  9673. 'entity_type' => 'taxonomy_term',
  9674. 'bundle' => 'test_vocabulary',
  9675. 'deleted' => '0',
  9676. 'entity_id' => '4',
  9677. 'revision_id' => '4',
  9678. 'language' => 'fr',
  9679. 'delta' => '0',
  9680. 'name_field_value' => "Term3 en français s'il vous plaît",
  9681. 'name_field_format' => NULL,
  9682. ))
  9683. ->values(array(
  9684. 'entity_type' => 'taxonomy_term',
  9685. 'bundle' => 'test_vocabulary',
  9686. 'deleted' => '0',
  9687. 'entity_id' => '4',
  9688. 'revision_id' => '4',
  9689. 'language' => 'is',
  9690. 'delta' => '0',
  9691. 'name_field_value' => 'Term3 á íslensku',
  9692. 'name_field_format' => NULL,
  9693. ))
  9694. ->execute();
  9695. $connection->schema()->createTable('field_data_subject_field', array(
  9696. 'fields' => array(
  9697. 'entity_type' => array(
  9698. 'type' => 'varchar',
  9699. 'not null' => TRUE,
  9700. 'length' => '128',
  9701. 'default' => '',
  9702. ),
  9703. 'bundle' => array(
  9704. 'type' => 'varchar',
  9705. 'not null' => TRUE,
  9706. 'length' => '128',
  9707. 'default' => '',
  9708. ),
  9709. 'deleted' => array(
  9710. 'type' => 'int',
  9711. 'not null' => TRUE,
  9712. 'size' => 'tiny',
  9713. 'default' => '0',
  9714. ),
  9715. 'entity_id' => array(
  9716. 'type' => 'int',
  9717. 'not null' => TRUE,
  9718. 'size' => 'normal',
  9719. 'unsigned' => TRUE,
  9720. ),
  9721. 'revision_id' => array(
  9722. 'type' => 'int',
  9723. 'not null' => FALSE,
  9724. 'size' => 'normal',
  9725. 'unsigned' => TRUE,
  9726. ),
  9727. 'language' => array(
  9728. 'type' => 'varchar',
  9729. 'not null' => TRUE,
  9730. 'length' => '32',
  9731. 'default' => '',
  9732. ),
  9733. 'delta' => array(
  9734. 'type' => 'int',
  9735. 'not null' => TRUE,
  9736. 'size' => 'normal',
  9737. 'unsigned' => TRUE,
  9738. ),
  9739. 'subject_field_value' => array(
  9740. 'type' => 'varchar',
  9741. 'not null' => FALSE,
  9742. 'length' => '255',
  9743. ),
  9744. 'subject_field_format' => array(
  9745. 'type' => 'varchar',
  9746. 'not null' => FALSE,
  9747. 'length' => '255',
  9748. ),
  9749. ),
  9750. 'primary key' => array(
  9751. 'entity_type',
  9752. 'entity_id',
  9753. 'deleted',
  9754. 'delta',
  9755. 'language',
  9756. ),
  9757. 'indexes' => array(
  9758. 'entity_type' => array(
  9759. 'entity_type',
  9760. ),
  9761. 'bundle' => array(
  9762. 'bundle',
  9763. ),
  9764. 'deleted' => array(
  9765. 'deleted',
  9766. ),
  9767. 'entity_id' => array(
  9768. 'entity_id',
  9769. ),
  9770. 'revision_id' => array(
  9771. 'revision_id',
  9772. ),
  9773. 'language' => array(
  9774. 'language',
  9775. ),
  9776. 'subject_field_format' => array(
  9777. array(
  9778. 'subject_field_format',
  9779. '191',
  9780. ),
  9781. ),
  9782. ),
  9783. 'mysql_character_set' => 'utf8',
  9784. ));
  9785. $connection->insert('field_data_subject_field')
  9786. ->fields(array(
  9787. 'entity_type',
  9788. 'bundle',
  9789. 'deleted',
  9790. 'entity_id',
  9791. 'revision_id',
  9792. 'language',
  9793. 'delta',
  9794. 'subject_field_value',
  9795. 'subject_field_format',
  9796. ))
  9797. ->values(array(
  9798. 'entity_type' => 'comment',
  9799. 'bundle' => 'comment_node_test_content_type',
  9800. 'deleted' => '0',
  9801. 'entity_id' => '1',
  9802. 'revision_id' => '1',
  9803. 'language' => 'en',
  9804. 'delta' => '0',
  9805. 'subject_field_value' => 'Subject field in English',
  9806. 'subject_field_format' => NULL,
  9807. ))
  9808. ->values(array(
  9809. 'entity_type' => 'comment',
  9810. 'bundle' => 'comment_node_test_content_type',
  9811. 'deleted' => '0',
  9812. 'entity_id' => '1',
  9813. 'revision_id' => '1',
  9814. 'language' => 'fr',
  9815. 'delta' => '0',
  9816. 'subject_field_value' => 'Subject field in French',
  9817. 'subject_field_format' => NULL,
  9818. ))
  9819. ->values(array(
  9820. 'entity_type' => 'comment',
  9821. 'bundle' => 'comment_node_test_content_type',
  9822. 'deleted' => '0',
  9823. 'entity_id' => '1',
  9824. 'revision_id' => '1',
  9825. 'language' => 'is',
  9826. 'delta' => '0',
  9827. 'subject_field_value' => 'Subject field in Icelandic',
  9828. 'subject_field_format' => NULL,
  9829. ))
  9830. ->values(array(
  9831. 'entity_type' => 'comment',
  9832. 'bundle' => 'comment_node_article',
  9833. 'deleted' => '0',
  9834. 'entity_id' => '2',
  9835. 'revision_id' => '2',
  9836. 'language' => 'en',
  9837. 'delta' => '0',
  9838. 'subject_field_value' => 'TNG for the win!',
  9839. 'subject_field_format' => NULL,
  9840. ))
  9841. ->values(array(
  9842. 'entity_type' => 'comment',
  9843. 'bundle' => 'comment_node_article',
  9844. 'deleted' => '0',
  9845. 'entity_id' => '3',
  9846. 'revision_id' => '3',
  9847. 'language' => 'is',
  9848. 'delta' => '0',
  9849. 'subject_field_value' => 'Comment to IS translation',
  9850. 'subject_field_format' => NULL,
  9851. ))
  9852. ->values(array(
  9853. 'entity_type' => 'comment',
  9854. 'bundle' => 'comment_node_test_content_type',
  9855. 'deleted' => '0',
  9856. 'entity_id' => '4',
  9857. 'revision_id' => '4',
  9858. 'language' => 'en',
  9859. 'delta' => '0',
  9860. 'subject_field_value' => 'Comment without language',
  9861. 'subject_field_format' => NULL,
  9862. ))
  9863. ->execute();
  9864. $connection->schema()->createTable('field_data_taxonomy_forums', array(
  9865. 'fields' => array(
  9866. 'entity_type' => array(
  9867. 'type' => 'varchar',
  9868. 'not null' => TRUE,
  9869. 'length' => '128',
  9870. 'default' => '',
  9871. ),
  9872. 'bundle' => array(
  9873. 'type' => 'varchar',
  9874. 'not null' => TRUE,
  9875. 'length' => '128',
  9876. 'default' => '',
  9877. ),
  9878. 'deleted' => array(
  9879. 'type' => 'int',
  9880. 'not null' => TRUE,
  9881. 'size' => 'normal',
  9882. 'default' => '0',
  9883. ),
  9884. 'entity_id' => array(
  9885. 'type' => 'int',
  9886. 'not null' => TRUE,
  9887. 'size' => 'normal',
  9888. 'unsigned' => TRUE,
  9889. ),
  9890. 'revision_id' => array(
  9891. 'type' => 'int',
  9892. 'not null' => FALSE,
  9893. 'size' => 'normal',
  9894. 'unsigned' => TRUE,
  9895. ),
  9896. 'language' => array(
  9897. 'type' => 'varchar',
  9898. 'not null' => TRUE,
  9899. 'length' => '32',
  9900. 'default' => '',
  9901. ),
  9902. 'delta' => array(
  9903. 'type' => 'int',
  9904. 'not null' => TRUE,
  9905. 'size' => 'normal',
  9906. 'unsigned' => TRUE,
  9907. ),
  9908. 'taxonomy_forums_tid' => array(
  9909. 'type' => 'int',
  9910. 'not null' => FALSE,
  9911. 'size' => 'normal',
  9912. 'unsigned' => TRUE,
  9913. ),
  9914. ),
  9915. 'primary key' => array(
  9916. 'entity_type',
  9917. 'deleted',
  9918. 'entity_id',
  9919. 'language',
  9920. 'delta',
  9921. ),
  9922. 'mysql_character_set' => 'utf8',
  9923. ));
  9924. $connection->insert('field_data_taxonomy_forums')
  9925. ->fields(array(
  9926. 'entity_type',
  9927. 'bundle',
  9928. 'deleted',
  9929. 'entity_id',
  9930. 'revision_id',
  9931. 'language',
  9932. 'delta',
  9933. 'taxonomy_forums_tid',
  9934. ))
  9935. ->values(array(
  9936. 'entity_type' => 'node',
  9937. 'bundle' => 'forum',
  9938. 'deleted' => '0',
  9939. 'entity_id' => '6',
  9940. 'revision_id' => '6',
  9941. 'language' => 'und',
  9942. 'delta' => '0',
  9943. 'taxonomy_forums_tid' => '1',
  9944. ))
  9945. ->values(array(
  9946. 'entity_type' => 'node',
  9947. 'bundle' => 'forum',
  9948. 'deleted' => '0',
  9949. 'entity_id' => '7',
  9950. 'revision_id' => '7',
  9951. 'language' => 'und',
  9952. 'delta' => '0',
  9953. 'taxonomy_forums_tid' => '1',
  9954. ))
  9955. ->execute();
  9956. $connection->schema()->createTable('field_data_title_field', array(
  9957. 'fields' => array(
  9958. 'entity_type' => array(
  9959. 'type' => 'varchar',
  9960. 'not null' => TRUE,
  9961. 'length' => '128',
  9962. 'default' => '',
  9963. ),
  9964. 'bundle' => array(
  9965. 'type' => 'varchar',
  9966. 'not null' => TRUE,
  9967. 'length' => '128',
  9968. 'default' => '',
  9969. ),
  9970. 'deleted' => array(
  9971. 'type' => 'int',
  9972. 'not null' => TRUE,
  9973. 'size' => 'tiny',
  9974. 'default' => '0',
  9975. ),
  9976. 'entity_id' => array(
  9977. 'type' => 'int',
  9978. 'not null' => TRUE,
  9979. 'size' => 'normal',
  9980. 'unsigned' => TRUE,
  9981. ),
  9982. 'revision_id' => array(
  9983. 'type' => 'int',
  9984. 'not null' => FALSE,
  9985. 'size' => 'normal',
  9986. 'unsigned' => TRUE,
  9987. ),
  9988. 'language' => array(
  9989. 'type' => 'varchar',
  9990. 'not null' => TRUE,
  9991. 'length' => '32',
  9992. 'default' => '',
  9993. ),
  9994. 'delta' => array(
  9995. 'type' => 'int',
  9996. 'not null' => TRUE,
  9997. 'size' => 'normal',
  9998. 'unsigned' => TRUE,
  9999. ),
  10000. 'title_field_value' => array(
  10001. 'type' => 'varchar',
  10002. 'not null' => FALSE,
  10003. 'length' => '255',
  10004. ),
  10005. 'title_field_format' => array(
  10006. 'type' => 'varchar',
  10007. 'not null' => FALSE,
  10008. 'length' => '255',
  10009. ),
  10010. ),
  10011. 'primary key' => array(
  10012. 'entity_type',
  10013. 'entity_id',
  10014. 'deleted',
  10015. 'delta',
  10016. 'language',
  10017. ),
  10018. 'indexes' => array(
  10019. 'entity_type' => array(
  10020. 'entity_type',
  10021. ),
  10022. 'bundle' => array(
  10023. 'bundle',
  10024. ),
  10025. 'deleted' => array(
  10026. 'deleted',
  10027. ),
  10028. 'entity_id' => array(
  10029. 'entity_id',
  10030. ),
  10031. 'revision_id' => array(
  10032. 'revision_id',
  10033. ),
  10034. 'language' => array(
  10035. 'language',
  10036. ),
  10037. 'title_field_format' => array(
  10038. array(
  10039. 'title_field_format',
  10040. '191',
  10041. ),
  10042. ),
  10043. ),
  10044. 'mysql_character_set' => 'utf8',
  10045. ));
  10046. $connection->insert('field_data_title_field')
  10047. ->fields(array(
  10048. 'entity_type',
  10049. 'bundle',
  10050. 'deleted',
  10051. 'entity_id',
  10052. 'revision_id',
  10053. 'language',
  10054. 'delta',
  10055. 'title_field_value',
  10056. 'title_field_format',
  10057. ))
  10058. ->values(array(
  10059. 'entity_type' => 'node',
  10060. 'bundle' => 'test_content_type',
  10061. 'deleted' => '0',
  10062. 'entity_id' => '1',
  10063. 'revision_id' => '1',
  10064. 'language' => 'en',
  10065. 'delta' => '0',
  10066. 'title_field_value' => 'An English Node',
  10067. 'title_field_format' => NULL,
  10068. ))
  10069. ->values(array(
  10070. 'entity_type' => 'node',
  10071. 'bundle' => 'test_content_type',
  10072. 'deleted' => '0',
  10073. 'entity_id' => '1',
  10074. 'revision_id' => '1',
  10075. 'language' => 'fr',
  10076. 'delta' => '0',
  10077. 'title_field_value' => 'A French Node',
  10078. 'title_field_format' => NULL,
  10079. ))
  10080. ->values(array(
  10081. 'entity_type' => 'node',
  10082. 'bundle' => 'test_content_type',
  10083. 'deleted' => '0',
  10084. 'entity_id' => '1',
  10085. 'revision_id' => '1',
  10086. 'language' => 'is',
  10087. 'delta' => '0',
  10088. 'title_field_value' => 'An Icelandic Node',
  10089. 'title_field_format' => NULL,
  10090. ))
  10091. ->execute();
  10092. $connection->schema()->createTable('field_revision_body', array(
  10093. 'fields' => array(
  10094. 'entity_type' => array(
  10095. 'type' => 'varchar',
  10096. 'not null' => TRUE,
  10097. 'length' => '128',
  10098. 'default' => '',
  10099. ),
  10100. 'bundle' => array(
  10101. 'type' => 'varchar',
  10102. 'not null' => TRUE,
  10103. 'length' => '128',
  10104. 'default' => '',
  10105. ),
  10106. 'deleted' => array(
  10107. 'type' => 'int',
  10108. 'not null' => TRUE,
  10109. 'size' => 'normal',
  10110. 'default' => '0',
  10111. ),
  10112. 'entity_id' => array(
  10113. 'type' => 'int',
  10114. 'not null' => TRUE,
  10115. 'size' => 'normal',
  10116. 'unsigned' => TRUE,
  10117. ),
  10118. 'revision_id' => array(
  10119. 'type' => 'int',
  10120. 'not null' => TRUE,
  10121. 'size' => 'normal',
  10122. 'unsigned' => TRUE,
  10123. ),
  10124. 'language' => array(
  10125. 'type' => 'varchar',
  10126. 'not null' => TRUE,
  10127. 'length' => '32',
  10128. 'default' => '',
  10129. ),
  10130. 'delta' => array(
  10131. 'type' => 'int',
  10132. 'not null' => TRUE,
  10133. 'size' => 'normal',
  10134. 'unsigned' => TRUE,
  10135. ),
  10136. 'body_value' => array(
  10137. 'type' => 'text',
  10138. 'not null' => FALSE,
  10139. 'size' => 'normal',
  10140. ),
  10141. 'body_summary' => array(
  10142. 'type' => 'text',
  10143. 'not null' => FALSE,
  10144. 'size' => 'normal',
  10145. ),
  10146. 'body_format' => array(
  10147. 'type' => 'varchar',
  10148. 'not null' => FALSE,
  10149. 'length' => '255',
  10150. ),
  10151. ),
  10152. 'primary key' => array(
  10153. 'entity_type',
  10154. 'deleted',
  10155. 'entity_id',
  10156. 'revision_id',
  10157. 'language',
  10158. 'delta',
  10159. ),
  10160. 'mysql_character_set' => 'utf8',
  10161. ));
  10162. $connection->insert('field_revision_body')
  10163. ->fields(array(
  10164. 'entity_type',
  10165. 'bundle',
  10166. 'deleted',
  10167. 'entity_id',
  10168. 'revision_id',
  10169. 'language',
  10170. 'delta',
  10171. 'body_value',
  10172. 'body_summary',
  10173. 'body_format',
  10174. ))
  10175. ->values(array(
  10176. 'entity_type' => 'node',
  10177. 'bundle' => 'article',
  10178. 'deleted' => '0',
  10179. 'entity_id' => '2',
  10180. 'revision_id' => '2',
  10181. 'language' => 'und',
  10182. 'delta' => '0',
  10183. 'body_value' => "...is that it's the absolute best show ever. Trust me, I would know.",
  10184. 'body_summary' => '',
  10185. 'body_format' => 'filtered_html',
  10186. ))
  10187. ->values(array(
  10188. 'entity_type' => 'node',
  10189. 'bundle' => 'article',
  10190. 'deleted' => '0',
  10191. 'entity_id' => '3',
  10192. 'revision_id' => '3',
  10193. 'language' => 'und',
  10194. 'delta' => '0',
  10195. 'body_value' => "is - ...is that it's the absolute best show ever. Trust me, I would know.",
  10196. 'body_summary' => '',
  10197. 'body_format' => 'filtered_html',
  10198. ))
  10199. ->values(array(
  10200. 'entity_type' => 'node',
  10201. 'bundle' => 'article',
  10202. 'deleted' => '0',
  10203. 'entity_id' => '4',
  10204. 'revision_id' => '4',
  10205. 'language' => 'und',
  10206. 'delta' => '0',
  10207. 'body_value' => 'is - Is that is it awesome.',
  10208. 'body_summary' => '',
  10209. 'body_format' => 'filtered_html',
  10210. ))
  10211. ->values(array(
  10212. 'entity_type' => 'node',
  10213. 'bundle' => 'article',
  10214. 'deleted' => '0',
  10215. 'entity_id' => '5',
  10216. 'revision_id' => '5',
  10217. 'language' => 'und',
  10218. 'delta' => '0',
  10219. 'body_value' => 'en - Is that is it awesome.',
  10220. 'body_summary' => '',
  10221. 'body_format' => 'filtered_html',
  10222. ))
  10223. ->values(array(
  10224. 'entity_type' => 'node',
  10225. 'bundle' => 'blog',
  10226. 'deleted' => '0',
  10227. 'entity_id' => '8',
  10228. 'revision_id' => '8',
  10229. 'language' => 'und',
  10230. 'delta' => '0',
  10231. 'body_value' => "'Tis everywhere.",
  10232. 'body_summary' => '',
  10233. 'body_format' => 'filtered_html',
  10234. ))
  10235. ->values(array(
  10236. 'entity_type' => 'node',
  10237. 'bundle' => 'blog',
  10238. 'deleted' => '0',
  10239. 'entity_id' => '9',
  10240. 'revision_id' => '9',
  10241. 'language' => 'und',
  10242. 'delta' => '0',
  10243. 'body_value' => "fr - 'Tis everywhere.",
  10244. 'body_summary' => '',
  10245. 'body_format' => 'filtered_html',
  10246. ))
  10247. ->values(array(
  10248. 'entity_type' => 'node',
  10249. 'bundle' => 'blog',
  10250. 'deleted' => '0',
  10251. 'entity_id' => '10',
  10252. 'revision_id' => '10',
  10253. 'language' => 'und',
  10254. 'delta' => '0',
  10255. 'body_value' => "is - 'Tis everywhere.",
  10256. 'body_summary' => '',
  10257. 'body_format' => 'filtered_html',
  10258. ))
  10259. ->execute();
  10260. $connection->schema()->createTable('field_revision_comment_body', array(
  10261. 'fields' => array(
  10262. 'entity_type' => array(
  10263. 'type' => 'varchar',
  10264. 'not null' => TRUE,
  10265. 'length' => '128',
  10266. 'default' => '',
  10267. ),
  10268. 'bundle' => array(
  10269. 'type' => 'varchar',
  10270. 'not null' => TRUE,
  10271. 'length' => '128',
  10272. 'default' => '',
  10273. ),
  10274. 'deleted' => array(
  10275. 'type' => 'int',
  10276. 'not null' => TRUE,
  10277. 'size' => 'normal',
  10278. 'default' => '0',
  10279. ),
  10280. 'entity_id' => array(
  10281. 'type' => 'int',
  10282. 'not null' => TRUE,
  10283. 'size' => 'normal',
  10284. 'unsigned' => TRUE,
  10285. ),
  10286. 'revision_id' => array(
  10287. 'type' => 'int',
  10288. 'not null' => TRUE,
  10289. 'size' => 'normal',
  10290. 'unsigned' => TRUE,
  10291. ),
  10292. 'language' => array(
  10293. 'type' => 'varchar',
  10294. 'not null' => TRUE,
  10295. 'length' => '32',
  10296. 'default' => '',
  10297. ),
  10298. 'delta' => array(
  10299. 'type' => 'int',
  10300. 'not null' => TRUE,
  10301. 'size' => 'normal',
  10302. 'unsigned' => TRUE,
  10303. ),
  10304. 'comment_body_value' => array(
  10305. 'type' => 'text',
  10306. 'not null' => FALSE,
  10307. 'size' => 'normal',
  10308. ),
  10309. 'comment_body_format' => array(
  10310. 'type' => 'varchar',
  10311. 'not null' => FALSE,
  10312. 'length' => '255',
  10313. ),
  10314. ),
  10315. 'primary key' => array(
  10316. 'entity_type',
  10317. 'deleted',
  10318. 'entity_id',
  10319. 'revision_id',
  10320. 'language',
  10321. 'delta',
  10322. ),
  10323. 'mysql_character_set' => 'utf8',
  10324. ));
  10325. $connection->insert('field_revision_comment_body')
  10326. ->fields(array(
  10327. 'entity_type',
  10328. 'bundle',
  10329. 'deleted',
  10330. 'entity_id',
  10331. 'revision_id',
  10332. 'language',
  10333. 'delta',
  10334. 'comment_body_value',
  10335. 'comment_body_format',
  10336. ))
  10337. ->values(array(
  10338. 'entity_type' => 'comment',
  10339. 'bundle' => 'comment_node_test_content_type',
  10340. 'deleted' => '0',
  10341. 'entity_id' => '1',
  10342. 'revision_id' => '1',
  10343. 'language' => 'und',
  10344. 'delta' => '0',
  10345. 'comment_body_value' => 'This is a comment',
  10346. 'comment_body_format' => 'filtered_html',
  10347. ))
  10348. ->values(array(
  10349. 'entity_type' => 'comment',
  10350. 'bundle' => 'comment_node_article',
  10351. 'deleted' => '0',
  10352. 'entity_id' => '2',
  10353. 'revision_id' => '2',
  10354. 'language' => 'und',
  10355. 'delta' => '0',
  10356. 'comment_body_value' => 'TNG is better than DS9.',
  10357. 'comment_body_format' => 'filtered_html',
  10358. ))
  10359. ->values(array(
  10360. 'entity_type' => 'comment',
  10361. 'bundle' => 'comment_node_article',
  10362. 'deleted' => '0',
  10363. 'entity_id' => '3',
  10364. 'revision_id' => '3',
  10365. 'language' => 'und',
  10366. 'delta' => '0',
  10367. 'comment_body_value' => 'This is a comment to an Icelandic translation.',
  10368. 'comment_body_format' => 'filtered_html',
  10369. ))
  10370. ->values(array(
  10371. 'entity_type' => 'comment',
  10372. 'bundle' => 'comment_node_test_content_type',
  10373. 'deleted' => '0',
  10374. 'entity_id' => '4',
  10375. 'revision_id' => '4',
  10376. 'language' => 'und',
  10377. 'delta' => '0',
  10378. 'comment_body_value' => 'A comment without language (migrated from Drupal 6)',
  10379. 'comment_body_format' => 'filtered_html',
  10380. ))
  10381. ->execute();
  10382. $connection->schema()->createTable('field_revision_description_field', array(
  10383. 'fields' => array(
  10384. 'entity_type' => array(
  10385. 'type' => 'varchar',
  10386. 'not null' => TRUE,
  10387. 'length' => '128',
  10388. 'default' => '',
  10389. ),
  10390. 'bundle' => array(
  10391. 'type' => 'varchar',
  10392. 'not null' => TRUE,
  10393. 'length' => '128',
  10394. 'default' => '',
  10395. ),
  10396. 'deleted' => array(
  10397. 'type' => 'int',
  10398. 'not null' => TRUE,
  10399. 'size' => 'tiny',
  10400. 'default' => '0',
  10401. ),
  10402. 'entity_id' => array(
  10403. 'type' => 'int',
  10404. 'not null' => TRUE,
  10405. 'size' => 'normal',
  10406. 'unsigned' => TRUE,
  10407. ),
  10408. 'revision_id' => array(
  10409. 'type' => 'int',
  10410. 'not null' => TRUE,
  10411. 'size' => 'normal',
  10412. 'unsigned' => TRUE,
  10413. ),
  10414. 'language' => array(
  10415. 'type' => 'varchar',
  10416. 'not null' => TRUE,
  10417. 'length' => '32',
  10418. 'default' => '',
  10419. ),
  10420. 'delta' => array(
  10421. 'type' => 'int',
  10422. 'not null' => TRUE,
  10423. 'size' => 'normal',
  10424. 'unsigned' => TRUE,
  10425. ),
  10426. 'description_field_value' => array(
  10427. 'type' => 'text',
  10428. 'not null' => FALSE,
  10429. 'size' => 'big',
  10430. ),
  10431. 'description_field_summary' => array(
  10432. 'type' => 'text',
  10433. 'not null' => FALSE,
  10434. 'size' => 'big',
  10435. ),
  10436. 'description_field_format' => array(
  10437. 'type' => 'varchar',
  10438. 'not null' => FALSE,
  10439. 'length' => '255',
  10440. ),
  10441. ),
  10442. 'primary key' => array(
  10443. 'entity_type',
  10444. 'entity_id',
  10445. 'revision_id',
  10446. 'deleted',
  10447. 'delta',
  10448. 'language',
  10449. ),
  10450. 'indexes' => array(
  10451. 'entity_type' => array(
  10452. 'entity_type',
  10453. ),
  10454. 'bundle' => array(
  10455. 'bundle',
  10456. ),
  10457. 'deleted' => array(
  10458. 'deleted',
  10459. ),
  10460. 'entity_id' => array(
  10461. 'entity_id',
  10462. ),
  10463. 'revision_id' => array(
  10464. 'revision_id',
  10465. ),
  10466. 'language' => array(
  10467. 'language',
  10468. ),
  10469. 'description_field_format' => array(
  10470. array(
  10471. 'description_field_format',
  10472. '191',
  10473. ),
  10474. ),
  10475. ),
  10476. 'mysql_character_set' => 'utf8',
  10477. ));
  10478. $connection->insert('field_revision_description_field')
  10479. ->fields(array(
  10480. 'entity_type',
  10481. 'bundle',
  10482. 'deleted',
  10483. 'entity_id',
  10484. 'revision_id',
  10485. 'language',
  10486. 'delta',
  10487. 'description_field_value',
  10488. 'description_field_summary',
  10489. 'description_field_format',
  10490. ))
  10491. ->values(array(
  10492. 'entity_type' => 'taxonomy_term',
  10493. 'bundle' => 'test_vocabulary',
  10494. 'deleted' => '0',
  10495. 'entity_id' => '2',
  10496. 'revision_id' => '2',
  10497. 'language' => 'en',
  10498. 'delta' => '0',
  10499. 'description_field_value' => 'The first term. (This is a real field!)',
  10500. 'description_field_summary' => '',
  10501. 'description_field_format' => 'filtered_html',
  10502. ))
  10503. ->values(array(
  10504. 'entity_type' => 'taxonomy_term',
  10505. 'bundle' => 'test_vocabulary',
  10506. 'deleted' => '0',
  10507. 'entity_id' => '3',
  10508. 'revision_id' => '3',
  10509. 'language' => 'en',
  10510. 'delta' => '0',
  10511. 'description_field_value' => 'The second term.',
  10512. 'description_field_summary' => NULL,
  10513. 'description_field_format' => 'filtered_html',
  10514. ))
  10515. ->values(array(
  10516. 'entity_type' => 'taxonomy_term',
  10517. 'bundle' => 'test_vocabulary',
  10518. 'deleted' => '0',
  10519. 'entity_id' => '4',
  10520. 'revision_id' => '4',
  10521. 'language' => 'en',
  10522. 'delta' => '0',
  10523. 'description_field_value' => 'The third term in plain old English.',
  10524. 'description_field_summary' => '',
  10525. 'description_field_format' => 'full_html',
  10526. ))
  10527. ->values(array(
  10528. 'entity_type' => 'taxonomy_term',
  10529. 'bundle' => 'test_vocabulary',
  10530. 'deleted' => '0',
  10531. 'entity_id' => '4',
  10532. 'revision_id' => '4',
  10533. 'language' => 'fr',
  10534. 'delta' => '0',
  10535. 'description_field_value' => "The third term en français s'il vous plaît.",
  10536. 'description_field_summary' => '',
  10537. 'description_field_format' => 'full_html',
  10538. ))
  10539. ->values(array(
  10540. 'entity_type' => 'taxonomy_term',
  10541. 'bundle' => 'test_vocabulary',
  10542. 'deleted' => '0',
  10543. 'entity_id' => '4',
  10544. 'revision_id' => '4',
  10545. 'language' => 'is',
  10546. 'delta' => '0',
  10547. 'description_field_value' => 'The third term á íslensku.',
  10548. 'description_field_summary' => '',
  10549. 'description_field_format' => 'full_html',
  10550. ))
  10551. ->execute();
  10552. $connection->schema()->createTable('field_revision_field_boolean', array(
  10553. 'fields' => array(
  10554. 'entity_type' => array(
  10555. 'type' => 'varchar',
  10556. 'not null' => TRUE,
  10557. 'length' => '128',
  10558. 'default' => '',
  10559. ),
  10560. 'bundle' => array(
  10561. 'type' => 'varchar',
  10562. 'not null' => TRUE,
  10563. 'length' => '128',
  10564. 'default' => '',
  10565. ),
  10566. 'deleted' => array(
  10567. 'type' => 'int',
  10568. 'not null' => TRUE,
  10569. 'size' => 'normal',
  10570. 'default' => '0',
  10571. ),
  10572. 'entity_id' => array(
  10573. 'type' => 'int',
  10574. 'not null' => TRUE,
  10575. 'size' => 'normal',
  10576. 'unsigned' => TRUE,
  10577. ),
  10578. 'revision_id' => array(
  10579. 'type' => 'int',
  10580. 'not null' => TRUE,
  10581. 'size' => 'normal',
  10582. 'unsigned' => TRUE,
  10583. ),
  10584. 'language' => array(
  10585. 'type' => 'varchar',
  10586. 'not null' => TRUE,
  10587. 'length' => '32',
  10588. 'default' => '',
  10589. ),
  10590. 'delta' => array(
  10591. 'type' => 'int',
  10592. 'not null' => TRUE,
  10593. 'size' => 'normal',
  10594. 'unsigned' => TRUE,
  10595. ),
  10596. 'field_boolean_value' => array(
  10597. 'type' => 'int',
  10598. 'not null' => FALSE,
  10599. 'size' => 'normal',
  10600. ),
  10601. ),
  10602. 'primary key' => array(
  10603. 'entity_type',
  10604. 'deleted',
  10605. 'entity_id',
  10606. 'revision_id',
  10607. 'language',
  10608. 'delta',
  10609. ),
  10610. 'mysql_character_set' => 'utf8',
  10611. ));
  10612. $connection->insert('field_revision_field_boolean')
  10613. ->fields(array(
  10614. 'entity_type',
  10615. 'bundle',
  10616. 'deleted',
  10617. 'entity_id',
  10618. 'revision_id',
  10619. 'language',
  10620. 'delta',
  10621. 'field_boolean_value',
  10622. ))
  10623. ->values(array(
  10624. 'entity_type' => 'node',
  10625. 'bundle' => 'test_content_type',
  10626. 'deleted' => '0',
  10627. 'entity_id' => '1',
  10628. 'revision_id' => '1',
  10629. 'language' => 'en',
  10630. 'delta' => '0',
  10631. 'field_boolean_value' => '1',
  10632. ))
  10633. ->values(array(
  10634. 'entity_type' => 'node',
  10635. 'bundle' => 'test_content_type',
  10636. 'deleted' => '0',
  10637. 'entity_id' => '1',
  10638. 'revision_id' => '1',
  10639. 'language' => 'fr',
  10640. 'delta' => '0',
  10641. 'field_boolean_value' => '1',
  10642. ))
  10643. ->values(array(
  10644. 'entity_type' => 'node',
  10645. 'bundle' => 'test_content_type',
  10646. 'deleted' => '0',
  10647. 'entity_id' => '1',
  10648. 'revision_id' => '1',
  10649. 'language' => 'is',
  10650. 'delta' => '0',
  10651. 'field_boolean_value' => '1',
  10652. ))
  10653. ->execute();
  10654. $connection->schema()->createTable('field_revision_field_color', array(
  10655. 'fields' => array(
  10656. 'entity_type' => array(
  10657. 'type' => 'varchar',
  10658. 'not null' => TRUE,
  10659. 'length' => '128',
  10660. 'default' => '',
  10661. ),
  10662. 'bundle' => array(
  10663. 'type' => 'varchar',
  10664. 'not null' => TRUE,
  10665. 'length' => '128',
  10666. 'default' => '',
  10667. ),
  10668. 'deleted' => array(
  10669. 'type' => 'int',
  10670. 'not null' => TRUE,
  10671. 'size' => 'tiny',
  10672. 'default' => '0',
  10673. ),
  10674. 'entity_id' => array(
  10675. 'type' => 'int',
  10676. 'not null' => TRUE,
  10677. 'size' => 'normal',
  10678. 'unsigned' => TRUE,
  10679. ),
  10680. 'revision_id' => array(
  10681. 'type' => 'int',
  10682. 'not null' => TRUE,
  10683. 'size' => 'normal',
  10684. 'unsigned' => TRUE,
  10685. ),
  10686. 'language' => array(
  10687. 'type' => 'varchar',
  10688. 'not null' => TRUE,
  10689. 'length' => '32',
  10690. 'default' => '',
  10691. ),
  10692. 'delta' => array(
  10693. 'type' => 'int',
  10694. 'not null' => TRUE,
  10695. 'size' => 'normal',
  10696. 'unsigned' => TRUE,
  10697. ),
  10698. 'field_color_value' => array(
  10699. 'type' => 'varchar',
  10700. 'not null' => FALSE,
  10701. 'length' => '255',
  10702. ),
  10703. ),
  10704. 'primary key' => array(
  10705. 'entity_type',
  10706. 'entity_id',
  10707. 'revision_id',
  10708. 'deleted',
  10709. 'delta',
  10710. 'language',
  10711. ),
  10712. 'indexes' => array(
  10713. 'entity_type' => array(
  10714. 'entity_type',
  10715. ),
  10716. 'bundle' => array(
  10717. 'bundle',
  10718. ),
  10719. 'deleted' => array(
  10720. 'deleted',
  10721. ),
  10722. 'entity_id' => array(
  10723. 'entity_id',
  10724. ),
  10725. 'revision_id' => array(
  10726. 'revision_id',
  10727. ),
  10728. 'language' => array(
  10729. 'language',
  10730. ),
  10731. 'field_color_value' => array(
  10732. array(
  10733. 'field_color_value',
  10734. '191',
  10735. ),
  10736. ),
  10737. ),
  10738. 'mysql_character_set' => 'utf8',
  10739. ));
  10740. $connection->insert('field_revision_field_color')
  10741. ->fields(array(
  10742. 'entity_type',
  10743. 'bundle',
  10744. 'deleted',
  10745. 'entity_id',
  10746. 'revision_id',
  10747. 'language',
  10748. 'delta',
  10749. 'field_color_value',
  10750. ))
  10751. ->values(array(
  10752. 'entity_type' => 'node',
  10753. 'bundle' => 'blog',
  10754. 'deleted' => '0',
  10755. 'entity_id' => '8',
  10756. 'revision_id' => '8',
  10757. 'language' => 'en',
  10758. 'delta' => '0',
  10759. 'field_color_value' => '0',
  10760. ))
  10761. ->values(array(
  10762. 'entity_type' => 'node',
  10763. 'bundle' => 'blog',
  10764. 'deleted' => '0',
  10765. 'entity_id' => '9',
  10766. 'revision_id' => '9',
  10767. 'language' => 'fr',
  10768. 'delta' => '0',
  10769. 'field_color_value' => '1',
  10770. ))
  10771. ->values(array(
  10772. 'entity_type' => 'node',
  10773. 'bundle' => 'blog',
  10774. 'deleted' => '0',
  10775. 'entity_id' => '10',
  10776. 'revision_id' => '10',
  10777. 'language' => 'is',
  10778. 'delta' => '0',
  10779. 'field_color_value' => '0',
  10780. ))
  10781. ->execute();
  10782. $connection->schema()->createTable('field_revision_field_date', array(
  10783. 'fields' => array(
  10784. 'entity_type' => array(
  10785. 'type' => 'varchar',
  10786. 'not null' => TRUE,
  10787. 'length' => '128',
  10788. 'default' => '',
  10789. ),
  10790. 'bundle' => array(
  10791. 'type' => 'varchar',
  10792. 'not null' => TRUE,
  10793. 'length' => '128',
  10794. 'default' => '',
  10795. ),
  10796. 'deleted' => array(
  10797. 'type' => 'int',
  10798. 'not null' => TRUE,
  10799. 'size' => 'normal',
  10800. 'default' => '0',
  10801. ),
  10802. 'entity_id' => array(
  10803. 'type' => 'int',
  10804. 'not null' => TRUE,
  10805. 'size' => 'normal',
  10806. 'unsigned' => TRUE,
  10807. ),
  10808. 'revision_id' => array(
  10809. 'type' => 'int',
  10810. 'not null' => TRUE,
  10811. 'size' => 'normal',
  10812. 'unsigned' => TRUE,
  10813. ),
  10814. 'language' => array(
  10815. 'type' => 'varchar',
  10816. 'not null' => TRUE,
  10817. 'length' => '32',
  10818. 'default' => '',
  10819. ),
  10820. 'delta' => array(
  10821. 'type' => 'int',
  10822. 'not null' => TRUE,
  10823. 'size' => 'normal',
  10824. 'unsigned' => TRUE,
  10825. ),
  10826. 'field_date_value' => array(
  10827. 'type' => 'varchar',
  10828. 'not null' => FALSE,
  10829. 'length' => '100',
  10830. ),
  10831. ),
  10832. 'primary key' => array(
  10833. 'entity_type',
  10834. 'deleted',
  10835. 'entity_id',
  10836. 'revision_id',
  10837. 'language',
  10838. 'delta',
  10839. ),
  10840. 'mysql_character_set' => 'utf8',
  10841. ));
  10842. $connection->insert('field_revision_field_date')
  10843. ->fields(array(
  10844. 'entity_type',
  10845. 'bundle',
  10846. 'deleted',
  10847. 'entity_id',
  10848. 'revision_id',
  10849. 'language',
  10850. 'delta',
  10851. 'field_date_value',
  10852. ))
  10853. ->values(array(
  10854. 'entity_type' => 'node',
  10855. 'bundle' => 'test_content_type',
  10856. 'deleted' => '0',
  10857. 'entity_id' => '1',
  10858. 'revision_id' => '1',
  10859. 'language' => 'und',
  10860. 'delta' => '0',
  10861. 'field_date_value' => '2015-01-20 04:15:00',
  10862. ))
  10863. ->execute();
  10864. $connection->schema()->createTable('field_revision_field_date_with_end_time', array(
  10865. 'fields' => array(
  10866. 'entity_type' => array(
  10867. 'type' => 'varchar',
  10868. 'not null' => TRUE,
  10869. 'length' => '128',
  10870. 'default' => '',
  10871. ),
  10872. 'bundle' => array(
  10873. 'type' => 'varchar',
  10874. 'not null' => TRUE,
  10875. 'length' => '128',
  10876. 'default' => '',
  10877. ),
  10878. 'deleted' => array(
  10879. 'type' => 'int',
  10880. 'not null' => TRUE,
  10881. 'size' => 'normal',
  10882. 'default' => '0',
  10883. ),
  10884. 'entity_id' => array(
  10885. 'type' => 'int',
  10886. 'not null' => TRUE,
  10887. 'size' => 'normal',
  10888. 'unsigned' => TRUE,
  10889. ),
  10890. 'revision_id' => array(
  10891. 'type' => 'int',
  10892. 'not null' => TRUE,
  10893. 'size' => 'normal',
  10894. 'unsigned' => TRUE,
  10895. ),
  10896. 'language' => array(
  10897. 'type' => 'varchar',
  10898. 'not null' => TRUE,
  10899. 'length' => '32',
  10900. 'default' => '',
  10901. ),
  10902. 'delta' => array(
  10903. 'type' => 'int',
  10904. 'not null' => TRUE,
  10905. 'size' => 'normal',
  10906. 'unsigned' => TRUE,
  10907. ),
  10908. 'field_date_with_end_time_value' => array(
  10909. 'type' => 'int',
  10910. 'not null' => FALSE,
  10911. 'size' => 'normal',
  10912. ),
  10913. 'field_date_with_end_time_value2' => array(
  10914. 'type' => 'int',
  10915. 'not null' => FALSE,
  10916. 'size' => 'normal',
  10917. ),
  10918. ),
  10919. 'primary key' => array(
  10920. 'entity_type',
  10921. 'deleted',
  10922. 'entity_id',
  10923. 'revision_id',
  10924. 'language',
  10925. 'delta',
  10926. ),
  10927. 'mysql_character_set' => 'utf8',
  10928. ));
  10929. $connection->insert('field_revision_field_date_with_end_time')
  10930. ->fields(array(
  10931. 'entity_type',
  10932. 'bundle',
  10933. 'deleted',
  10934. 'entity_id',
  10935. 'revision_id',
  10936. 'language',
  10937. 'delta',
  10938. 'field_date_with_end_time_value',
  10939. 'field_date_with_end_time_value2',
  10940. ))
  10941. ->values(array(
  10942. 'entity_type' => 'node',
  10943. 'bundle' => 'test_content_type',
  10944. 'deleted' => '0',
  10945. 'entity_id' => '1',
  10946. 'revision_id' => '1',
  10947. 'language' => 'und',
  10948. 'delta' => '0',
  10949. 'field_date_with_end_time_value' => '1421727300',
  10950. 'field_date_with_end_time_value2' => '1421727300',
  10951. ))
  10952. ->execute();
  10953. $connection->schema()->createTable('field_revision_field_date_without_time', array(
  10954. 'fields' => array(
  10955. 'entity_type' => array(
  10956. 'type' => 'varchar',
  10957. 'not null' => TRUE,
  10958. 'length' => '128',
  10959. 'default' => '',
  10960. ),
  10961. 'bundle' => array(
  10962. 'type' => 'varchar',
  10963. 'not null' => TRUE,
  10964. 'length' => '128',
  10965. 'default' => '',
  10966. ),
  10967. 'deleted' => array(
  10968. 'type' => 'int',
  10969. 'not null' => TRUE,
  10970. 'size' => 'normal',
  10971. 'default' => '0',
  10972. ),
  10973. 'entity_id' => array(
  10974. 'type' => 'int',
  10975. 'not null' => TRUE,
  10976. 'size' => 'normal',
  10977. 'unsigned' => TRUE,
  10978. ),
  10979. 'revision_id' => array(
  10980. 'type' => 'int',
  10981. 'not null' => TRUE,
  10982. 'size' => 'normal',
  10983. 'unsigned' => TRUE,
  10984. ),
  10985. 'language' => array(
  10986. 'type' => 'varchar',
  10987. 'not null' => TRUE,
  10988. 'length' => '32',
  10989. 'default' => '',
  10990. ),
  10991. 'delta' => array(
  10992. 'type' => 'int',
  10993. 'not null' => TRUE,
  10994. 'size' => 'normal',
  10995. 'unsigned' => TRUE,
  10996. ),
  10997. 'field_date_without_time_value' => array(
  10998. 'type' => 'varchar',
  10999. 'not null' => FALSE,
  11000. 'length' => '100',
  11001. ),
  11002. ),
  11003. 'primary key' => array(
  11004. 'entity_type',
  11005. 'deleted',
  11006. 'entity_id',
  11007. 'revision_id',
  11008. 'language',
  11009. 'delta',
  11010. ),
  11011. 'mysql_character_set' => 'utf8',
  11012. ));
  11013. $connection->insert('field_revision_field_date_without_time')
  11014. ->fields(array(
  11015. 'entity_type',
  11016. 'bundle',
  11017. 'deleted',
  11018. 'entity_id',
  11019. 'revision_id',
  11020. 'language',
  11021. 'delta',
  11022. 'field_date_without_time_value',
  11023. ))
  11024. ->values(array(
  11025. 'entity_type' => 'node',
  11026. 'bundle' => 'test_content_type',
  11027. 'deleted' => '0',
  11028. 'entity_id' => '1',
  11029. 'revision_id' => '1',
  11030. 'language' => 'und',
  11031. 'delta' => '0',
  11032. 'field_date_without_time_value' => '2015-01-20T00:00:00',
  11033. ))
  11034. ->execute();
  11035. $connection->schema()->createTable('field_revision_field_datetime_without_time', array(
  11036. 'fields' => array(
  11037. 'entity_type' => array(
  11038. 'type' => 'varchar',
  11039. 'not null' => TRUE,
  11040. 'length' => '128',
  11041. 'default' => '',
  11042. ),
  11043. 'bundle' => array(
  11044. 'type' => 'varchar',
  11045. 'not null' => TRUE,
  11046. 'length' => '128',
  11047. 'default' => '',
  11048. ),
  11049. 'deleted' => array(
  11050. 'type' => 'int',
  11051. 'not null' => TRUE,
  11052. 'size' => 'normal',
  11053. 'default' => '0',
  11054. ),
  11055. 'entity_id' => array(
  11056. 'type' => 'int',
  11057. 'not null' => TRUE,
  11058. 'size' => 'normal',
  11059. 'unsigned' => TRUE,
  11060. ),
  11061. 'revision_id' => array(
  11062. 'type' => 'int',
  11063. 'not null' => TRUE,
  11064. 'size' => 'normal',
  11065. 'unsigned' => TRUE,
  11066. ),
  11067. 'language' => array(
  11068. 'type' => 'varchar',
  11069. 'not null' => TRUE,
  11070. 'length' => '32',
  11071. 'default' => '',
  11072. ),
  11073. 'delta' => array(
  11074. 'type' => 'int',
  11075. 'not null' => TRUE,
  11076. 'size' => 'normal',
  11077. 'unsigned' => TRUE,
  11078. ),
  11079. 'field_datetime_without_time_value' => array(
  11080. 'type' => 'datetime',
  11081. 'not null' => FALSE,
  11082. 'mysql_type' => 'datetime',
  11083. 'pgsql_type' => 'timestamp without time zone',
  11084. 'sqlite_type' => 'varchar',
  11085. 'sqlsrv_type' => 'smalldatetime',
  11086. ),
  11087. ),
  11088. 'primary key' => array(
  11089. 'entity_type',
  11090. 'deleted',
  11091. 'entity_id',
  11092. 'revision_id',
  11093. 'language',
  11094. 'delta',
  11095. ),
  11096. 'mysql_character_set' => 'utf8',
  11097. ));
  11098. $connection->insert('field_revision_field_datetime_without_time')
  11099. ->fields(array(
  11100. 'entity_type',
  11101. 'bundle',
  11102. 'deleted',
  11103. 'entity_id',
  11104. 'revision_id',
  11105. 'language',
  11106. 'delta',
  11107. 'field_datetime_without_time_value',
  11108. ))
  11109. ->values(array(
  11110. 'entity_type' => 'node',
  11111. 'bundle' => 'test_content_type',
  11112. 'deleted' => '0',
  11113. 'entity_id' => '1',
  11114. 'revision_id' => '1',
  11115. 'language' => 'und',
  11116. 'delta' => '0',
  11117. 'field_datetime_without_time_value' => '2015-01-20 00:00:00',
  11118. ))
  11119. ->execute();
  11120. $connection->schema()->createTable('field_revision_field_email', array(
  11121. 'fields' => array(
  11122. 'entity_type' => array(
  11123. 'type' => 'varchar',
  11124. 'not null' => TRUE,
  11125. 'length' => '128',
  11126. 'default' => '',
  11127. ),
  11128. 'bundle' => array(
  11129. 'type' => 'varchar',
  11130. 'not null' => TRUE,
  11131. 'length' => '128',
  11132. 'default' => '',
  11133. ),
  11134. 'deleted' => array(
  11135. 'type' => 'int',
  11136. 'not null' => TRUE,
  11137. 'size' => 'normal',
  11138. 'default' => '0',
  11139. ),
  11140. 'entity_id' => array(
  11141. 'type' => 'int',
  11142. 'not null' => TRUE,
  11143. 'size' => 'normal',
  11144. 'unsigned' => TRUE,
  11145. ),
  11146. 'revision_id' => array(
  11147. 'type' => 'int',
  11148. 'not null' => TRUE,
  11149. 'size' => 'normal',
  11150. 'unsigned' => TRUE,
  11151. ),
  11152. 'language' => array(
  11153. 'type' => 'varchar',
  11154. 'not null' => TRUE,
  11155. 'length' => '32',
  11156. 'default' => '',
  11157. ),
  11158. 'delta' => array(
  11159. 'type' => 'int',
  11160. 'not null' => TRUE,
  11161. 'size' => 'normal',
  11162. 'unsigned' => TRUE,
  11163. ),
  11164. 'field_email_email' => array(
  11165. 'type' => 'varchar',
  11166. 'not null' => FALSE,
  11167. 'length' => '255',
  11168. ),
  11169. ),
  11170. 'primary key' => array(
  11171. 'entity_type',
  11172. 'deleted',
  11173. 'entity_id',
  11174. 'revision_id',
  11175. 'language',
  11176. 'delta',
  11177. ),
  11178. 'mysql_character_set' => 'utf8',
  11179. ));
  11180. $connection->insert('field_revision_field_email')
  11181. ->fields(array(
  11182. 'entity_type',
  11183. 'bundle',
  11184. 'deleted',
  11185. 'entity_id',
  11186. 'revision_id',
  11187. 'language',
  11188. 'delta',
  11189. 'field_email_email',
  11190. ))
  11191. ->values(array(
  11192. 'entity_type' => 'node',
  11193. 'bundle' => 'test_content_type',
  11194. 'deleted' => '0',
  11195. 'entity_id' => '1',
  11196. 'revision_id' => '1',
  11197. 'language' => 'und',
  11198. 'delta' => '0',
  11199. 'field_email_email' => 'default@example.com',
  11200. ))
  11201. ->values(array(
  11202. 'entity_type' => 'node',
  11203. 'bundle' => 'test_content_type',
  11204. 'deleted' => '0',
  11205. 'entity_id' => '1',
  11206. 'revision_id' => '1',
  11207. 'language' => 'und',
  11208. 'delta' => '1',
  11209. 'field_email_email' => 'another@example.com',
  11210. ))
  11211. ->execute();
  11212. $connection->schema()->createTable('field_revision_field_file', array(
  11213. 'fields' => array(
  11214. 'entity_type' => array(
  11215. 'type' => 'varchar',
  11216. 'not null' => TRUE,
  11217. 'length' => '128',
  11218. 'default' => '',
  11219. ),
  11220. 'bundle' => array(
  11221. 'type' => 'varchar',
  11222. 'not null' => TRUE,
  11223. 'length' => '128',
  11224. 'default' => '',
  11225. ),
  11226. 'deleted' => array(
  11227. 'type' => 'int',
  11228. 'not null' => TRUE,
  11229. 'size' => 'normal',
  11230. 'default' => '0',
  11231. ),
  11232. 'entity_id' => array(
  11233. 'type' => 'int',
  11234. 'not null' => TRUE,
  11235. 'size' => 'normal',
  11236. 'unsigned' => TRUE,
  11237. ),
  11238. 'revision_id' => array(
  11239. 'type' => 'int',
  11240. 'not null' => TRUE,
  11241. 'size' => 'normal',
  11242. 'unsigned' => TRUE,
  11243. ),
  11244. 'language' => array(
  11245. 'type' => 'varchar',
  11246. 'not null' => TRUE,
  11247. 'length' => '32',
  11248. 'default' => '',
  11249. ),
  11250. 'delta' => array(
  11251. 'type' => 'int',
  11252. 'not null' => TRUE,
  11253. 'size' => 'normal',
  11254. 'unsigned' => TRUE,
  11255. ),
  11256. 'field_file_fid' => array(
  11257. 'type' => 'int',
  11258. 'not null' => FALSE,
  11259. 'size' => 'normal',
  11260. 'unsigned' => TRUE,
  11261. ),
  11262. 'field_file_display' => array(
  11263. 'type' => 'int',
  11264. 'not null' => TRUE,
  11265. 'size' => 'normal',
  11266. 'default' => '1',
  11267. 'unsigned' => TRUE,
  11268. ),
  11269. 'field_file_description' => array(
  11270. 'type' => 'text',
  11271. 'not null' => FALSE,
  11272. 'size' => 'normal',
  11273. ),
  11274. ),
  11275. 'primary key' => array(
  11276. 'entity_type',
  11277. 'deleted',
  11278. 'entity_id',
  11279. 'revision_id',
  11280. 'language',
  11281. 'delta',
  11282. ),
  11283. 'mysql_character_set' => 'utf8',
  11284. ));
  11285. $connection->insert('field_revision_field_file')
  11286. ->fields(array(
  11287. 'entity_type',
  11288. 'bundle',
  11289. 'deleted',
  11290. 'entity_id',
  11291. 'revision_id',
  11292. 'language',
  11293. 'delta',
  11294. 'field_file_fid',
  11295. 'field_file_display',
  11296. 'field_file_description',
  11297. ))
  11298. ->values(array(
  11299. 'entity_type' => 'node',
  11300. 'bundle' => 'test_content_type',
  11301. 'deleted' => '0',
  11302. 'entity_id' => '1',
  11303. 'revision_id' => '1',
  11304. 'language' => 'und',
  11305. 'delta' => '0',
  11306. 'field_file_fid' => '2',
  11307. 'field_file_display' => '1',
  11308. 'field_file_description' => 'file desc',
  11309. ))
  11310. ->values(array(
  11311. 'entity_type' => 'user',
  11312. 'bundle' => 'user',
  11313. 'deleted' => '0',
  11314. 'entity_id' => '2',
  11315. 'revision_id' => '2',
  11316. 'language' => 'und',
  11317. 'delta' => '0',
  11318. 'field_file_fid' => '2',
  11319. 'field_file_display' => '1',
  11320. 'field_file_description' => 'file desc',
  11321. ))
  11322. ->execute();
  11323. $connection->schema()->createTable('field_revision_field_float', array(
  11324. 'fields' => array(
  11325. 'entity_type' => array(
  11326. 'type' => 'varchar',
  11327. 'not null' => TRUE,
  11328. 'length' => '128',
  11329. 'default' => '',
  11330. ),
  11331. 'bundle' => array(
  11332. 'type' => 'varchar',
  11333. 'not null' => TRUE,
  11334. 'length' => '128',
  11335. 'default' => '',
  11336. ),
  11337. 'deleted' => array(
  11338. 'type' => 'int',
  11339. 'not null' => TRUE,
  11340. 'size' => 'normal',
  11341. 'default' => '0',
  11342. ),
  11343. 'entity_id' => array(
  11344. 'type' => 'int',
  11345. 'not null' => TRUE,
  11346. 'size' => 'normal',
  11347. 'unsigned' => TRUE,
  11348. ),
  11349. 'revision_id' => array(
  11350. 'type' => 'int',
  11351. 'not null' => TRUE,
  11352. 'size' => 'normal',
  11353. 'unsigned' => TRUE,
  11354. ),
  11355. 'language' => array(
  11356. 'type' => 'varchar',
  11357. 'not null' => TRUE,
  11358. 'length' => '32',
  11359. 'default' => '',
  11360. ),
  11361. 'delta' => array(
  11362. 'type' => 'int',
  11363. 'not null' => TRUE,
  11364. 'size' => 'normal',
  11365. 'unsigned' => TRUE,
  11366. ),
  11367. 'field_float_value' => array(
  11368. 'type' => 'numeric',
  11369. 'not null' => FALSE,
  11370. 'precision' => '10',
  11371. 'scale' => '0',
  11372. ),
  11373. ),
  11374. 'primary key' => array(
  11375. 'entity_type',
  11376. 'deleted',
  11377. 'entity_id',
  11378. 'revision_id',
  11379. 'language',
  11380. 'delta',
  11381. ),
  11382. 'mysql_character_set' => 'utf8',
  11383. ));
  11384. $connection->insert('field_revision_field_float')
  11385. ->fields(array(
  11386. 'entity_type',
  11387. 'bundle',
  11388. 'deleted',
  11389. 'entity_id',
  11390. 'revision_id',
  11391. 'language',
  11392. 'delta',
  11393. 'field_float_value',
  11394. ))
  11395. ->values(array(
  11396. 'entity_type' => 'node',
  11397. 'bundle' => 'test_content_type',
  11398. 'deleted' => '0',
  11399. 'entity_id' => '1',
  11400. 'revision_id' => '1',
  11401. 'language' => 'und',
  11402. 'delta' => '0',
  11403. 'field_float_value' => '1',
  11404. ))
  11405. ->execute();
  11406. $connection->schema()->createTable('field_revision_field_float_list', array(
  11407. 'fields' => array(
  11408. 'entity_type' => array(
  11409. 'type' => 'varchar',
  11410. 'not null' => TRUE,
  11411. 'length' => '128',
  11412. 'default' => '',
  11413. ),
  11414. 'bundle' => array(
  11415. 'type' => 'varchar',
  11416. 'not null' => TRUE,
  11417. 'length' => '128',
  11418. 'default' => '',
  11419. ),
  11420. 'deleted' => array(
  11421. 'type' => 'int',
  11422. 'not null' => TRUE,
  11423. 'size' => 'tiny',
  11424. 'default' => '0',
  11425. ),
  11426. 'entity_id' => array(
  11427. 'type' => 'int',
  11428. 'not null' => TRUE,
  11429. 'size' => 'normal',
  11430. 'unsigned' => TRUE,
  11431. ),
  11432. 'revision_id' => array(
  11433. 'type' => 'int',
  11434. 'not null' => TRUE,
  11435. 'size' => 'normal',
  11436. 'unsigned' => TRUE,
  11437. ),
  11438. 'language' => array(
  11439. 'type' => 'varchar',
  11440. 'not null' => TRUE,
  11441. 'length' => '32',
  11442. 'default' => '',
  11443. ),
  11444. 'delta' => array(
  11445. 'type' => 'int',
  11446. 'not null' => TRUE,
  11447. 'size' => 'normal',
  11448. 'unsigned' => TRUE,
  11449. ),
  11450. 'field_float_list_value' => array(
  11451. 'type' => 'float',
  11452. 'not null' => FALSE,
  11453. 'size' => 'normal',
  11454. ),
  11455. ),
  11456. 'primary key' => array(
  11457. 'entity_type',
  11458. 'entity_id',
  11459. 'revision_id',
  11460. 'deleted',
  11461. 'delta',
  11462. 'language',
  11463. ),
  11464. 'indexes' => array(
  11465. 'entity_type' => array(
  11466. 'entity_type',
  11467. ),
  11468. 'bundle' => array(
  11469. 'bundle',
  11470. ),
  11471. 'deleted' => array(
  11472. 'deleted',
  11473. ),
  11474. 'entity_id' => array(
  11475. 'entity_id',
  11476. ),
  11477. 'revision_id' => array(
  11478. 'revision_id',
  11479. ),
  11480. 'language' => array(
  11481. 'language',
  11482. ),
  11483. 'field_float_list_value' => array(
  11484. 'field_float_list_value',
  11485. ),
  11486. ),
  11487. 'mysql_character_set' => 'utf8',
  11488. ));
  11489. $connection->insert('field_revision_field_float_list')
  11490. ->fields(array(
  11491. 'entity_type',
  11492. 'bundle',
  11493. 'deleted',
  11494. 'entity_id',
  11495. 'revision_id',
  11496. 'language',
  11497. 'delta',
  11498. 'field_float_list_value',
  11499. ))
  11500. ->values(array(
  11501. 'entity_type' => 'node',
  11502. 'bundle' => 'test_content_type',
  11503. 'deleted' => '0',
  11504. 'entity_id' => '1',
  11505. 'revision_id' => '1',
  11506. 'language' => 'und',
  11507. 'delta' => '0',
  11508. 'field_float_list_value' => '3.1416',
  11509. ))
  11510. ->execute();
  11511. $connection->schema()->createTable('field_revision_field_image', array(
  11512. 'fields' => array(
  11513. 'entity_type' => array(
  11514. 'type' => 'varchar',
  11515. 'not null' => TRUE,
  11516. 'length' => '128',
  11517. 'default' => '',
  11518. ),
  11519. 'bundle' => array(
  11520. 'type' => 'varchar',
  11521. 'not null' => TRUE,
  11522. 'length' => '128',
  11523. 'default' => '',
  11524. ),
  11525. 'deleted' => array(
  11526. 'type' => 'int',
  11527. 'not null' => TRUE,
  11528. 'size' => 'normal',
  11529. 'default' => '0',
  11530. ),
  11531. 'entity_id' => array(
  11532. 'type' => 'int',
  11533. 'not null' => TRUE,
  11534. 'size' => 'normal',
  11535. 'unsigned' => TRUE,
  11536. ),
  11537. 'revision_id' => array(
  11538. 'type' => 'int',
  11539. 'not null' => TRUE,
  11540. 'size' => 'normal',
  11541. 'unsigned' => TRUE,
  11542. ),
  11543. 'language' => array(
  11544. 'type' => 'varchar',
  11545. 'not null' => TRUE,
  11546. 'length' => '32',
  11547. 'default' => '',
  11548. ),
  11549. 'delta' => array(
  11550. 'type' => 'int',
  11551. 'not null' => TRUE,
  11552. 'size' => 'normal',
  11553. 'unsigned' => TRUE,
  11554. ),
  11555. 'field_image_fid' => array(
  11556. 'type' => 'int',
  11557. 'not null' => FALSE,
  11558. 'size' => 'normal',
  11559. 'unsigned' => TRUE,
  11560. ),
  11561. 'field_image_alt' => array(
  11562. 'type' => 'varchar',
  11563. 'not null' => FALSE,
  11564. 'length' => '512',
  11565. ),
  11566. 'field_image_title' => array(
  11567. 'type' => 'varchar',
  11568. 'not null' => FALSE,
  11569. 'length' => '1024',
  11570. ),
  11571. 'field_image_width' => array(
  11572. 'type' => 'int',
  11573. 'not null' => FALSE,
  11574. 'size' => 'normal',
  11575. 'unsigned' => TRUE,
  11576. ),
  11577. 'field_image_height' => array(
  11578. 'type' => 'int',
  11579. 'not null' => FALSE,
  11580. 'size' => 'normal',
  11581. 'unsigned' => TRUE,
  11582. ),
  11583. ),
  11584. 'primary key' => array(
  11585. 'entity_type',
  11586. 'deleted',
  11587. 'entity_id',
  11588. 'revision_id',
  11589. 'language',
  11590. 'delta',
  11591. ),
  11592. 'mysql_character_set' => 'utf8',
  11593. ));
  11594. $connection->schema()->createTable('field_revision_field_images', array(
  11595. 'fields' => array(
  11596. 'entity_type' => array(
  11597. 'type' => 'varchar',
  11598. 'not null' => TRUE,
  11599. 'length' => '128',
  11600. 'default' => '',
  11601. ),
  11602. 'bundle' => array(
  11603. 'type' => 'varchar',
  11604. 'not null' => TRUE,
  11605. 'length' => '128',
  11606. 'default' => '',
  11607. ),
  11608. 'deleted' => array(
  11609. 'type' => 'int',
  11610. 'not null' => TRUE,
  11611. 'size' => 'normal',
  11612. 'default' => '0',
  11613. ),
  11614. 'entity_id' => array(
  11615. 'type' => 'int',
  11616. 'not null' => TRUE,
  11617. 'size' => 'normal',
  11618. 'unsigned' => TRUE,
  11619. ),
  11620. 'revision_id' => array(
  11621. 'type' => 'int',
  11622. 'not null' => TRUE,
  11623. 'size' => 'normal',
  11624. 'unsigned' => TRUE,
  11625. ),
  11626. 'language' => array(
  11627. 'type' => 'varchar',
  11628. 'not null' => TRUE,
  11629. 'length' => '32',
  11630. 'default' => '',
  11631. ),
  11632. 'delta' => array(
  11633. 'type' => 'int',
  11634. 'not null' => TRUE,
  11635. 'size' => 'normal',
  11636. 'unsigned' => TRUE,
  11637. ),
  11638. 'field_images_fid' => array(
  11639. 'type' => 'int',
  11640. 'not null' => FALSE,
  11641. 'size' => 'normal',
  11642. 'unsigned' => TRUE,
  11643. ),
  11644. 'field_images_alt' => array(
  11645. 'type' => 'varchar',
  11646. 'not null' => FALSE,
  11647. 'length' => '512',
  11648. ),
  11649. 'field_images_title' => array(
  11650. 'type' => 'varchar',
  11651. 'not null' => FALSE,
  11652. 'length' => '1024',
  11653. ),
  11654. 'field_images_width' => array(
  11655. 'type' => 'int',
  11656. 'not null' => FALSE,
  11657. 'size' => 'normal',
  11658. 'unsigned' => TRUE,
  11659. ),
  11660. 'field_images_height' => array(
  11661. 'type' => 'int',
  11662. 'not null' => FALSE,
  11663. 'size' => 'normal',
  11664. 'unsigned' => TRUE,
  11665. ),
  11666. ),
  11667. 'primary key' => array(
  11668. 'entity_type',
  11669. 'deleted',
  11670. 'entity_id',
  11671. 'revision_id',
  11672. 'language',
  11673. 'delta',
  11674. ),
  11675. 'mysql_character_set' => 'utf8',
  11676. ));
  11677. $connection->insert('field_revision_field_images')
  11678. ->fields(array(
  11679. 'entity_type',
  11680. 'bundle',
  11681. 'deleted',
  11682. 'entity_id',
  11683. 'revision_id',
  11684. 'language',
  11685. 'delta',
  11686. 'field_images_fid',
  11687. 'field_images_alt',
  11688. 'field_images_title',
  11689. 'field_images_width',
  11690. 'field_images_height',
  11691. ))
  11692. ->values(array(
  11693. 'entity_type' => 'node',
  11694. 'bundle' => 'test_content_type',
  11695. 'deleted' => '0',
  11696. 'entity_id' => '1',
  11697. 'revision_id' => '1',
  11698. 'language' => 'und',
  11699. 'delta' => '0',
  11700. 'field_images_fid' => '1',
  11701. 'field_images_alt' => 'alt text',
  11702. 'field_images_title' => 'title text',
  11703. 'field_images_width' => '93',
  11704. 'field_images_height' => '93',
  11705. ))
  11706. ->execute();
  11707. $connection->schema()->createTable('field_revision_field_integer', array(
  11708. 'fields' => array(
  11709. 'entity_type' => array(
  11710. 'type' => 'varchar',
  11711. 'not null' => TRUE,
  11712. 'length' => '128',
  11713. 'default' => '',
  11714. ),
  11715. 'bundle' => array(
  11716. 'type' => 'varchar',
  11717. 'not null' => TRUE,
  11718. 'length' => '128',
  11719. 'default' => '',
  11720. ),
  11721. 'deleted' => array(
  11722. 'type' => 'int',
  11723. 'not null' => TRUE,
  11724. 'size' => 'normal',
  11725. 'default' => '0',
  11726. ),
  11727. 'entity_id' => array(
  11728. 'type' => 'int',
  11729. 'not null' => TRUE,
  11730. 'size' => 'normal',
  11731. 'unsigned' => TRUE,
  11732. ),
  11733. 'revision_id' => array(
  11734. 'type' => 'int',
  11735. 'not null' => TRUE,
  11736. 'size' => 'normal',
  11737. 'unsigned' => TRUE,
  11738. ),
  11739. 'language' => array(
  11740. 'type' => 'varchar',
  11741. 'not null' => TRUE,
  11742. 'length' => '32',
  11743. 'default' => '',
  11744. ),
  11745. 'delta' => array(
  11746. 'type' => 'int',
  11747. 'not null' => TRUE,
  11748. 'size' => 'normal',
  11749. 'unsigned' => TRUE,
  11750. ),
  11751. 'field_integer_value' => array(
  11752. 'type' => 'int',
  11753. 'not null' => FALSE,
  11754. 'size' => 'normal',
  11755. ),
  11756. ),
  11757. 'primary key' => array(
  11758. 'entity_type',
  11759. 'deleted',
  11760. 'entity_id',
  11761. 'revision_id',
  11762. 'language',
  11763. 'delta',
  11764. ),
  11765. 'mysql_character_set' => 'utf8',
  11766. ));
  11767. $connection->insert('field_revision_field_integer')
  11768. ->fields(array(
  11769. 'entity_type',
  11770. 'bundle',
  11771. 'deleted',
  11772. 'entity_id',
  11773. 'revision_id',
  11774. 'language',
  11775. 'delta',
  11776. 'field_integer_value',
  11777. ))
  11778. ->values(array(
  11779. 'entity_type' => 'comment',
  11780. 'bundle' => 'comment_node_test_content_type',
  11781. 'deleted' => '0',
  11782. 'entity_id' => '1',
  11783. 'revision_id' => '1',
  11784. 'language' => 'en',
  11785. 'delta' => '0',
  11786. 'field_integer_value' => '1000000',
  11787. ))
  11788. ->values(array(
  11789. 'entity_type' => 'comment',
  11790. 'bundle' => 'comment_node_test_content_type',
  11791. 'deleted' => '0',
  11792. 'entity_id' => '1',
  11793. 'revision_id' => '1',
  11794. 'language' => 'fr',
  11795. 'delta' => '0',
  11796. 'field_integer_value' => '2000000',
  11797. ))
  11798. ->values(array(
  11799. 'entity_type' => 'comment',
  11800. 'bundle' => 'comment_node_test_content_type',
  11801. 'deleted' => '0',
  11802. 'entity_id' => '1',
  11803. 'revision_id' => '1',
  11804. 'language' => 'is',
  11805. 'delta' => '0',
  11806. 'field_integer_value' => '3000000',
  11807. ))
  11808. ->values(array(
  11809. 'entity_type' => 'node',
  11810. 'bundle' => 'test_content_type',
  11811. 'deleted' => '0',
  11812. 'entity_id' => '1',
  11813. 'revision_id' => '1',
  11814. 'language' => 'en',
  11815. 'delta' => '0',
  11816. 'field_integer_value' => '5',
  11817. ))
  11818. ->values(array(
  11819. 'entity_type' => 'node',
  11820. 'bundle' => 'test_content_type',
  11821. 'deleted' => '0',
  11822. 'entity_id' => '1',
  11823. 'revision_id' => '1',
  11824. 'language' => 'fr',
  11825. 'delta' => '0',
  11826. 'field_integer_value' => '6',
  11827. ))
  11828. ->values(array(
  11829. 'entity_type' => 'node',
  11830. 'bundle' => 'test_content_type',
  11831. 'deleted' => '0',
  11832. 'entity_id' => '1',
  11833. 'revision_id' => '1',
  11834. 'language' => 'is',
  11835. 'delta' => '0',
  11836. 'field_integer_value' => '7',
  11837. ))
  11838. ->values(array(
  11839. 'entity_type' => 'user',
  11840. 'bundle' => 'user',
  11841. 'deleted' => '0',
  11842. 'entity_id' => '2',
  11843. 'revision_id' => '2',
  11844. 'language' => 'en',
  11845. 'delta' => '0',
  11846. 'field_integer_value' => '99',
  11847. ))
  11848. ->values(array(
  11849. 'entity_type' => 'comment',
  11850. 'bundle' => 'comment_node_test_content_type',
  11851. 'deleted' => '0',
  11852. 'entity_id' => '4',
  11853. 'revision_id' => '4',
  11854. 'language' => 'en',
  11855. 'delta' => '0',
  11856. 'field_integer_value' => '10',
  11857. ))
  11858. ->values(array(
  11859. 'entity_type' => 'taxonomy_term',
  11860. 'bundle' => 'test_vocabulary',
  11861. 'deleted' => '0',
  11862. 'entity_id' => '4',
  11863. 'revision_id' => '4',
  11864. 'language' => 'en',
  11865. 'delta' => '0',
  11866. 'field_integer_value' => '6',
  11867. ))
  11868. ->values(array(
  11869. 'entity_type' => 'taxonomy_term',
  11870. 'bundle' => 'test_vocabulary',
  11871. 'deleted' => '0',
  11872. 'entity_id' => '4',
  11873. 'revision_id' => '4',
  11874. 'language' => 'fr',
  11875. 'delta' => '0',
  11876. 'field_integer_value' => '5',
  11877. ))
  11878. ->values(array(
  11879. 'entity_type' => 'taxonomy_term',
  11880. 'bundle' => 'test_vocabulary',
  11881. 'deleted' => '0',
  11882. 'entity_id' => '4',
  11883. 'revision_id' => '4',
  11884. 'language' => 'is',
  11885. 'delta' => '0',
  11886. 'field_integer_value' => '4',
  11887. ))
  11888. ->execute();
  11889. $connection->schema()->createTable('field_revision_field_integer_list', array(
  11890. 'fields' => array(
  11891. 'entity_type' => array(
  11892. 'type' => 'varchar',
  11893. 'not null' => TRUE,
  11894. 'length' => '128',
  11895. 'default' => '',
  11896. ),
  11897. 'bundle' => array(
  11898. 'type' => 'varchar',
  11899. 'not null' => TRUE,
  11900. 'length' => '128',
  11901. 'default' => '',
  11902. ),
  11903. 'deleted' => array(
  11904. 'type' => 'int',
  11905. 'not null' => TRUE,
  11906. 'size' => 'normal',
  11907. 'default' => '0',
  11908. ),
  11909. 'entity_id' => array(
  11910. 'type' => 'int',
  11911. 'not null' => TRUE,
  11912. 'size' => 'normal',
  11913. 'unsigned' => TRUE,
  11914. ),
  11915. 'revision_id' => array(
  11916. 'type' => 'int',
  11917. 'not null' => TRUE,
  11918. 'size' => 'normal',
  11919. 'unsigned' => TRUE,
  11920. ),
  11921. 'language' => array(
  11922. 'type' => 'varchar',
  11923. 'not null' => TRUE,
  11924. 'length' => '32',
  11925. 'default' => '',
  11926. ),
  11927. 'delta' => array(
  11928. 'type' => 'int',
  11929. 'not null' => TRUE,
  11930. 'size' => 'normal',
  11931. 'unsigned' => TRUE,
  11932. ),
  11933. 'field_integer_list_value' => array(
  11934. 'type' => 'int',
  11935. 'not null' => FALSE,
  11936. 'size' => 'normal',
  11937. ),
  11938. ),
  11939. 'primary key' => array(
  11940. 'entity_type',
  11941. 'deleted',
  11942. 'entity_id',
  11943. 'revision_id',
  11944. 'language',
  11945. 'delta',
  11946. ),
  11947. 'mysql_character_set' => 'utf8',
  11948. ));
  11949. $connection->insert('field_revision_field_integer_list')
  11950. ->fields(array(
  11951. 'entity_type',
  11952. 'bundle',
  11953. 'deleted',
  11954. 'entity_id',
  11955. 'revision_id',
  11956. 'language',
  11957. 'delta',
  11958. 'field_integer_list_value',
  11959. ))
  11960. ->values(array(
  11961. 'entity_type' => 'node',
  11962. 'bundle' => 'test_content_type',
  11963. 'deleted' => '0',
  11964. 'entity_id' => '1',
  11965. 'revision_id' => '1',
  11966. 'language' => 'und',
  11967. 'delta' => '0',
  11968. 'field_integer_list_value' => '7',
  11969. ))
  11970. ->execute();
  11971. $connection->schema()->createTable('field_revision_field_link', array(
  11972. 'fields' => array(
  11973. 'entity_type' => array(
  11974. 'type' => 'varchar',
  11975. 'not null' => TRUE,
  11976. 'length' => '128',
  11977. 'default' => '',
  11978. ),
  11979. 'bundle' => array(
  11980. 'type' => 'varchar',
  11981. 'not null' => TRUE,
  11982. 'length' => '128',
  11983. 'default' => '',
  11984. ),
  11985. 'deleted' => array(
  11986. 'type' => 'int',
  11987. 'not null' => TRUE,
  11988. 'size' => 'normal',
  11989. 'default' => '0',
  11990. ),
  11991. 'entity_id' => array(
  11992. 'type' => 'int',
  11993. 'not null' => TRUE,
  11994. 'size' => 'normal',
  11995. 'unsigned' => TRUE,
  11996. ),
  11997. 'revision_id' => array(
  11998. 'type' => 'int',
  11999. 'not null' => TRUE,
  12000. 'size' => 'normal',
  12001. 'unsigned' => TRUE,
  12002. ),
  12003. 'language' => array(
  12004. 'type' => 'varchar',
  12005. 'not null' => TRUE,
  12006. 'length' => '32',
  12007. 'default' => '',
  12008. ),
  12009. 'delta' => array(
  12010. 'type' => 'int',
  12011. 'not null' => TRUE,
  12012. 'size' => 'normal',
  12013. 'unsigned' => TRUE,
  12014. ),
  12015. 'field_link_url' => array(
  12016. 'type' => 'varchar',
  12017. 'not null' => FALSE,
  12018. 'length' => '2048',
  12019. ),
  12020. 'field_link_title' => array(
  12021. 'type' => 'varchar',
  12022. 'not null' => FALSE,
  12023. 'length' => '255',
  12024. ),
  12025. 'field_link_attributes' => array(
  12026. 'type' => 'text',
  12027. 'not null' => FALSE,
  12028. 'size' => 'normal',
  12029. ),
  12030. ),
  12031. 'primary key' => array(
  12032. 'entity_type',
  12033. 'deleted',
  12034. 'entity_id',
  12035. 'revision_id',
  12036. 'language',
  12037. 'delta',
  12038. ),
  12039. 'mysql_character_set' => 'utf8',
  12040. ));
  12041. $connection->insert('field_revision_field_link')
  12042. ->fields(array(
  12043. 'entity_type',
  12044. 'bundle',
  12045. 'deleted',
  12046. 'entity_id',
  12047. 'revision_id',
  12048. 'language',
  12049. 'delta',
  12050. 'field_link_url',
  12051. 'field_link_title',
  12052. 'field_link_attributes',
  12053. ))
  12054. ->values(array(
  12055. 'entity_type' => 'node',
  12056. 'bundle' => 'test_content_type',
  12057. 'deleted' => '0',
  12058. 'entity_id' => '1',
  12059. 'revision_id' => '1',
  12060. 'language' => 'und',
  12061. 'delta' => '0',
  12062. 'field_link_url' => 'http://google.com',
  12063. 'field_link_title' => 'Click Here',
  12064. 'field_link_attributes' => 'a:1:{s:5:"title";s:10:"Click Here";}',
  12065. ))
  12066. ->values(array(
  12067. 'entity_type' => 'node',
  12068. 'bundle' => 'article',
  12069. 'deleted' => '0',
  12070. 'entity_id' => '2',
  12071. 'revision_id' => '2',
  12072. 'language' => 'und',
  12073. 'delta' => '0',
  12074. 'field_link_url' => '<front>',
  12075. 'field_link_title' => 'Home',
  12076. 'field_link_attributes' => 'a:0:{}',
  12077. ))
  12078. ->values(array(
  12079. 'entity_type' => 'node',
  12080. 'bundle' => 'article',
  12081. 'deleted' => '0',
  12082. 'entity_id' => '3',
  12083. 'revision_id' => '3',
  12084. 'language' => 'und',
  12085. 'delta' => '0',
  12086. 'field_link_url' => '<front>',
  12087. 'field_link_title' => 'Home',
  12088. 'field_link_attributes' => 'a:1:{s:5:"title";s:0:"";}',
  12089. ))
  12090. ->execute();
  12091. $connection->schema()->createTable('field_revision_field_long_text', array(
  12092. 'fields' => array(
  12093. 'entity_type' => array(
  12094. 'type' => 'varchar',
  12095. 'not null' => TRUE,
  12096. 'length' => '128',
  12097. 'default' => '',
  12098. ),
  12099. 'bundle' => array(
  12100. 'type' => 'varchar',
  12101. 'not null' => TRUE,
  12102. 'length' => '128',
  12103. 'default' => '',
  12104. ),
  12105. 'deleted' => array(
  12106. 'type' => 'int',
  12107. 'not null' => TRUE,
  12108. 'size' => 'normal',
  12109. 'default' => '0',
  12110. ),
  12111. 'entity_id' => array(
  12112. 'type' => 'int',
  12113. 'not null' => TRUE,
  12114. 'size' => 'normal',
  12115. 'unsigned' => TRUE,
  12116. ),
  12117. 'revision_id' => array(
  12118. 'type' => 'int',
  12119. 'not null' => TRUE,
  12120. 'size' => 'normal',
  12121. 'unsigned' => TRUE,
  12122. ),
  12123. 'language' => array(
  12124. 'type' => 'varchar',
  12125. 'not null' => TRUE,
  12126. 'length' => '32',
  12127. 'default' => '',
  12128. ),
  12129. 'delta' => array(
  12130. 'type' => 'int',
  12131. 'not null' => TRUE,
  12132. 'size' => 'normal',
  12133. 'unsigned' => TRUE,
  12134. ),
  12135. 'field_long_text_value' => array(
  12136. 'type' => 'text',
  12137. 'not null' => FALSE,
  12138. 'size' => 'normal',
  12139. ),
  12140. 'field_long_text_summary' => array(
  12141. 'type' => 'text',
  12142. 'not null' => FALSE,
  12143. 'size' => 'normal',
  12144. ),
  12145. 'field_long_text_format' => array(
  12146. 'type' => 'varchar',
  12147. 'not null' => FALSE,
  12148. 'length' => '255',
  12149. ),
  12150. ),
  12151. 'primary key' => array(
  12152. 'entity_type',
  12153. 'deleted',
  12154. 'entity_id',
  12155. 'revision_id',
  12156. 'language',
  12157. 'delta',
  12158. ),
  12159. 'mysql_character_set' => 'utf8',
  12160. ));
  12161. $connection->schema()->createTable('field_revision_field_node_entityreference', array(
  12162. 'fields' => array(
  12163. 'entity_type' => array(
  12164. 'type' => 'varchar',
  12165. 'not null' => TRUE,
  12166. 'length' => '128',
  12167. 'default' => '',
  12168. ),
  12169. 'bundle' => array(
  12170. 'type' => 'varchar',
  12171. 'not null' => TRUE,
  12172. 'length' => '128',
  12173. 'default' => '',
  12174. ),
  12175. 'deleted' => array(
  12176. 'type' => 'int',
  12177. 'not null' => TRUE,
  12178. 'size' => 'tiny',
  12179. 'default' => '0',
  12180. ),
  12181. 'entity_id' => array(
  12182. 'type' => 'int',
  12183. 'not null' => TRUE,
  12184. 'size' => 'normal',
  12185. 'unsigned' => TRUE,
  12186. ),
  12187. 'revision_id' => array(
  12188. 'type' => 'int',
  12189. 'not null' => TRUE,
  12190. 'size' => 'normal',
  12191. 'unsigned' => TRUE,
  12192. ),
  12193. 'language' => array(
  12194. 'type' => 'varchar',
  12195. 'not null' => TRUE,
  12196. 'length' => '32',
  12197. 'default' => '',
  12198. ),
  12199. 'delta' => array(
  12200. 'type' => 'int',
  12201. 'not null' => TRUE,
  12202. 'size' => 'normal',
  12203. 'unsigned' => TRUE,
  12204. ),
  12205. 'field_node_entityreference_target_id' => array(
  12206. 'type' => 'int',
  12207. 'not null' => TRUE,
  12208. 'size' => 'normal',
  12209. 'unsigned' => TRUE,
  12210. ),
  12211. ),
  12212. 'primary key' => array(
  12213. 'entity_type',
  12214. 'entity_id',
  12215. 'revision_id',
  12216. 'deleted',
  12217. 'delta',
  12218. 'language',
  12219. ),
  12220. 'indexes' => array(
  12221. 'entity_type' => array(
  12222. 'entity_type',
  12223. ),
  12224. 'bundle' => array(
  12225. 'bundle',
  12226. ),
  12227. 'deleted' => array(
  12228. 'deleted',
  12229. ),
  12230. 'entity_id' => array(
  12231. 'entity_id',
  12232. ),
  12233. 'revision_id' => array(
  12234. 'revision_id',
  12235. ),
  12236. 'language' => array(
  12237. 'language',
  12238. ),
  12239. 'field_node_entityreference_target_id' => array(
  12240. 'field_node_entityreference_target_id',
  12241. ),
  12242. ),
  12243. 'mysql_character_set' => 'utf8',
  12244. ));
  12245. $connection->insert('field_revision_field_node_entityreference')
  12246. ->fields(array(
  12247. 'entity_type',
  12248. 'bundle',
  12249. 'deleted',
  12250. 'entity_id',
  12251. 'revision_id',
  12252. 'language',
  12253. 'delta',
  12254. 'field_node_entityreference_target_id',
  12255. ))
  12256. ->values(array(
  12257. 'entity_type' => 'node',
  12258. 'bundle' => 'test_content_type',
  12259. 'deleted' => '0',
  12260. 'entity_id' => '1',
  12261. 'revision_id' => '1',
  12262. 'language' => 'und',
  12263. 'delta' => '0',
  12264. 'field_node_entityreference_target_id' => '2',
  12265. ))
  12266. ->execute();
  12267. $connection->schema()->createTable('field_revision_field_phone', array(
  12268. 'fields' => array(
  12269. 'entity_type' => array(
  12270. 'type' => 'varchar',
  12271. 'not null' => TRUE,
  12272. 'length' => '128',
  12273. 'default' => '',
  12274. ),
  12275. 'bundle' => array(
  12276. 'type' => 'varchar',
  12277. 'not null' => TRUE,
  12278. 'length' => '128',
  12279. 'default' => '',
  12280. ),
  12281. 'deleted' => array(
  12282. 'type' => 'int',
  12283. 'not null' => TRUE,
  12284. 'size' => 'normal',
  12285. 'default' => '0',
  12286. ),
  12287. 'entity_id' => array(
  12288. 'type' => 'int',
  12289. 'not null' => TRUE,
  12290. 'size' => 'normal',
  12291. 'unsigned' => TRUE,
  12292. ),
  12293. 'revision_id' => array(
  12294. 'type' => 'int',
  12295. 'not null' => TRUE,
  12296. 'size' => 'normal',
  12297. 'unsigned' => TRUE,
  12298. ),
  12299. 'language' => array(
  12300. 'type' => 'varchar',
  12301. 'not null' => TRUE,
  12302. 'length' => '32',
  12303. 'default' => '',
  12304. ),
  12305. 'delta' => array(
  12306. 'type' => 'int',
  12307. 'not null' => TRUE,
  12308. 'size' => 'normal',
  12309. 'unsigned' => TRUE,
  12310. ),
  12311. 'field_phone_value' => array(
  12312. 'type' => 'varchar',
  12313. 'not null' => FALSE,
  12314. 'length' => '255',
  12315. ),
  12316. ),
  12317. 'primary key' => array(
  12318. 'entity_type',
  12319. 'deleted',
  12320. 'entity_id',
  12321. 'revision_id',
  12322. 'language',
  12323. 'delta',
  12324. ),
  12325. 'mysql_character_set' => 'utf8',
  12326. ));
  12327. $connection->insert('field_revision_field_phone')
  12328. ->fields(array(
  12329. 'entity_type',
  12330. 'bundle',
  12331. 'deleted',
  12332. 'entity_id',
  12333. 'revision_id',
  12334. 'language',
  12335. 'delta',
  12336. 'field_phone_value',
  12337. ))
  12338. ->values(array(
  12339. 'entity_type' => 'node',
  12340. 'bundle' => 'test_content_type',
  12341. 'deleted' => '0',
  12342. 'entity_id' => '1',
  12343. 'revision_id' => '1',
  12344. 'language' => 'und',
  12345. 'delta' => '0',
  12346. 'field_phone_value' => '99-99-99-99',
  12347. ))
  12348. ->values(array(
  12349. 'entity_type' => 'node',
  12350. 'bundle' => 'test_content_type',
  12351. 'deleted' => '0',
  12352. 'entity_id' => '1',
  12353. 'revision_id' => '6',
  12354. 'language' => 'und',
  12355. 'delta' => '0',
  12356. 'field_phone_value' => '99-99-99-99',
  12357. ))
  12358. ->execute();
  12359. $connection->schema()->createTable('field_revision_field_private_file', array(
  12360. 'fields' => array(
  12361. 'entity_type' => array(
  12362. 'type' => 'varchar',
  12363. 'not null' => TRUE,
  12364. 'length' => '128',
  12365. 'default' => '',
  12366. ),
  12367. 'bundle' => array(
  12368. 'type' => 'varchar',
  12369. 'not null' => TRUE,
  12370. 'length' => '128',
  12371. 'default' => '',
  12372. ),
  12373. 'deleted' => array(
  12374. 'type' => 'int',
  12375. 'not null' => TRUE,
  12376. 'size' => 'tiny',
  12377. 'default' => '0',
  12378. ),
  12379. 'entity_id' => array(
  12380. 'type' => 'int',
  12381. 'not null' => TRUE,
  12382. 'size' => 'normal',
  12383. 'unsigned' => TRUE,
  12384. ),
  12385. 'revision_id' => array(
  12386. 'type' => 'int',
  12387. 'not null' => TRUE,
  12388. 'size' => 'normal',
  12389. 'unsigned' => TRUE,
  12390. ),
  12391. 'language' => array(
  12392. 'type' => 'varchar',
  12393. 'not null' => TRUE,
  12394. 'length' => '32',
  12395. 'default' => '',
  12396. ),
  12397. 'delta' => array(
  12398. 'type' => 'int',
  12399. 'not null' => TRUE,
  12400. 'size' => 'normal',
  12401. 'unsigned' => TRUE,
  12402. ),
  12403. 'field_private_file_fid' => array(
  12404. 'type' => 'int',
  12405. 'not null' => FALSE,
  12406. 'size' => 'normal',
  12407. 'unsigned' => TRUE,
  12408. ),
  12409. 'field_private_file_display' => array(
  12410. 'type' => 'int',
  12411. 'not null' => TRUE,
  12412. 'size' => 'tiny',
  12413. 'default' => '1',
  12414. 'unsigned' => TRUE,
  12415. ),
  12416. 'field_private_file_description' => array(
  12417. 'type' => 'text',
  12418. 'not null' => FALSE,
  12419. 'size' => 'normal',
  12420. ),
  12421. ),
  12422. 'primary key' => array(
  12423. 'entity_type',
  12424. 'entity_id',
  12425. 'revision_id',
  12426. 'deleted',
  12427. 'delta',
  12428. 'language',
  12429. ),
  12430. 'indexes' => array(
  12431. 'entity_type' => array(
  12432. 'entity_type',
  12433. ),
  12434. 'bundle' => array(
  12435. 'bundle',
  12436. ),
  12437. 'deleted' => array(
  12438. 'deleted',
  12439. ),
  12440. 'entity_id' => array(
  12441. 'entity_id',
  12442. ),
  12443. 'revision_id' => array(
  12444. 'revision_id',
  12445. ),
  12446. 'language' => array(
  12447. 'language',
  12448. ),
  12449. 'field_private_file_fid' => array(
  12450. 'field_private_file_fid',
  12451. ),
  12452. ),
  12453. 'mysql_character_set' => 'utf8',
  12454. ));
  12455. $connection->insert('field_revision_field_private_file')
  12456. ->fields(array(
  12457. 'entity_type',
  12458. 'bundle',
  12459. 'deleted',
  12460. 'entity_id',
  12461. 'revision_id',
  12462. 'language',
  12463. 'delta',
  12464. 'field_private_file_fid',
  12465. 'field_private_file_display',
  12466. 'field_private_file_description',
  12467. ))
  12468. ->values(array(
  12469. 'entity_type' => 'node',
  12470. 'bundle' => 'test_content_type',
  12471. 'deleted' => '0',
  12472. 'entity_id' => '1',
  12473. 'revision_id' => '6',
  12474. 'language' => 'und',
  12475. 'delta' => '0',
  12476. 'field_private_file_fid' => '4',
  12477. 'field_private_file_display' => '1',
  12478. 'field_private_file_description' => '',
  12479. ))
  12480. ->execute();
  12481. $connection->schema()->createTable('field_revision_field_rating', array(
  12482. 'fields' => array(
  12483. 'entity_type' => array(
  12484. 'type' => 'varchar',
  12485. 'not null' => TRUE,
  12486. 'length' => '128',
  12487. 'default' => '',
  12488. ),
  12489. 'bundle' => array(
  12490. 'type' => 'varchar',
  12491. 'not null' => TRUE,
  12492. 'length' => '128',
  12493. 'default' => '',
  12494. ),
  12495. 'deleted' => array(
  12496. 'type' => 'int',
  12497. 'not null' => TRUE,
  12498. 'size' => 'tiny',
  12499. 'default' => '0',
  12500. ),
  12501. 'entity_id' => array(
  12502. 'type' => 'int',
  12503. 'not null' => TRUE,
  12504. 'size' => 'normal',
  12505. 'unsigned' => TRUE,
  12506. ),
  12507. 'revision_id' => array(
  12508. 'type' => 'int',
  12509. 'not null' => TRUE,
  12510. 'size' => 'normal',
  12511. 'unsigned' => TRUE,
  12512. ),
  12513. 'language' => array(
  12514. 'type' => 'varchar',
  12515. 'not null' => TRUE,
  12516. 'length' => '32',
  12517. 'default' => '',
  12518. ),
  12519. 'delta' => array(
  12520. 'type' => 'int',
  12521. 'not null' => TRUE,
  12522. 'size' => 'normal',
  12523. 'unsigned' => TRUE,
  12524. ),
  12525. 'field_rating_value' => array(
  12526. 'type' => 'varchar',
  12527. 'not null' => FALSE,
  12528. 'length' => '255',
  12529. ),
  12530. ),
  12531. 'primary key' => array(
  12532. 'entity_type',
  12533. 'entity_id',
  12534. 'revision_id',
  12535. 'deleted',
  12536. 'delta',
  12537. 'language',
  12538. ),
  12539. 'indexes' => array(
  12540. 'entity_type' => array(
  12541. 'entity_type',
  12542. ),
  12543. 'bundle' => array(
  12544. 'bundle',
  12545. ),
  12546. 'deleted' => array(
  12547. 'deleted',
  12548. ),
  12549. 'entity_id' => array(
  12550. 'entity_id',
  12551. ),
  12552. 'revision_id' => array(
  12553. 'revision_id',
  12554. ),
  12555. 'language' => array(
  12556. 'language',
  12557. ),
  12558. 'field_rating_value' => array(
  12559. array(
  12560. 'field_rating_value',
  12561. '191',
  12562. ),
  12563. ),
  12564. ),
  12565. 'mysql_character_set' => 'utf8',
  12566. ));
  12567. $connection->insert('field_revision_field_rating')
  12568. ->fields(array(
  12569. 'entity_type',
  12570. 'bundle',
  12571. 'deleted',
  12572. 'entity_id',
  12573. 'revision_id',
  12574. 'language',
  12575. 'delta',
  12576. 'field_rating_value',
  12577. ))
  12578. ->values(array(
  12579. 'entity_type' => 'node',
  12580. 'bundle' => 'blog',
  12581. 'deleted' => '0',
  12582. 'entity_id' => '8',
  12583. 'revision_id' => '8',
  12584. 'language' => 'en',
  12585. 'delta' => '0',
  12586. 'field_rating_value' => '1',
  12587. ))
  12588. ->values(array(
  12589. 'entity_type' => 'node',
  12590. 'bundle' => 'blog',
  12591. 'deleted' => '0',
  12592. 'entity_id' => '9',
  12593. 'revision_id' => '9',
  12594. 'language' => 'fr',
  12595. 'delta' => '0',
  12596. 'field_rating_value' => '3',
  12597. ))
  12598. ->values(array(
  12599. 'entity_type' => 'node',
  12600. 'bundle' => 'blog',
  12601. 'deleted' => '0',
  12602. 'entity_id' => '10',
  12603. 'revision_id' => '10',
  12604. 'language' => 'is',
  12605. 'delta' => '0',
  12606. 'field_rating_value' => '2',
  12607. ))
  12608. ->execute();
  12609. $connection->schema()->createTable('field_revision_field_reference', array(
  12610. 'fields' => array(
  12611. 'entity_type' => array(
  12612. 'type' => 'varchar',
  12613. 'not null' => TRUE,
  12614. 'length' => '128',
  12615. 'default' => '',
  12616. ),
  12617. 'bundle' => array(
  12618. 'type' => 'varchar',
  12619. 'not null' => TRUE,
  12620. 'length' => '128',
  12621. 'default' => '',
  12622. ),
  12623. 'deleted' => array(
  12624. 'type' => 'int',
  12625. 'not null' => TRUE,
  12626. 'size' => 'tiny',
  12627. 'default' => '0',
  12628. ),
  12629. 'entity_id' => array(
  12630. 'type' => 'int',
  12631. 'not null' => TRUE,
  12632. 'size' => 'normal',
  12633. 'unsigned' => TRUE,
  12634. ),
  12635. 'revision_id' => array(
  12636. 'type' => 'int',
  12637. 'not null' => TRUE,
  12638. 'size' => 'normal',
  12639. 'unsigned' => TRUE,
  12640. ),
  12641. 'language' => array(
  12642. 'type' => 'varchar',
  12643. 'not null' => TRUE,
  12644. 'length' => '32',
  12645. 'default' => '',
  12646. ),
  12647. 'delta' => array(
  12648. 'type' => 'int',
  12649. 'not null' => TRUE,
  12650. 'size' => 'normal',
  12651. 'unsigned' => TRUE,
  12652. ),
  12653. 'field_reference_target_id' => array(
  12654. 'type' => 'int',
  12655. 'not null' => TRUE,
  12656. 'size' => 'normal',
  12657. 'unsigned' => TRUE,
  12658. ),
  12659. ),
  12660. 'primary key' => array(
  12661. 'entity_type',
  12662. 'entity_id',
  12663. 'revision_id',
  12664. 'deleted',
  12665. 'delta',
  12666. 'language',
  12667. ),
  12668. 'indexes' => array(
  12669. 'entity_type' => array(
  12670. 'entity_type',
  12671. ),
  12672. 'bundle' => array(
  12673. 'bundle',
  12674. ),
  12675. 'deleted' => array(
  12676. 'deleted',
  12677. ),
  12678. 'entity_id' => array(
  12679. 'entity_id',
  12680. ),
  12681. 'revision_id' => array(
  12682. 'revision_id',
  12683. ),
  12684. 'language' => array(
  12685. 'language',
  12686. ),
  12687. 'field_reference_target_id' => array(
  12688. 'field_reference_target_id',
  12689. ),
  12690. ),
  12691. 'mysql_character_set' => 'utf8',
  12692. ));
  12693. $connection->insert('field_revision_field_reference')
  12694. ->fields(array(
  12695. 'entity_type',
  12696. 'bundle',
  12697. 'deleted',
  12698. 'entity_id',
  12699. 'revision_id',
  12700. 'language',
  12701. 'delta',
  12702. 'field_reference_target_id',
  12703. ))
  12704. ->values(array(
  12705. 'entity_type' => 'node',
  12706. 'bundle' => 'article',
  12707. 'deleted' => '0',
  12708. 'entity_id' => '2',
  12709. 'revision_id' => '2',
  12710. 'language' => 'und',
  12711. 'delta' => '0',
  12712. 'field_reference_target_id' => '5',
  12713. ))
  12714. ->values(array(
  12715. 'entity_type' => 'node',
  12716. 'bundle' => 'article',
  12717. 'deleted' => '0',
  12718. 'entity_id' => '3',
  12719. 'revision_id' => '3',
  12720. 'language' => 'und',
  12721. 'delta' => '0',
  12722. 'field_reference_target_id' => '4',
  12723. ))
  12724. ->values(array(
  12725. 'entity_type' => 'node',
  12726. 'bundle' => 'article',
  12727. 'deleted' => '0',
  12728. 'entity_id' => '4',
  12729. 'revision_id' => '4',
  12730. 'language' => 'und',
  12731. 'delta' => '0',
  12732. 'field_reference_target_id' => '3',
  12733. ))
  12734. ->values(array(
  12735. 'entity_type' => 'node',
  12736. 'bundle' => 'article',
  12737. 'deleted' => '0',
  12738. 'entity_id' => '5',
  12739. 'revision_id' => '5',
  12740. 'language' => 'und',
  12741. 'delta' => '0',
  12742. 'field_reference_target_id' => '2',
  12743. ))
  12744. ->execute();
  12745. $connection->schema()->createTable('field_revision_field_reference_2', array(
  12746. 'fields' => array(
  12747. 'entity_type' => array(
  12748. 'type' => 'varchar',
  12749. 'not null' => TRUE,
  12750. 'length' => '128',
  12751. 'default' => '',
  12752. ),
  12753. 'bundle' => array(
  12754. 'type' => 'varchar',
  12755. 'not null' => TRUE,
  12756. 'length' => '128',
  12757. 'default' => '',
  12758. ),
  12759. 'deleted' => array(
  12760. 'type' => 'int',
  12761. 'not null' => TRUE,
  12762. 'size' => 'tiny',
  12763. 'default' => '0',
  12764. ),
  12765. 'entity_id' => array(
  12766. 'type' => 'int',
  12767. 'not null' => TRUE,
  12768. 'size' => 'normal',
  12769. 'unsigned' => TRUE,
  12770. ),
  12771. 'revision_id' => array(
  12772. 'type' => 'int',
  12773. 'not null' => TRUE,
  12774. 'size' => 'normal',
  12775. 'unsigned' => TRUE,
  12776. ),
  12777. 'language' => array(
  12778. 'type' => 'varchar',
  12779. 'not null' => TRUE,
  12780. 'length' => '32',
  12781. 'default' => '',
  12782. ),
  12783. 'delta' => array(
  12784. 'type' => 'int',
  12785. 'not null' => TRUE,
  12786. 'size' => 'normal',
  12787. 'unsigned' => TRUE,
  12788. ),
  12789. 'field_reference_2_target_id' => array(
  12790. 'type' => 'int',
  12791. 'not null' => TRUE,
  12792. 'size' => 'normal',
  12793. 'unsigned' => TRUE,
  12794. ),
  12795. ),
  12796. 'primary key' => array(
  12797. 'entity_type',
  12798. 'entity_id',
  12799. 'revision_id',
  12800. 'deleted',
  12801. 'delta',
  12802. 'language',
  12803. ),
  12804. 'indexes' => array(
  12805. 'entity_type' => array(
  12806. 'entity_type',
  12807. ),
  12808. 'bundle' => array(
  12809. 'bundle',
  12810. ),
  12811. 'deleted' => array(
  12812. 'deleted',
  12813. ),
  12814. 'entity_id' => array(
  12815. 'entity_id',
  12816. ),
  12817. 'revision_id' => array(
  12818. 'revision_id',
  12819. ),
  12820. 'language' => array(
  12821. 'language',
  12822. ),
  12823. 'field_reference_2_target_id' => array(
  12824. 'field_reference_2_target_id',
  12825. ),
  12826. ),
  12827. 'mysql_character_set' => 'utf8',
  12828. ));
  12829. $connection->insert('field_revision_field_reference_2')
  12830. ->fields(array(
  12831. 'entity_type',
  12832. 'bundle',
  12833. 'deleted',
  12834. 'entity_id',
  12835. 'revision_id',
  12836. 'language',
  12837. 'delta',
  12838. 'field_reference_2_target_id',
  12839. ))
  12840. ->values(array(
  12841. 'entity_type' => 'node',
  12842. 'bundle' => 'article',
  12843. 'deleted' => '0',
  12844. 'entity_id' => '2',
  12845. 'revision_id' => '2',
  12846. 'language' => 'und',
  12847. 'delta' => '0',
  12848. 'field_reference_2_target_id' => '5',
  12849. ))
  12850. ->values(array(
  12851. 'entity_type' => 'node',
  12852. 'bundle' => 'article',
  12853. 'deleted' => '0',
  12854. 'entity_id' => '3',
  12855. 'revision_id' => '3',
  12856. 'language' => 'und',
  12857. 'delta' => '0',
  12858. 'field_reference_2_target_id' => '4',
  12859. ))
  12860. ->values(array(
  12861. 'entity_type' => 'node',
  12862. 'bundle' => 'article',
  12863. 'deleted' => '0',
  12864. 'entity_id' => '4',
  12865. 'revision_id' => '4',
  12866. 'language' => 'und',
  12867. 'delta' => '0',
  12868. 'field_reference_2_target_id' => '3',
  12869. ))
  12870. ->values(array(
  12871. 'entity_type' => 'node',
  12872. 'bundle' => 'article',
  12873. 'deleted' => '0',
  12874. 'entity_id' => '5',
  12875. 'revision_id' => '5',
  12876. 'language' => 'und',
  12877. 'delta' => '0',
  12878. 'field_reference_2_target_id' => '2',
  12879. ))
  12880. ->execute();
  12881. $connection->schema()->createTable('field_revision_field_tags', array(
  12882. 'fields' => array(
  12883. 'entity_type' => array(
  12884. 'type' => 'varchar',
  12885. 'not null' => TRUE,
  12886. 'length' => '128',
  12887. 'default' => '',
  12888. ),
  12889. 'bundle' => array(
  12890. 'type' => 'varchar',
  12891. 'not null' => TRUE,
  12892. 'length' => '128',
  12893. 'default' => '',
  12894. ),
  12895. 'deleted' => array(
  12896. 'type' => 'int',
  12897. 'not null' => TRUE,
  12898. 'size' => 'normal',
  12899. 'default' => '0',
  12900. ),
  12901. 'entity_id' => array(
  12902. 'type' => 'int',
  12903. 'not null' => TRUE,
  12904. 'size' => 'normal',
  12905. 'unsigned' => TRUE,
  12906. ),
  12907. 'revision_id' => array(
  12908. 'type' => 'int',
  12909. 'not null' => TRUE,
  12910. 'size' => 'normal',
  12911. 'unsigned' => TRUE,
  12912. ),
  12913. 'language' => array(
  12914. 'type' => 'varchar',
  12915. 'not null' => TRUE,
  12916. 'length' => '32',
  12917. 'default' => '',
  12918. ),
  12919. 'delta' => array(
  12920. 'type' => 'int',
  12921. 'not null' => TRUE,
  12922. 'size' => 'normal',
  12923. 'unsigned' => TRUE,
  12924. ),
  12925. 'field_tags_tid' => array(
  12926. 'type' => 'int',
  12927. 'not null' => FALSE,
  12928. 'size' => 'normal',
  12929. 'unsigned' => TRUE,
  12930. ),
  12931. ),
  12932. 'primary key' => array(
  12933. 'entity_type',
  12934. 'deleted',
  12935. 'entity_id',
  12936. 'revision_id',
  12937. 'language',
  12938. 'delta',
  12939. ),
  12940. 'mysql_character_set' => 'utf8',
  12941. ));
  12942. $connection->insert('field_revision_field_tags')
  12943. ->fields(array(
  12944. 'entity_type',
  12945. 'bundle',
  12946. 'deleted',
  12947. 'entity_id',
  12948. 'revision_id',
  12949. 'language',
  12950. 'delta',
  12951. 'field_tags_tid',
  12952. ))
  12953. ->values(array(
  12954. 'entity_type' => 'node',
  12955. 'bundle' => 'article',
  12956. 'deleted' => '0',
  12957. 'entity_id' => '2',
  12958. 'revision_id' => '2',
  12959. 'language' => 'und',
  12960. 'delta' => '0',
  12961. 'field_tags_tid' => '9',
  12962. ))
  12963. ->values(array(
  12964. 'entity_type' => 'node',
  12965. 'bundle' => 'article',
  12966. 'deleted' => '0',
  12967. 'entity_id' => '3',
  12968. 'revision_id' => '3',
  12969. 'language' => 'und',
  12970. 'delta' => '0',
  12971. 'field_tags_tid' => '9',
  12972. ))
  12973. ->values(array(
  12974. 'entity_type' => 'node',
  12975. 'bundle' => 'article',
  12976. 'deleted' => '0',
  12977. 'entity_id' => '2',
  12978. 'revision_id' => '2',
  12979. 'language' => 'und',
  12980. 'delta' => '1',
  12981. 'field_tags_tid' => '14',
  12982. ))
  12983. ->values(array(
  12984. 'entity_type' => 'node',
  12985. 'bundle' => 'article',
  12986. 'deleted' => '0',
  12987. 'entity_id' => '3',
  12988. 'revision_id' => '3',
  12989. 'language' => 'und',
  12990. 'delta' => '1',
  12991. 'field_tags_tid' => '14',
  12992. ))
  12993. ->values(array(
  12994. 'entity_type' => 'node',
  12995. 'bundle' => 'article',
  12996. 'deleted' => '0',
  12997. 'entity_id' => '2',
  12998. 'revision_id' => '2',
  12999. 'language' => 'und',
  13000. 'delta' => '2',
  13001. 'field_tags_tid' => '17',
  13002. ))
  13003. ->values(array(
  13004. 'entity_type' => 'node',
  13005. 'bundle' => 'article',
  13006. 'deleted' => '0',
  13007. 'entity_id' => '3',
  13008. 'revision_id' => '3',
  13009. 'language' => 'und',
  13010. 'delta' => '2',
  13011. 'field_tags_tid' => '17',
  13012. ))
  13013. ->execute();
  13014. $connection->schema()->createTable('field_revision_field_term_entityreference', array(
  13015. 'fields' => array(
  13016. 'entity_type' => array(
  13017. 'type' => 'varchar',
  13018. 'not null' => TRUE,
  13019. 'length' => '128',
  13020. 'default' => '',
  13021. ),
  13022. 'bundle' => array(
  13023. 'type' => 'varchar',
  13024. 'not null' => TRUE,
  13025. 'length' => '128',
  13026. 'default' => '',
  13027. ),
  13028. 'deleted' => array(
  13029. 'type' => 'int',
  13030. 'not null' => TRUE,
  13031. 'size' => 'tiny',
  13032. 'default' => '0',
  13033. ),
  13034. 'entity_id' => array(
  13035. 'type' => 'int',
  13036. 'not null' => TRUE,
  13037. 'size' => 'normal',
  13038. 'unsigned' => TRUE,
  13039. ),
  13040. 'revision_id' => array(
  13041. 'type' => 'int',
  13042. 'not null' => TRUE,
  13043. 'size' => 'normal',
  13044. 'unsigned' => TRUE,
  13045. ),
  13046. 'language' => array(
  13047. 'type' => 'varchar',
  13048. 'not null' => TRUE,
  13049. 'length' => '32',
  13050. 'default' => '',
  13051. ),
  13052. 'delta' => array(
  13053. 'type' => 'int',
  13054. 'not null' => TRUE,
  13055. 'size' => 'normal',
  13056. 'unsigned' => TRUE,
  13057. ),
  13058. 'field_term_entityreference_target_id' => array(
  13059. 'type' => 'int',
  13060. 'not null' => TRUE,
  13061. 'size' => 'normal',
  13062. 'unsigned' => TRUE,
  13063. ),
  13064. ),
  13065. 'primary key' => array(
  13066. 'entity_type',
  13067. 'entity_id',
  13068. 'revision_id',
  13069. 'deleted',
  13070. 'delta',
  13071. 'language',
  13072. ),
  13073. 'indexes' => array(
  13074. 'entity_type' => array(
  13075. 'entity_type',
  13076. ),
  13077. 'bundle' => array(
  13078. 'bundle',
  13079. ),
  13080. 'deleted' => array(
  13081. 'deleted',
  13082. ),
  13083. 'entity_id' => array(
  13084. 'entity_id',
  13085. ),
  13086. 'revision_id' => array(
  13087. 'revision_id',
  13088. ),
  13089. 'language' => array(
  13090. 'language',
  13091. ),
  13092. 'field_term_entityreference_target_id' => array(
  13093. 'field_term_entityreference_target_id',
  13094. ),
  13095. ),
  13096. 'mysql_character_set' => 'utf8',
  13097. ));
  13098. $connection->insert('field_revision_field_term_entityreference')
  13099. ->fields(array(
  13100. 'entity_type',
  13101. 'bundle',
  13102. 'deleted',
  13103. 'entity_id',
  13104. 'revision_id',
  13105. 'language',
  13106. 'delta',
  13107. 'field_term_entityreference_target_id',
  13108. ))
  13109. ->values(array(
  13110. 'entity_type' => 'node',
  13111. 'bundle' => 'test_content_type',
  13112. 'deleted' => '0',
  13113. 'entity_id' => '1',
  13114. 'revision_id' => '1',
  13115. 'language' => 'und',
  13116. 'delta' => '0',
  13117. 'field_term_entityreference_target_id' => '17',
  13118. ))
  13119. ->values(array(
  13120. 'entity_type' => 'node',
  13121. 'bundle' => 'test_content_type',
  13122. 'deleted' => '0',
  13123. 'entity_id' => '1',
  13124. 'revision_id' => '1',
  13125. 'language' => 'und',
  13126. 'delta' => '1',
  13127. 'field_term_entityreference_target_id' => '15',
  13128. ))
  13129. ->execute();
  13130. $connection->schema()->createTable('field_revision_field_term_reference', array(
  13131. 'fields' => array(
  13132. 'entity_type' => array(
  13133. 'type' => 'varchar',
  13134. 'not null' => TRUE,
  13135. 'length' => '128',
  13136. 'default' => '',
  13137. ),
  13138. 'bundle' => array(
  13139. 'type' => 'varchar',
  13140. 'not null' => TRUE,
  13141. 'length' => '128',
  13142. 'default' => '',
  13143. ),
  13144. 'deleted' => array(
  13145. 'type' => 'int',
  13146. 'not null' => TRUE,
  13147. 'size' => 'normal',
  13148. 'default' => '0',
  13149. ),
  13150. 'entity_id' => array(
  13151. 'type' => 'int',
  13152. 'not null' => TRUE,
  13153. 'size' => 'normal',
  13154. 'unsigned' => TRUE,
  13155. ),
  13156. 'revision_id' => array(
  13157. 'type' => 'int',
  13158. 'not null' => TRUE,
  13159. 'size' => 'normal',
  13160. 'unsigned' => TRUE,
  13161. ),
  13162. 'language' => array(
  13163. 'type' => 'varchar',
  13164. 'not null' => TRUE,
  13165. 'length' => '32',
  13166. 'default' => '',
  13167. ),
  13168. 'delta' => array(
  13169. 'type' => 'int',
  13170. 'not null' => TRUE,
  13171. 'size' => 'normal',
  13172. 'unsigned' => TRUE,
  13173. ),
  13174. 'field_term_reference_tid' => array(
  13175. 'type' => 'int',
  13176. 'not null' => FALSE,
  13177. 'size' => 'normal',
  13178. 'unsigned' => TRUE,
  13179. ),
  13180. ),
  13181. 'primary key' => array(
  13182. 'entity_type',
  13183. 'deleted',
  13184. 'entity_id',
  13185. 'revision_id',
  13186. 'language',
  13187. 'delta',
  13188. ),
  13189. 'mysql_character_set' => 'utf8',
  13190. ));
  13191. $connection->insert('field_revision_field_term_reference')
  13192. ->fields(array(
  13193. 'entity_type',
  13194. 'bundle',
  13195. 'deleted',
  13196. 'entity_id',
  13197. 'revision_id',
  13198. 'language',
  13199. 'delta',
  13200. 'field_term_reference_tid',
  13201. ))
  13202. ->values(array(
  13203. 'entity_type' => 'node',
  13204. 'bundle' => 'test_content_type',
  13205. 'deleted' => '0',
  13206. 'entity_id' => '1',
  13207. 'revision_id' => '1',
  13208. 'language' => 'und',
  13209. 'delta' => '0',
  13210. 'field_term_reference_tid' => '4',
  13211. ))
  13212. ->values(array(
  13213. 'entity_type' => 'taxonomy_term',
  13214. 'bundle' => 'test_vocabulary',
  13215. 'deleted' => '0',
  13216. 'entity_id' => '2',
  13217. 'revision_id' => '2',
  13218. 'language' => 'und',
  13219. 'delta' => '0',
  13220. 'field_term_reference_tid' => '3',
  13221. ))
  13222. ->execute();
  13223. $connection->schema()->createTable('field_revision_field_text', array(
  13224. 'fields' => array(
  13225. 'entity_type' => array(
  13226. 'type' => 'varchar',
  13227. 'not null' => TRUE,
  13228. 'length' => '128',
  13229. 'default' => '',
  13230. ),
  13231. 'bundle' => array(
  13232. 'type' => 'varchar',
  13233. 'not null' => TRUE,
  13234. 'length' => '128',
  13235. 'default' => '',
  13236. ),
  13237. 'deleted' => array(
  13238. 'type' => 'int',
  13239. 'not null' => TRUE,
  13240. 'size' => 'normal',
  13241. 'default' => '0',
  13242. ),
  13243. 'entity_id' => array(
  13244. 'type' => 'int',
  13245. 'not null' => TRUE,
  13246. 'size' => 'normal',
  13247. 'unsigned' => TRUE,
  13248. ),
  13249. 'revision_id' => array(
  13250. 'type' => 'int',
  13251. 'not null' => TRUE,
  13252. 'size' => 'normal',
  13253. 'unsigned' => TRUE,
  13254. ),
  13255. 'language' => array(
  13256. 'type' => 'varchar',
  13257. 'not null' => TRUE,
  13258. 'length' => '32',
  13259. 'default' => '',
  13260. ),
  13261. 'delta' => array(
  13262. 'type' => 'int',
  13263. 'not null' => TRUE,
  13264. 'size' => 'normal',
  13265. 'unsigned' => TRUE,
  13266. ),
  13267. 'field_text_value' => array(
  13268. 'type' => 'varchar',
  13269. 'not null' => FALSE,
  13270. 'length' => '256',
  13271. ),
  13272. 'field_text_format' => array(
  13273. 'type' => 'varchar',
  13274. 'not null' => FALSE,
  13275. 'length' => '255',
  13276. ),
  13277. ),
  13278. 'primary key' => array(
  13279. 'entity_type',
  13280. 'deleted',
  13281. 'entity_id',
  13282. 'revision_id',
  13283. 'language',
  13284. 'delta',
  13285. ),
  13286. 'mysql_character_set' => 'utf8',
  13287. ));
  13288. $connection->insert('field_revision_field_text')
  13289. ->fields(array(
  13290. 'entity_type',
  13291. 'bundle',
  13292. 'deleted',
  13293. 'entity_id',
  13294. 'revision_id',
  13295. 'language',
  13296. 'delta',
  13297. 'field_text_value',
  13298. 'field_text_format',
  13299. ))
  13300. ->values(array(
  13301. 'entity_type' => 'node',
  13302. 'bundle' => 'test_content_type',
  13303. 'deleted' => '0',
  13304. 'entity_id' => '1',
  13305. 'revision_id' => '1',
  13306. 'language' => 'und',
  13307. 'delta' => '0',
  13308. 'field_text_value' => 'qwerty',
  13309. 'field_text_format' => NULL,
  13310. ))
  13311. ->execute();
  13312. $connection->schema()->createTable('field_revision_field_text_filtered', array(
  13313. 'fields' => array(
  13314. 'entity_type' => array(
  13315. 'type' => 'varchar',
  13316. 'not null' => TRUE,
  13317. 'length' => '128',
  13318. 'default' => '',
  13319. ),
  13320. 'bundle' => array(
  13321. 'type' => 'varchar',
  13322. 'not null' => TRUE,
  13323. 'length' => '128',
  13324. 'default' => '',
  13325. ),
  13326. 'deleted' => array(
  13327. 'type' => 'int',
  13328. 'not null' => TRUE,
  13329. 'size' => 'tiny',
  13330. 'default' => '0',
  13331. ),
  13332. 'entity_id' => array(
  13333. 'type' => 'int',
  13334. 'not null' => TRUE,
  13335. 'size' => 'normal',
  13336. 'unsigned' => TRUE,
  13337. ),
  13338. 'revision_id' => array(
  13339. 'type' => 'int',
  13340. 'not null' => TRUE,
  13341. 'size' => 'normal',
  13342. 'unsigned' => TRUE,
  13343. ),
  13344. 'language' => array(
  13345. 'type' => 'varchar',
  13346. 'not null' => TRUE,
  13347. 'length' => '32',
  13348. 'default' => '',
  13349. ),
  13350. 'delta' => array(
  13351. 'type' => 'int',
  13352. 'not null' => TRUE,
  13353. 'size' => 'normal',
  13354. 'unsigned' => TRUE,
  13355. ),
  13356. 'field_text_filtered_value' => array(
  13357. 'type' => 'varchar',
  13358. 'not null' => FALSE,
  13359. 'length' => '255',
  13360. ),
  13361. 'field_text_filtered_format' => array(
  13362. 'type' => 'varchar',
  13363. 'not null' => FALSE,
  13364. 'length' => '255',
  13365. ),
  13366. ),
  13367. 'primary key' => array(
  13368. 'entity_type',
  13369. 'entity_id',
  13370. 'revision_id',
  13371. 'deleted',
  13372. 'delta',
  13373. 'language',
  13374. ),
  13375. 'indexes' => array(
  13376. 'entity_type' => array(
  13377. 'entity_type',
  13378. ),
  13379. 'bundle' => array(
  13380. 'bundle',
  13381. ),
  13382. 'deleted' => array(
  13383. 'deleted',
  13384. ),
  13385. 'entity_id' => array(
  13386. 'entity_id',
  13387. ),
  13388. 'revision_id' => array(
  13389. 'revision_id',
  13390. ),
  13391. 'language' => array(
  13392. 'language',
  13393. ),
  13394. 'field_text_filtered_format' => array(
  13395. array(
  13396. 'field_text_filtered_format',
  13397. '191',
  13398. ),
  13399. ),
  13400. ),
  13401. 'mysql_character_set' => 'utf8',
  13402. ));
  13403. $connection->schema()->createTable('field_revision_field_text_list', array(
  13404. 'fields' => array(
  13405. 'entity_type' => array(
  13406. 'type' => 'varchar',
  13407. 'not null' => TRUE,
  13408. 'length' => '128',
  13409. 'default' => '',
  13410. ),
  13411. 'bundle' => array(
  13412. 'type' => 'varchar',
  13413. 'not null' => TRUE,
  13414. 'length' => '128',
  13415. 'default' => '',
  13416. ),
  13417. 'deleted' => array(
  13418. 'type' => 'int',
  13419. 'not null' => TRUE,
  13420. 'size' => 'normal',
  13421. 'default' => '0',
  13422. ),
  13423. 'entity_id' => array(
  13424. 'type' => 'int',
  13425. 'not null' => TRUE,
  13426. 'size' => 'normal',
  13427. 'unsigned' => TRUE,
  13428. ),
  13429. 'revision_id' => array(
  13430. 'type' => 'int',
  13431. 'not null' => TRUE,
  13432. 'size' => 'normal',
  13433. 'unsigned' => TRUE,
  13434. ),
  13435. 'language' => array(
  13436. 'type' => 'varchar',
  13437. 'not null' => TRUE,
  13438. 'length' => '32',
  13439. 'default' => '',
  13440. ),
  13441. 'delta' => array(
  13442. 'type' => 'int',
  13443. 'not null' => TRUE,
  13444. 'size' => 'normal',
  13445. 'unsigned' => TRUE,
  13446. ),
  13447. 'field_text_list_value' => array(
  13448. 'type' => 'varchar',
  13449. 'not null' => FALSE,
  13450. 'length' => '255',
  13451. ),
  13452. ),
  13453. 'primary key' => array(
  13454. 'entity_type',
  13455. 'deleted',
  13456. 'entity_id',
  13457. 'revision_id',
  13458. 'language',
  13459. 'delta',
  13460. ),
  13461. 'mysql_character_set' => 'utf8',
  13462. ));
  13463. $connection->insert('field_revision_field_text_list')
  13464. ->fields(array(
  13465. 'entity_type',
  13466. 'bundle',
  13467. 'deleted',
  13468. 'entity_id',
  13469. 'revision_id',
  13470. 'language',
  13471. 'delta',
  13472. 'field_text_list_value',
  13473. ))
  13474. ->values(array(
  13475. 'entity_type' => 'node',
  13476. 'bundle' => 'test_content_type',
  13477. 'deleted' => '0',
  13478. 'entity_id' => '1',
  13479. 'revision_id' => '1',
  13480. 'language' => 'und',
  13481. 'delta' => '0',
  13482. 'field_text_list_value' => 'Some more text',
  13483. ))
  13484. ->execute();
  13485. $connection->schema()->createTable('field_revision_field_text_long_filtered', array(
  13486. 'fields' => array(
  13487. 'entity_type' => array(
  13488. 'type' => 'varchar',
  13489. 'not null' => TRUE,
  13490. 'length' => '128',
  13491. 'default' => '',
  13492. ),
  13493. 'bundle' => array(
  13494. 'type' => 'varchar',
  13495. 'not null' => TRUE,
  13496. 'length' => '128',
  13497. 'default' => '',
  13498. ),
  13499. 'deleted' => array(
  13500. 'type' => 'int',
  13501. 'not null' => TRUE,
  13502. 'size' => 'tiny',
  13503. 'default' => '0',
  13504. ),
  13505. 'entity_id' => array(
  13506. 'type' => 'int',
  13507. 'not null' => TRUE,
  13508. 'size' => 'normal',
  13509. 'unsigned' => TRUE,
  13510. ),
  13511. 'revision_id' => array(
  13512. 'type' => 'int',
  13513. 'not null' => TRUE,
  13514. 'size' => 'normal',
  13515. 'unsigned' => TRUE,
  13516. ),
  13517. 'language' => array(
  13518. 'type' => 'varchar',
  13519. 'not null' => TRUE,
  13520. 'length' => '32',
  13521. 'default' => '',
  13522. ),
  13523. 'delta' => array(
  13524. 'type' => 'int',
  13525. 'not null' => TRUE,
  13526. 'size' => 'normal',
  13527. 'unsigned' => TRUE,
  13528. ),
  13529. 'field_text_long_filtered_value' => array(
  13530. 'type' => 'text',
  13531. 'not null' => FALSE,
  13532. 'size' => 'big',
  13533. ),
  13534. 'field_text_long_filtered_format' => array(
  13535. 'type' => 'varchar',
  13536. 'not null' => FALSE,
  13537. 'length' => '255',
  13538. ),
  13539. ),
  13540. 'primary key' => array(
  13541. 'entity_type',
  13542. 'entity_id',
  13543. 'revision_id',
  13544. 'deleted',
  13545. 'delta',
  13546. 'language',
  13547. ),
  13548. 'indexes' => array(
  13549. 'entity_type' => array(
  13550. 'entity_type',
  13551. ),
  13552. 'bundle' => array(
  13553. 'bundle',
  13554. ),
  13555. 'deleted' => array(
  13556. 'deleted',
  13557. ),
  13558. 'entity_id' => array(
  13559. 'entity_id',
  13560. ),
  13561. 'revision_id' => array(
  13562. 'revision_id',
  13563. ),
  13564. 'language' => array(
  13565. 'language',
  13566. ),
  13567. 'field_text_long_filtered_format' => array(
  13568. array(
  13569. 'field_text_long_filtered_format',
  13570. '191',
  13571. ),
  13572. ),
  13573. ),
  13574. 'mysql_character_set' => 'utf8',
  13575. ));
  13576. $connection->schema()->createTable('field_revision_field_text_long_plain', array(
  13577. 'fields' => array(
  13578. 'entity_type' => array(
  13579. 'type' => 'varchar',
  13580. 'not null' => TRUE,
  13581. 'length' => '128',
  13582. 'default' => '',
  13583. ),
  13584. 'bundle' => array(
  13585. 'type' => 'varchar',
  13586. 'not null' => TRUE,
  13587. 'length' => '128',
  13588. 'default' => '',
  13589. ),
  13590. 'deleted' => array(
  13591. 'type' => 'int',
  13592. 'not null' => TRUE,
  13593. 'size' => 'tiny',
  13594. 'default' => '0',
  13595. ),
  13596. 'entity_id' => array(
  13597. 'type' => 'int',
  13598. 'not null' => TRUE,
  13599. 'size' => 'normal',
  13600. 'unsigned' => TRUE,
  13601. ),
  13602. 'revision_id' => array(
  13603. 'type' => 'int',
  13604. 'not null' => TRUE,
  13605. 'size' => 'normal',
  13606. 'unsigned' => TRUE,
  13607. ),
  13608. 'language' => array(
  13609. 'type' => 'varchar',
  13610. 'not null' => TRUE,
  13611. 'length' => '32',
  13612. 'default' => '',
  13613. ),
  13614. 'delta' => array(
  13615. 'type' => 'int',
  13616. 'not null' => TRUE,
  13617. 'size' => 'normal',
  13618. 'unsigned' => TRUE,
  13619. ),
  13620. 'field_text_long_plain_value' => array(
  13621. 'type' => 'text',
  13622. 'not null' => FALSE,
  13623. 'size' => 'big',
  13624. ),
  13625. 'field_text_long_plain_format' => array(
  13626. 'type' => 'varchar',
  13627. 'not null' => FALSE,
  13628. 'length' => '255',
  13629. ),
  13630. ),
  13631. 'primary key' => array(
  13632. 'entity_type',
  13633. 'entity_id',
  13634. 'revision_id',
  13635. 'deleted',
  13636. 'delta',
  13637. 'language',
  13638. ),
  13639. 'indexes' => array(
  13640. 'entity_type' => array(
  13641. 'entity_type',
  13642. ),
  13643. 'bundle' => array(
  13644. 'bundle',
  13645. ),
  13646. 'deleted' => array(
  13647. 'deleted',
  13648. ),
  13649. 'entity_id' => array(
  13650. 'entity_id',
  13651. ),
  13652. 'revision_id' => array(
  13653. 'revision_id',
  13654. ),
  13655. 'language' => array(
  13656. 'language',
  13657. ),
  13658. 'field_text_long_plain_format' => array(
  13659. array(
  13660. 'field_text_long_plain_format',
  13661. '191',
  13662. ),
  13663. ),
  13664. ),
  13665. 'mysql_character_set' => 'utf8',
  13666. ));
  13667. $connection->schema()->createTable('field_revision_field_text_long_plain_filtered', array(
  13668. 'fields' => array(
  13669. 'entity_type' => array(
  13670. 'type' => 'varchar',
  13671. 'not null' => TRUE,
  13672. 'length' => '128',
  13673. 'default' => '',
  13674. ),
  13675. 'bundle' => array(
  13676. 'type' => 'varchar',
  13677. 'not null' => TRUE,
  13678. 'length' => '128',
  13679. 'default' => '',
  13680. ),
  13681. 'deleted' => array(
  13682. 'type' => 'int',
  13683. 'not null' => TRUE,
  13684. 'size' => 'tiny',
  13685. 'default' => '0',
  13686. ),
  13687. 'entity_id' => array(
  13688. 'type' => 'int',
  13689. 'not null' => TRUE,
  13690. 'size' => 'normal',
  13691. 'unsigned' => TRUE,
  13692. ),
  13693. 'revision_id' => array(
  13694. 'type' => 'int',
  13695. 'not null' => TRUE,
  13696. 'size' => 'normal',
  13697. 'unsigned' => TRUE,
  13698. ),
  13699. 'language' => array(
  13700. 'type' => 'varchar',
  13701. 'not null' => TRUE,
  13702. 'length' => '32',
  13703. 'default' => '',
  13704. ),
  13705. 'delta' => array(
  13706. 'type' => 'int',
  13707. 'not null' => TRUE,
  13708. 'size' => 'normal',
  13709. 'unsigned' => TRUE,
  13710. ),
  13711. 'field_text_long_plain_filtered_value' => array(
  13712. 'type' => 'text',
  13713. 'not null' => FALSE,
  13714. 'size' => 'big',
  13715. ),
  13716. 'field_text_long_plain_filtered_format' => array(
  13717. 'type' => 'varchar',
  13718. 'not null' => FALSE,
  13719. 'length' => '255',
  13720. ),
  13721. ),
  13722. 'primary key' => array(
  13723. 'entity_type',
  13724. 'entity_id',
  13725. 'revision_id',
  13726. 'deleted',
  13727. 'delta',
  13728. 'language',
  13729. ),
  13730. 'indexes' => array(
  13731. 'entity_type' => array(
  13732. 'entity_type',
  13733. ),
  13734. 'bundle' => array(
  13735. 'bundle',
  13736. ),
  13737. 'deleted' => array(
  13738. 'deleted',
  13739. ),
  13740. 'entity_id' => array(
  13741. 'entity_id',
  13742. ),
  13743. 'revision_id' => array(
  13744. 'revision_id',
  13745. ),
  13746. 'language' => array(
  13747. 'language',
  13748. ),
  13749. 'field_text_long_plain_filtered_format' => array(
  13750. array(
  13751. 'field_text_long_plain_filtered_format',
  13752. '191',
  13753. ),
  13754. ),
  13755. ),
  13756. 'mysql_character_set' => 'utf8',
  13757. ));
  13758. $connection->schema()->createTable('field_revision_field_text_plain', array(
  13759. 'fields' => array(
  13760. 'entity_type' => array(
  13761. 'type' => 'varchar',
  13762. 'not null' => TRUE,
  13763. 'length' => '128',
  13764. 'default' => '',
  13765. ),
  13766. 'bundle' => array(
  13767. 'type' => 'varchar',
  13768. 'not null' => TRUE,
  13769. 'length' => '128',
  13770. 'default' => '',
  13771. ),
  13772. 'deleted' => array(
  13773. 'type' => 'int',
  13774. 'not null' => TRUE,
  13775. 'size' => 'tiny',
  13776. 'default' => '0',
  13777. ),
  13778. 'entity_id' => array(
  13779. 'type' => 'int',
  13780. 'not null' => TRUE,
  13781. 'size' => 'normal',
  13782. 'unsigned' => TRUE,
  13783. ),
  13784. 'revision_id' => array(
  13785. 'type' => 'int',
  13786. 'not null' => TRUE,
  13787. 'size' => 'normal',
  13788. 'unsigned' => TRUE,
  13789. ),
  13790. 'language' => array(
  13791. 'type' => 'varchar',
  13792. 'not null' => TRUE,
  13793. 'length' => '32',
  13794. 'default' => '',
  13795. ),
  13796. 'delta' => array(
  13797. 'type' => 'int',
  13798. 'not null' => TRUE,
  13799. 'size' => 'normal',
  13800. 'unsigned' => TRUE,
  13801. ),
  13802. 'field_text_plain_value' => array(
  13803. 'type' => 'varchar',
  13804. 'not null' => FALSE,
  13805. 'length' => '255',
  13806. ),
  13807. 'field_text_plain_format' => array(
  13808. 'type' => 'varchar',
  13809. 'not null' => FALSE,
  13810. 'length' => '255',
  13811. ),
  13812. ),
  13813. 'primary key' => array(
  13814. 'entity_type',
  13815. 'entity_id',
  13816. 'revision_id',
  13817. 'deleted',
  13818. 'delta',
  13819. 'language',
  13820. ),
  13821. 'indexes' => array(
  13822. 'entity_type' => array(
  13823. 'entity_type',
  13824. ),
  13825. 'bundle' => array(
  13826. 'bundle',
  13827. ),
  13828. 'deleted' => array(
  13829. 'deleted',
  13830. ),
  13831. 'entity_id' => array(
  13832. 'entity_id',
  13833. ),
  13834. 'revision_id' => array(
  13835. 'revision_id',
  13836. ),
  13837. 'language' => array(
  13838. 'language',
  13839. ),
  13840. 'field_text_plain_format' => array(
  13841. array(
  13842. 'field_text_plain_format',
  13843. '191',
  13844. ),
  13845. ),
  13846. ),
  13847. 'mysql_character_set' => 'utf8',
  13848. ));
  13849. $connection->insert('field_revision_field_text_plain')
  13850. ->fields(array(
  13851. 'entity_type',
  13852. 'bundle',
  13853. 'deleted',
  13854. 'entity_id',
  13855. 'revision_id',
  13856. 'language',
  13857. 'delta',
  13858. 'field_text_plain_value',
  13859. 'field_text_plain_format',
  13860. ))
  13861. ->values(array(
  13862. 'entity_type' => 'node',
  13863. 'bundle' => 'article',
  13864. 'deleted' => '0',
  13865. 'entity_id' => '2',
  13866. 'revision_id' => '2',
  13867. 'language' => 'und',
  13868. 'delta' => '0',
  13869. 'field_text_plain_value' => 'Kai Opaka',
  13870. 'field_text_plain_format' => NULL,
  13871. ))
  13872. ->values(array(
  13873. 'entity_type' => 'node',
  13874. 'bundle' => 'article',
  13875. 'deleted' => '0',
  13876. 'entity_id' => '3',
  13877. 'revision_id' => '3',
  13878. 'language' => 'und',
  13879. 'delta' => '0',
  13880. 'field_text_plain_value' => 'Kai Opaka',
  13881. 'field_text_plain_format' => NULL,
  13882. ))
  13883. ->execute();
  13884. $connection->schema()->createTable('field_revision_field_text_plain_filtered', array(
  13885. 'fields' => array(
  13886. 'entity_type' => array(
  13887. 'type' => 'varchar',
  13888. 'not null' => TRUE,
  13889. 'length' => '128',
  13890. 'default' => '',
  13891. ),
  13892. 'bundle' => array(
  13893. 'type' => 'varchar',
  13894. 'not null' => TRUE,
  13895. 'length' => '128',
  13896. 'default' => '',
  13897. ),
  13898. 'deleted' => array(
  13899. 'type' => 'int',
  13900. 'not null' => TRUE,
  13901. 'size' => 'tiny',
  13902. 'default' => '0',
  13903. ),
  13904. 'entity_id' => array(
  13905. 'type' => 'int',
  13906. 'not null' => TRUE,
  13907. 'size' => 'normal',
  13908. 'unsigned' => TRUE,
  13909. ),
  13910. 'revision_id' => array(
  13911. 'type' => 'int',
  13912. 'not null' => TRUE,
  13913. 'size' => 'normal',
  13914. 'unsigned' => TRUE,
  13915. ),
  13916. 'language' => array(
  13917. 'type' => 'varchar',
  13918. 'not null' => TRUE,
  13919. 'length' => '32',
  13920. 'default' => '',
  13921. ),
  13922. 'delta' => array(
  13923. 'type' => 'int',
  13924. 'not null' => TRUE,
  13925. 'size' => 'normal',
  13926. 'unsigned' => TRUE,
  13927. ),
  13928. 'field_text_plain_filtered_value' => array(
  13929. 'type' => 'varchar',
  13930. 'not null' => FALSE,
  13931. 'length' => '255',
  13932. ),
  13933. 'field_text_plain_filtered_format' => array(
  13934. 'type' => 'varchar',
  13935. 'not null' => FALSE,
  13936. 'length' => '255',
  13937. ),
  13938. ),
  13939. 'primary key' => array(
  13940. 'entity_type',
  13941. 'entity_id',
  13942. 'revision_id',
  13943. 'deleted',
  13944. 'delta',
  13945. 'language',
  13946. ),
  13947. 'indexes' => array(
  13948. 'entity_type' => array(
  13949. 'entity_type',
  13950. ),
  13951. 'bundle' => array(
  13952. 'bundle',
  13953. ),
  13954. 'deleted' => array(
  13955. 'deleted',
  13956. ),
  13957. 'entity_id' => array(
  13958. 'entity_id',
  13959. ),
  13960. 'revision_id' => array(
  13961. 'revision_id',
  13962. ),
  13963. 'language' => array(
  13964. 'language',
  13965. ),
  13966. 'field_text_plain_filtered_format' => array(
  13967. array(
  13968. 'field_text_plain_filtered_format',
  13969. '191',
  13970. ),
  13971. ),
  13972. ),
  13973. 'mysql_character_set' => 'utf8',
  13974. ));
  13975. $connection->schema()->createTable('field_revision_field_text_sum_filtered', array(
  13976. 'fields' => array(
  13977. 'entity_type' => array(
  13978. 'type' => 'varchar',
  13979. 'not null' => TRUE,
  13980. 'length' => '128',
  13981. 'default' => '',
  13982. ),
  13983. 'bundle' => array(
  13984. 'type' => 'varchar',
  13985. 'not null' => TRUE,
  13986. 'length' => '128',
  13987. 'default' => '',
  13988. ),
  13989. 'deleted' => array(
  13990. 'type' => 'int',
  13991. 'not null' => TRUE,
  13992. 'size' => 'tiny',
  13993. 'default' => '0',
  13994. ),
  13995. 'entity_id' => array(
  13996. 'type' => 'int',
  13997. 'not null' => TRUE,
  13998. 'size' => 'normal',
  13999. 'unsigned' => TRUE,
  14000. ),
  14001. 'revision_id' => array(
  14002. 'type' => 'int',
  14003. 'not null' => TRUE,
  14004. 'size' => 'normal',
  14005. 'unsigned' => TRUE,
  14006. ),
  14007. 'language' => array(
  14008. 'type' => 'varchar',
  14009. 'not null' => TRUE,
  14010. 'length' => '32',
  14011. 'default' => '',
  14012. ),
  14013. 'delta' => array(
  14014. 'type' => 'int',
  14015. 'not null' => TRUE,
  14016. 'size' => 'normal',
  14017. 'unsigned' => TRUE,
  14018. ),
  14019. 'field_text_sum_filtered_value' => array(
  14020. 'type' => 'text',
  14021. 'not null' => FALSE,
  14022. 'size' => 'big',
  14023. ),
  14024. 'field_text_sum_filtered_summary' => array(
  14025. 'type' => 'text',
  14026. 'not null' => FALSE,
  14027. 'size' => 'big',
  14028. ),
  14029. 'field_text_sum_filtered_format' => array(
  14030. 'type' => 'varchar',
  14031. 'not null' => FALSE,
  14032. 'length' => '255',
  14033. ),
  14034. ),
  14035. 'primary key' => array(
  14036. 'entity_type',
  14037. 'entity_id',
  14038. 'revision_id',
  14039. 'deleted',
  14040. 'delta',
  14041. 'language',
  14042. ),
  14043. 'indexes' => array(
  14044. 'entity_type' => array(
  14045. 'entity_type',
  14046. ),
  14047. 'bundle' => array(
  14048. 'bundle',
  14049. ),
  14050. 'deleted' => array(
  14051. 'deleted',
  14052. ),
  14053. 'entity_id' => array(
  14054. 'entity_id',
  14055. ),
  14056. 'revision_id' => array(
  14057. 'revision_id',
  14058. ),
  14059. 'language' => array(
  14060. 'language',
  14061. ),
  14062. 'field_text_sum_filtered_format' => array(
  14063. array(
  14064. 'field_text_sum_filtered_format',
  14065. '191',
  14066. ),
  14067. ),
  14068. ),
  14069. 'mysql_character_set' => 'utf8',
  14070. ));
  14071. $connection->schema()->createTable('field_revision_field_text_sum_plain', array(
  14072. 'fields' => array(
  14073. 'entity_type' => array(
  14074. 'type' => 'varchar',
  14075. 'not null' => TRUE,
  14076. 'length' => '128',
  14077. 'default' => '',
  14078. ),
  14079. 'bundle' => array(
  14080. 'type' => 'varchar',
  14081. 'not null' => TRUE,
  14082. 'length' => '128',
  14083. 'default' => '',
  14084. ),
  14085. 'deleted' => array(
  14086. 'type' => 'int',
  14087. 'not null' => TRUE,
  14088. 'size' => 'tiny',
  14089. 'default' => '0',
  14090. ),
  14091. 'entity_id' => array(
  14092. 'type' => 'int',
  14093. 'not null' => TRUE,
  14094. 'size' => 'normal',
  14095. 'unsigned' => TRUE,
  14096. ),
  14097. 'revision_id' => array(
  14098. 'type' => 'int',
  14099. 'not null' => TRUE,
  14100. 'size' => 'normal',
  14101. 'unsigned' => TRUE,
  14102. ),
  14103. 'language' => array(
  14104. 'type' => 'varchar',
  14105. 'not null' => TRUE,
  14106. 'length' => '32',
  14107. 'default' => '',
  14108. ),
  14109. 'delta' => array(
  14110. 'type' => 'int',
  14111. 'not null' => TRUE,
  14112. 'size' => 'normal',
  14113. 'unsigned' => TRUE,
  14114. ),
  14115. 'field_text_sum_plain_value' => array(
  14116. 'type' => 'text',
  14117. 'not null' => FALSE,
  14118. 'size' => 'big',
  14119. ),
  14120. 'field_text_sum_plain_summary' => array(
  14121. 'type' => 'text',
  14122. 'not null' => FALSE,
  14123. 'size' => 'big',
  14124. ),
  14125. 'field_text_sum_plain_format' => array(
  14126. 'type' => 'varchar',
  14127. 'not null' => FALSE,
  14128. 'length' => '255',
  14129. ),
  14130. ),
  14131. 'primary key' => array(
  14132. 'entity_type',
  14133. 'entity_id',
  14134. 'revision_id',
  14135. 'deleted',
  14136. 'delta',
  14137. 'language',
  14138. ),
  14139. 'indexes' => array(
  14140. 'entity_type' => array(
  14141. 'entity_type',
  14142. ),
  14143. 'bundle' => array(
  14144. 'bundle',
  14145. ),
  14146. 'deleted' => array(
  14147. 'deleted',
  14148. ),
  14149. 'entity_id' => array(
  14150. 'entity_id',
  14151. ),
  14152. 'revision_id' => array(
  14153. 'revision_id',
  14154. ),
  14155. 'language' => array(
  14156. 'language',
  14157. ),
  14158. 'field_text_sum_plain_format' => array(
  14159. array(
  14160. 'field_text_sum_plain_format',
  14161. '191',
  14162. ),
  14163. ),
  14164. ),
  14165. 'mysql_character_set' => 'utf8',
  14166. ));
  14167. $connection->schema()->createTable('field_revision_field_text_sum_plain_filtered', array(
  14168. 'fields' => array(
  14169. 'entity_type' => array(
  14170. 'type' => 'varchar',
  14171. 'not null' => TRUE,
  14172. 'length' => '128',
  14173. 'default' => '',
  14174. ),
  14175. 'bundle' => array(
  14176. 'type' => 'varchar',
  14177. 'not null' => TRUE,
  14178. 'length' => '128',
  14179. 'default' => '',
  14180. ),
  14181. 'deleted' => array(
  14182. 'type' => 'int',
  14183. 'not null' => TRUE,
  14184. 'size' => 'tiny',
  14185. 'default' => '0',
  14186. ),
  14187. 'entity_id' => array(
  14188. 'type' => 'int',
  14189. 'not null' => TRUE,
  14190. 'size' => 'normal',
  14191. 'unsigned' => TRUE,
  14192. ),
  14193. 'revision_id' => array(
  14194. 'type' => 'int',
  14195. 'not null' => TRUE,
  14196. 'size' => 'normal',
  14197. 'unsigned' => TRUE,
  14198. ),
  14199. 'language' => array(
  14200. 'type' => 'varchar',
  14201. 'not null' => TRUE,
  14202. 'length' => '32',
  14203. 'default' => '',
  14204. ),
  14205. 'delta' => array(
  14206. 'type' => 'int',
  14207. 'not null' => TRUE,
  14208. 'size' => 'normal',
  14209. 'unsigned' => TRUE,
  14210. ),
  14211. 'field_text_sum_plain_filtered_value' => array(
  14212. 'type' => 'text',
  14213. 'not null' => FALSE,
  14214. 'size' => 'big',
  14215. ),
  14216. 'field_text_sum_plain_filtered_summary' => array(
  14217. 'type' => 'text',
  14218. 'not null' => FALSE,
  14219. 'size' => 'big',
  14220. ),
  14221. 'field_text_sum_plain_filtered_format' => array(
  14222. 'type' => 'varchar',
  14223. 'not null' => FALSE,
  14224. 'length' => '255',
  14225. ),
  14226. ),
  14227. 'primary key' => array(
  14228. 'entity_type',
  14229. 'entity_id',
  14230. 'revision_id',
  14231. 'deleted',
  14232. 'delta',
  14233. 'language',
  14234. ),
  14235. 'indexes' => array(
  14236. 'entity_type' => array(
  14237. 'entity_type',
  14238. ),
  14239. 'bundle' => array(
  14240. 'bundle',
  14241. ),
  14242. 'deleted' => array(
  14243. 'deleted',
  14244. ),
  14245. 'entity_id' => array(
  14246. 'entity_id',
  14247. ),
  14248. 'revision_id' => array(
  14249. 'revision_id',
  14250. ),
  14251. 'language' => array(
  14252. 'language',
  14253. ),
  14254. 'field_text_sum_plain_filtered_format' => array(
  14255. array(
  14256. 'field_text_sum_plain_filtered_format',
  14257. '191',
  14258. ),
  14259. ),
  14260. ),
  14261. 'mysql_character_set' => 'utf8',
  14262. ));
  14263. $connection->schema()->createTable('field_revision_field_user_entityreference', array(
  14264. 'fields' => array(
  14265. 'entity_type' => array(
  14266. 'type' => 'varchar',
  14267. 'not null' => TRUE,
  14268. 'length' => '128',
  14269. 'default' => '',
  14270. ),
  14271. 'bundle' => array(
  14272. 'type' => 'varchar',
  14273. 'not null' => TRUE,
  14274. 'length' => '128',
  14275. 'default' => '',
  14276. ),
  14277. 'deleted' => array(
  14278. 'type' => 'int',
  14279. 'not null' => TRUE,
  14280. 'size' => 'tiny',
  14281. 'default' => '0',
  14282. ),
  14283. 'entity_id' => array(
  14284. 'type' => 'int',
  14285. 'not null' => TRUE,
  14286. 'size' => 'normal',
  14287. 'unsigned' => TRUE,
  14288. ),
  14289. 'revision_id' => array(
  14290. 'type' => 'int',
  14291. 'not null' => TRUE,
  14292. 'size' => 'normal',
  14293. 'unsigned' => TRUE,
  14294. ),
  14295. 'language' => array(
  14296. 'type' => 'varchar',
  14297. 'not null' => TRUE,
  14298. 'length' => '32',
  14299. 'default' => '',
  14300. ),
  14301. 'delta' => array(
  14302. 'type' => 'int',
  14303. 'not null' => TRUE,
  14304. 'size' => 'normal',
  14305. 'unsigned' => TRUE,
  14306. ),
  14307. 'field_user_entityreference_target_id' => array(
  14308. 'type' => 'int',
  14309. 'not null' => TRUE,
  14310. 'size' => 'normal',
  14311. 'unsigned' => TRUE,
  14312. ),
  14313. ),
  14314. 'primary key' => array(
  14315. 'entity_type',
  14316. 'entity_id',
  14317. 'revision_id',
  14318. 'deleted',
  14319. 'delta',
  14320. 'language',
  14321. ),
  14322. 'indexes' => array(
  14323. 'entity_type' => array(
  14324. 'entity_type',
  14325. ),
  14326. 'bundle' => array(
  14327. 'bundle',
  14328. ),
  14329. 'deleted' => array(
  14330. 'deleted',
  14331. ),
  14332. 'entity_id' => array(
  14333. 'entity_id',
  14334. ),
  14335. 'revision_id' => array(
  14336. 'revision_id',
  14337. ),
  14338. 'language' => array(
  14339. 'language',
  14340. ),
  14341. 'field_user_entityreference_target_id' => array(
  14342. 'field_user_entityreference_target_id',
  14343. ),
  14344. ),
  14345. 'mysql_character_set' => 'utf8',
  14346. ));
  14347. $connection->schema()->createTable('field_revision_field_vocab_fixed', array(
  14348. 'fields' => array(
  14349. 'entity_type' => array(
  14350. 'type' => 'varchar',
  14351. 'not null' => TRUE,
  14352. 'length' => '128',
  14353. 'default' => '',
  14354. ),
  14355. 'bundle' => array(
  14356. 'type' => 'varchar',
  14357. 'not null' => TRUE,
  14358. 'length' => '128',
  14359. 'default' => '',
  14360. ),
  14361. 'deleted' => array(
  14362. 'type' => 'int',
  14363. 'not null' => TRUE,
  14364. 'size' => 'tiny',
  14365. 'default' => '0',
  14366. ),
  14367. 'entity_id' => array(
  14368. 'type' => 'int',
  14369. 'not null' => TRUE,
  14370. 'size' => 'normal',
  14371. 'unsigned' => TRUE,
  14372. ),
  14373. 'revision_id' => array(
  14374. 'type' => 'int',
  14375. 'not null' => TRUE,
  14376. 'size' => 'normal',
  14377. 'unsigned' => TRUE,
  14378. ),
  14379. 'language' => array(
  14380. 'type' => 'varchar',
  14381. 'not null' => TRUE,
  14382. 'length' => '32',
  14383. 'default' => '',
  14384. ),
  14385. 'delta' => array(
  14386. 'type' => 'int',
  14387. 'not null' => TRUE,
  14388. 'size' => 'normal',
  14389. 'unsigned' => TRUE,
  14390. ),
  14391. 'field_vocab_fixed_tid' => array(
  14392. 'type' => 'int',
  14393. 'not null' => FALSE,
  14394. 'size' => 'normal',
  14395. 'unsigned' => TRUE,
  14396. ),
  14397. ),
  14398. 'primary key' => array(
  14399. 'entity_type',
  14400. 'entity_id',
  14401. 'revision_id',
  14402. 'deleted',
  14403. 'delta',
  14404. 'language',
  14405. ),
  14406. 'indexes' => array(
  14407. 'entity_type' => array(
  14408. 'entity_type',
  14409. ),
  14410. 'bundle' => array(
  14411. 'bundle',
  14412. ),
  14413. 'deleted' => array(
  14414. 'deleted',
  14415. ),
  14416. 'entity_id' => array(
  14417. 'entity_id',
  14418. ),
  14419. 'revision_id' => array(
  14420. 'revision_id',
  14421. ),
  14422. 'language' => array(
  14423. 'language',
  14424. ),
  14425. 'field_vocab_fixed_tid' => array(
  14426. 'field_vocab_fixed_tid',
  14427. ),
  14428. ),
  14429. 'mysql_character_set' => 'utf8',
  14430. ));
  14431. $connection->insert('field_revision_field_vocab_fixed')
  14432. ->fields(array(
  14433. 'entity_type',
  14434. 'bundle',
  14435. 'deleted',
  14436. 'entity_id',
  14437. 'revision_id',
  14438. 'language',
  14439. 'delta',
  14440. 'field_vocab_fixed_tid',
  14441. ))
  14442. ->values(array(
  14443. 'entity_type' => 'node',
  14444. 'bundle' => 'article',
  14445. 'deleted' => '0',
  14446. 'entity_id' => '2',
  14447. 'revision_id' => '2',
  14448. 'language' => 'und',
  14449. 'delta' => '0',
  14450. 'field_vocab_fixed_tid' => '24',
  14451. ))
  14452. ->execute();
  14453. $connection->schema()->createTable('field_revision_field_vocab_localize', array(
  14454. 'fields' => array(
  14455. 'entity_type' => array(
  14456. 'type' => 'varchar',
  14457. 'not null' => TRUE,
  14458. 'length' => '128',
  14459. 'default' => '',
  14460. ),
  14461. 'bundle' => array(
  14462. 'type' => 'varchar',
  14463. 'not null' => TRUE,
  14464. 'length' => '128',
  14465. 'default' => '',
  14466. ),
  14467. 'deleted' => array(
  14468. 'type' => 'int',
  14469. 'not null' => TRUE,
  14470. 'size' => 'tiny',
  14471. 'default' => '0',
  14472. ),
  14473. 'entity_id' => array(
  14474. 'type' => 'int',
  14475. 'not null' => TRUE,
  14476. 'size' => 'normal',
  14477. 'unsigned' => TRUE,
  14478. ),
  14479. 'revision_id' => array(
  14480. 'type' => 'int',
  14481. 'not null' => TRUE,
  14482. 'size' => 'normal',
  14483. 'unsigned' => TRUE,
  14484. ),
  14485. 'language' => array(
  14486. 'type' => 'varchar',
  14487. 'not null' => TRUE,
  14488. 'length' => '32',
  14489. 'default' => '',
  14490. ),
  14491. 'delta' => array(
  14492. 'type' => 'int',
  14493. 'not null' => TRUE,
  14494. 'size' => 'normal',
  14495. 'unsigned' => TRUE,
  14496. ),
  14497. 'field_vocab_localize_tid' => array(
  14498. 'type' => 'int',
  14499. 'not null' => FALSE,
  14500. 'size' => 'normal',
  14501. 'unsigned' => TRUE,
  14502. ),
  14503. ),
  14504. 'primary key' => array(
  14505. 'entity_type',
  14506. 'entity_id',
  14507. 'revision_id',
  14508. 'deleted',
  14509. 'delta',
  14510. 'language',
  14511. ),
  14512. 'indexes' => array(
  14513. 'entity_type' => array(
  14514. 'entity_type',
  14515. ),
  14516. 'bundle' => array(
  14517. 'bundle',
  14518. ),
  14519. 'deleted' => array(
  14520. 'deleted',
  14521. ),
  14522. 'entity_id' => array(
  14523. 'entity_id',
  14524. ),
  14525. 'revision_id' => array(
  14526. 'revision_id',
  14527. ),
  14528. 'language' => array(
  14529. 'language',
  14530. ),
  14531. 'field_vocab_localize_tid' => array(
  14532. 'field_vocab_localize_tid',
  14533. ),
  14534. ),
  14535. 'mysql_character_set' => 'utf8',
  14536. ));
  14537. $connection->insert('field_revision_field_vocab_localize')
  14538. ->fields(array(
  14539. 'entity_type',
  14540. 'bundle',
  14541. 'deleted',
  14542. 'entity_id',
  14543. 'revision_id',
  14544. 'language',
  14545. 'delta',
  14546. 'field_vocab_localize_tid',
  14547. ))
  14548. ->values(array(
  14549. 'entity_type' => 'node',
  14550. 'bundle' => 'article',
  14551. 'deleted' => '0',
  14552. 'entity_id' => '2',
  14553. 'revision_id' => '2',
  14554. 'language' => 'und',
  14555. 'delta' => '0',
  14556. 'field_vocab_localize_tid' => '20',
  14557. ))
  14558. ->values(array(
  14559. 'entity_type' => 'node',
  14560. 'bundle' => 'article',
  14561. 'deleted' => '0',
  14562. 'entity_id' => '3',
  14563. 'revision_id' => '3',
  14564. 'language' => 'und',
  14565. 'delta' => '0',
  14566. 'field_vocab_localize_tid' => '20',
  14567. ))
  14568. ->execute();
  14569. $connection->schema()->createTable('field_revision_field_vocab_translate', array(
  14570. 'fields' => array(
  14571. 'entity_type' => array(
  14572. 'type' => 'varchar',
  14573. 'not null' => TRUE,
  14574. 'length' => '128',
  14575. 'default' => '',
  14576. ),
  14577. 'bundle' => array(
  14578. 'type' => 'varchar',
  14579. 'not null' => TRUE,
  14580. 'length' => '128',
  14581. 'default' => '',
  14582. ),
  14583. 'deleted' => array(
  14584. 'type' => 'int',
  14585. 'not null' => TRUE,
  14586. 'size' => 'tiny',
  14587. 'default' => '0',
  14588. ),
  14589. 'entity_id' => array(
  14590. 'type' => 'int',
  14591. 'not null' => TRUE,
  14592. 'size' => 'normal',
  14593. 'unsigned' => TRUE,
  14594. ),
  14595. 'revision_id' => array(
  14596. 'type' => 'int',
  14597. 'not null' => TRUE,
  14598. 'size' => 'normal',
  14599. 'unsigned' => TRUE,
  14600. ),
  14601. 'language' => array(
  14602. 'type' => 'varchar',
  14603. 'not null' => TRUE,
  14604. 'length' => '32',
  14605. 'default' => '',
  14606. ),
  14607. 'delta' => array(
  14608. 'type' => 'int',
  14609. 'not null' => TRUE,
  14610. 'size' => 'normal',
  14611. 'unsigned' => TRUE,
  14612. ),
  14613. 'field_vocab_translate_tid' => array(
  14614. 'type' => 'int',
  14615. 'not null' => FALSE,
  14616. 'size' => 'normal',
  14617. 'unsigned' => TRUE,
  14618. ),
  14619. ),
  14620. 'primary key' => array(
  14621. 'entity_type',
  14622. 'entity_id',
  14623. 'revision_id',
  14624. 'deleted',
  14625. 'delta',
  14626. 'language',
  14627. ),
  14628. 'indexes' => array(
  14629. 'entity_type' => array(
  14630. 'entity_type',
  14631. ),
  14632. 'bundle' => array(
  14633. 'bundle',
  14634. ),
  14635. 'deleted' => array(
  14636. 'deleted',
  14637. ),
  14638. 'entity_id' => array(
  14639. 'entity_id',
  14640. ),
  14641. 'revision_id' => array(
  14642. 'revision_id',
  14643. ),
  14644. 'language' => array(
  14645. 'language',
  14646. ),
  14647. 'field_vocab_translate_tid' => array(
  14648. 'field_vocab_translate_tid',
  14649. ),
  14650. ),
  14651. 'mysql_character_set' => 'utf8',
  14652. ));
  14653. $connection->insert('field_revision_field_vocab_translate')
  14654. ->fields(array(
  14655. 'entity_type',
  14656. 'bundle',
  14657. 'deleted',
  14658. 'entity_id',
  14659. 'revision_id',
  14660. 'language',
  14661. 'delta',
  14662. 'field_vocab_translate_tid',
  14663. ))
  14664. ->values(array(
  14665. 'entity_type' => 'node',
  14666. 'bundle' => 'article',
  14667. 'deleted' => '0',
  14668. 'entity_id' => '2',
  14669. 'revision_id' => '2',
  14670. 'language' => 'und',
  14671. 'delta' => '0',
  14672. 'field_vocab_translate_tid' => '21',
  14673. ))
  14674. ->values(array(
  14675. 'entity_type' => 'node',
  14676. 'bundle' => 'article',
  14677. 'deleted' => '0',
  14678. 'entity_id' => '3',
  14679. 'revision_id' => '3',
  14680. 'language' => 'und',
  14681. 'delta' => '0',
  14682. 'field_vocab_translate_tid' => '23',
  14683. ))
  14684. ->execute();
  14685. $connection->schema()->createTable('field_revision_name_field', array(
  14686. 'fields' => array(
  14687. 'entity_type' => array(
  14688. 'type' => 'varchar',
  14689. 'not null' => TRUE,
  14690. 'length' => '128',
  14691. 'default' => '',
  14692. ),
  14693. 'bundle' => array(
  14694. 'type' => 'varchar',
  14695. 'not null' => TRUE,
  14696. 'length' => '128',
  14697. 'default' => '',
  14698. ),
  14699. 'deleted' => array(
  14700. 'type' => 'int',
  14701. 'not null' => TRUE,
  14702. 'size' => 'tiny',
  14703. 'default' => '0',
  14704. ),
  14705. 'entity_id' => array(
  14706. 'type' => 'int',
  14707. 'not null' => TRUE,
  14708. 'size' => 'normal',
  14709. 'unsigned' => TRUE,
  14710. ),
  14711. 'revision_id' => array(
  14712. 'type' => 'int',
  14713. 'not null' => TRUE,
  14714. 'size' => 'normal',
  14715. 'unsigned' => TRUE,
  14716. ),
  14717. 'language' => array(
  14718. 'type' => 'varchar',
  14719. 'not null' => TRUE,
  14720. 'length' => '32',
  14721. 'default' => '',
  14722. ),
  14723. 'delta' => array(
  14724. 'type' => 'int',
  14725. 'not null' => TRUE,
  14726. 'size' => 'normal',
  14727. 'unsigned' => TRUE,
  14728. ),
  14729. 'name_field_value' => array(
  14730. 'type' => 'varchar',
  14731. 'not null' => FALSE,
  14732. 'length' => '255',
  14733. ),
  14734. 'name_field_format' => array(
  14735. 'type' => 'varchar',
  14736. 'not null' => FALSE,
  14737. 'length' => '255',
  14738. ),
  14739. ),
  14740. 'primary key' => array(
  14741. 'entity_type',
  14742. 'entity_id',
  14743. 'revision_id',
  14744. 'deleted',
  14745. 'delta',
  14746. 'language',
  14747. ),
  14748. 'indexes' => array(
  14749. 'entity_type' => array(
  14750. 'entity_type',
  14751. ),
  14752. 'bundle' => array(
  14753. 'bundle',
  14754. ),
  14755. 'deleted' => array(
  14756. 'deleted',
  14757. ),
  14758. 'entity_id' => array(
  14759. 'entity_id',
  14760. ),
  14761. 'revision_id' => array(
  14762. 'revision_id',
  14763. ),
  14764. 'language' => array(
  14765. 'language',
  14766. ),
  14767. 'name_field_format' => array(
  14768. array(
  14769. 'name_field_format',
  14770. '191',
  14771. ),
  14772. ),
  14773. ),
  14774. 'mysql_character_set' => 'utf8',
  14775. ));
  14776. $connection->insert('field_revision_name_field')
  14777. ->fields(array(
  14778. 'entity_type',
  14779. 'bundle',
  14780. 'deleted',
  14781. 'entity_id',
  14782. 'revision_id',
  14783. 'language',
  14784. 'delta',
  14785. 'name_field_value',
  14786. 'name_field_format',
  14787. ))
  14788. ->values(array(
  14789. 'entity_type' => 'taxonomy_term',
  14790. 'bundle' => 'test_vocabulary',
  14791. 'deleted' => '0',
  14792. 'entity_id' => '2',
  14793. 'revision_id' => '2',
  14794. 'language' => 'en',
  14795. 'delta' => '0',
  14796. 'name_field_value' => 'Term1 (This is a real field!)',
  14797. 'name_field_format' => NULL,
  14798. ))
  14799. ->values(array(
  14800. 'entity_type' => 'taxonomy_term',
  14801. 'bundle' => 'test_vocabulary',
  14802. 'deleted' => '0',
  14803. 'entity_id' => '3',
  14804. 'revision_id' => '3',
  14805. 'language' => 'en',
  14806. 'delta' => '0',
  14807. 'name_field_value' => 'Term2',
  14808. 'name_field_format' => NULL,
  14809. ))
  14810. ->values(array(
  14811. 'entity_type' => 'taxonomy_term',
  14812. 'bundle' => 'test_vocabulary',
  14813. 'deleted' => '0',
  14814. 'entity_id' => '4',
  14815. 'revision_id' => '4',
  14816. 'language' => 'en',
  14817. 'delta' => '0',
  14818. 'name_field_value' => 'Term3 in plain old English',
  14819. 'name_field_format' => NULL,
  14820. ))
  14821. ->values(array(
  14822. 'entity_type' => 'taxonomy_term',
  14823. 'bundle' => 'test_vocabulary',
  14824. 'deleted' => '0',
  14825. 'entity_id' => '4',
  14826. 'revision_id' => '4',
  14827. 'language' => 'fr',
  14828. 'delta' => '0',
  14829. 'name_field_value' => "Term3 en français s'il vous plaît",
  14830. 'name_field_format' => NULL,
  14831. ))
  14832. ->values(array(
  14833. 'entity_type' => 'taxonomy_term',
  14834. 'bundle' => 'test_vocabulary',
  14835. 'deleted' => '0',
  14836. 'entity_id' => '4',
  14837. 'revision_id' => '4',
  14838. 'language' => 'is',
  14839. 'delta' => '0',
  14840. 'name_field_value' => 'Term3 á íslensku',
  14841. 'name_field_format' => NULL,
  14842. ))
  14843. ->execute();
  14844. $connection->schema()->createTable('field_revision_subject_field', array(
  14845. 'fields' => array(
  14846. 'entity_type' => array(
  14847. 'type' => 'varchar',
  14848. 'not null' => TRUE,
  14849. 'length' => '128',
  14850. 'default' => '',
  14851. ),
  14852. 'bundle' => array(
  14853. 'type' => 'varchar',
  14854. 'not null' => TRUE,
  14855. 'length' => '128',
  14856. 'default' => '',
  14857. ),
  14858. 'deleted' => array(
  14859. 'type' => 'int',
  14860. 'not null' => TRUE,
  14861. 'size' => 'tiny',
  14862. 'default' => '0',
  14863. ),
  14864. 'entity_id' => array(
  14865. 'type' => 'int',
  14866. 'not null' => TRUE,
  14867. 'size' => 'normal',
  14868. 'unsigned' => TRUE,
  14869. ),
  14870. 'revision_id' => array(
  14871. 'type' => 'int',
  14872. 'not null' => TRUE,
  14873. 'size' => 'normal',
  14874. 'unsigned' => TRUE,
  14875. ),
  14876. 'language' => array(
  14877. 'type' => 'varchar',
  14878. 'not null' => TRUE,
  14879. 'length' => '32',
  14880. 'default' => '',
  14881. ),
  14882. 'delta' => array(
  14883. 'type' => 'int',
  14884. 'not null' => TRUE,
  14885. 'size' => 'normal',
  14886. 'unsigned' => TRUE,
  14887. ),
  14888. 'subject_field_value' => array(
  14889. 'type' => 'varchar',
  14890. 'not null' => FALSE,
  14891. 'length' => '255',
  14892. ),
  14893. 'subject_field_format' => array(
  14894. 'type' => 'varchar',
  14895. 'not null' => FALSE,
  14896. 'length' => '255',
  14897. ),
  14898. ),
  14899. 'primary key' => array(
  14900. 'entity_type',
  14901. 'entity_id',
  14902. 'revision_id',
  14903. 'deleted',
  14904. 'delta',
  14905. 'language',
  14906. ),
  14907. 'indexes' => array(
  14908. 'entity_type' => array(
  14909. 'entity_type',
  14910. ),
  14911. 'bundle' => array(
  14912. 'bundle',
  14913. ),
  14914. 'deleted' => array(
  14915. 'deleted',
  14916. ),
  14917. 'entity_id' => array(
  14918. 'entity_id',
  14919. ),
  14920. 'revision_id' => array(
  14921. 'revision_id',
  14922. ),
  14923. 'language' => array(
  14924. 'language',
  14925. ),
  14926. 'subject_field_format' => array(
  14927. array(
  14928. 'subject_field_format',
  14929. '191',
  14930. ),
  14931. ),
  14932. ),
  14933. 'mysql_character_set' => 'utf8',
  14934. ));
  14935. $connection->insert('field_revision_subject_field')
  14936. ->fields(array(
  14937. 'entity_type',
  14938. 'bundle',
  14939. 'deleted',
  14940. 'entity_id',
  14941. 'revision_id',
  14942. 'language',
  14943. 'delta',
  14944. 'subject_field_value',
  14945. 'subject_field_format',
  14946. ))
  14947. ->values(array(
  14948. 'entity_type' => 'comment',
  14949. 'bundle' => 'comment_node_test_content_type',
  14950. 'deleted' => '0',
  14951. 'entity_id' => '1',
  14952. 'revision_id' => '1',
  14953. 'language' => 'en',
  14954. 'delta' => '0',
  14955. 'subject_field_value' => 'Subject field in English',
  14956. 'subject_field_format' => NULL,
  14957. ))
  14958. ->values(array(
  14959. 'entity_type' => 'comment',
  14960. 'bundle' => 'comment_node_test_content_type',
  14961. 'deleted' => '0',
  14962. 'entity_id' => '1',
  14963. 'revision_id' => '1',
  14964. 'language' => 'fr',
  14965. 'delta' => '0',
  14966. 'subject_field_value' => 'Subject field in French',
  14967. 'subject_field_format' => NULL,
  14968. ))
  14969. ->values(array(
  14970. 'entity_type' => 'comment',
  14971. 'bundle' => 'comment_node_test_content_type',
  14972. 'deleted' => '0',
  14973. 'entity_id' => '1',
  14974. 'revision_id' => '1',
  14975. 'language' => 'is',
  14976. 'delta' => '0',
  14977. 'subject_field_value' => 'Subject field in Icelandic',
  14978. 'subject_field_format' => NULL,
  14979. ))
  14980. ->values(array(
  14981. 'entity_type' => 'comment',
  14982. 'bundle' => 'comment_node_article',
  14983. 'deleted' => '0',
  14984. 'entity_id' => '2',
  14985. 'revision_id' => '2',
  14986. 'language' => 'en',
  14987. 'delta' => '0',
  14988. 'subject_field_value' => 'TNG for the win!',
  14989. 'subject_field_format' => NULL,
  14990. ))
  14991. ->values(array(
  14992. 'entity_type' => 'comment',
  14993. 'bundle' => 'comment_node_article',
  14994. 'deleted' => '0',
  14995. 'entity_id' => '3',
  14996. 'revision_id' => '3',
  14997. 'language' => 'is',
  14998. 'delta' => '0',
  14999. 'subject_field_value' => 'Comment to IS translation',
  15000. 'subject_field_format' => NULL,
  15001. ))
  15002. ->values(array(
  15003. 'entity_type' => 'comment',
  15004. 'bundle' => 'comment_node_test_content_type',
  15005. 'deleted' => '0',
  15006. 'entity_id' => '4',
  15007. 'revision_id' => '4',
  15008. 'language' => 'en',
  15009. 'delta' => '0',
  15010. 'subject_field_value' => 'Comment without language',
  15011. 'subject_field_format' => NULL,
  15012. ))
  15013. ->execute();
  15014. $connection->schema()->createTable('field_revision_taxonomy_forums', array(
  15015. 'fields' => array(
  15016. 'entity_type' => array(
  15017. 'type' => 'varchar',
  15018. 'not null' => TRUE,
  15019. 'length' => '128',
  15020. 'default' => '',
  15021. ),
  15022. 'bundle' => array(
  15023. 'type' => 'varchar',
  15024. 'not null' => TRUE,
  15025. 'length' => '128',
  15026. 'default' => '',
  15027. ),
  15028. 'deleted' => array(
  15029. 'type' => 'int',
  15030. 'not null' => TRUE,
  15031. 'size' => 'normal',
  15032. 'default' => '0',
  15033. ),
  15034. 'entity_id' => array(
  15035. 'type' => 'int',
  15036. 'not null' => TRUE,
  15037. 'size' => 'normal',
  15038. 'unsigned' => TRUE,
  15039. ),
  15040. 'revision_id' => array(
  15041. 'type' => 'int',
  15042. 'not null' => TRUE,
  15043. 'size' => 'normal',
  15044. 'unsigned' => TRUE,
  15045. ),
  15046. 'language' => array(
  15047. 'type' => 'varchar',
  15048. 'not null' => TRUE,
  15049. 'length' => '32',
  15050. 'default' => '',
  15051. ),
  15052. 'delta' => array(
  15053. 'type' => 'int',
  15054. 'not null' => TRUE,
  15055. 'size' => 'normal',
  15056. 'unsigned' => TRUE,
  15057. ),
  15058. 'taxonomy_forums_tid' => array(
  15059. 'type' => 'int',
  15060. 'not null' => FALSE,
  15061. 'size' => 'normal',
  15062. 'unsigned' => TRUE,
  15063. ),
  15064. ),
  15065. 'primary key' => array(
  15066. 'entity_type',
  15067. 'deleted',
  15068. 'entity_id',
  15069. 'revision_id',
  15070. 'language',
  15071. 'delta',
  15072. ),
  15073. 'mysql_character_set' => 'utf8',
  15074. ));
  15075. $connection->insert('field_revision_taxonomy_forums')
  15076. ->fields(array(
  15077. 'entity_type',
  15078. 'bundle',
  15079. 'deleted',
  15080. 'entity_id',
  15081. 'revision_id',
  15082. 'language',
  15083. 'delta',
  15084. 'taxonomy_forums_tid',
  15085. ))
  15086. ->values(array(
  15087. 'entity_type' => 'node',
  15088. 'bundle' => 'forum',
  15089. 'deleted' => '0',
  15090. 'entity_id' => '6',
  15091. 'revision_id' => '6',
  15092. 'language' => 'und',
  15093. 'delta' => '0',
  15094. 'taxonomy_forums_tid' => '1',
  15095. ))
  15096. ->values(array(
  15097. 'entity_type' => 'node',
  15098. 'bundle' => 'forum',
  15099. 'deleted' => '0',
  15100. 'entity_id' => '7',
  15101. 'revision_id' => '7',
  15102. 'language' => 'und',
  15103. 'delta' => '0',
  15104. 'taxonomy_forums_tid' => '1',
  15105. ))
  15106. ->execute();
  15107. $connection->schema()->createTable('field_revision_title_field', array(
  15108. 'fields' => array(
  15109. 'entity_type' => array(
  15110. 'type' => 'varchar',
  15111. 'not null' => TRUE,
  15112. 'length' => '128',
  15113. 'default' => '',
  15114. ),
  15115. 'bundle' => array(
  15116. 'type' => 'varchar',
  15117. 'not null' => TRUE,
  15118. 'length' => '128',
  15119. 'default' => '',
  15120. ),
  15121. 'deleted' => array(
  15122. 'type' => 'int',
  15123. 'not null' => TRUE,
  15124. 'size' => 'tiny',
  15125. 'default' => '0',
  15126. ),
  15127. 'entity_id' => array(
  15128. 'type' => 'int',
  15129. 'not null' => TRUE,
  15130. 'size' => 'normal',
  15131. 'unsigned' => TRUE,
  15132. ),
  15133. 'revision_id' => array(
  15134. 'type' => 'int',
  15135. 'not null' => TRUE,
  15136. 'size' => 'normal',
  15137. 'unsigned' => TRUE,
  15138. ),
  15139. 'language' => array(
  15140. 'type' => 'varchar',
  15141. 'not null' => TRUE,
  15142. 'length' => '32',
  15143. 'default' => '',
  15144. ),
  15145. 'delta' => array(
  15146. 'type' => 'int',
  15147. 'not null' => TRUE,
  15148. 'size' => 'normal',
  15149. 'unsigned' => TRUE,
  15150. ),
  15151. 'title_field_value' => array(
  15152. 'type' => 'varchar',
  15153. 'not null' => FALSE,
  15154. 'length' => '255',
  15155. ),
  15156. 'title_field_format' => array(
  15157. 'type' => 'varchar',
  15158. 'not null' => FALSE,
  15159. 'length' => '255',
  15160. ),
  15161. ),
  15162. 'primary key' => array(
  15163. 'entity_type',
  15164. 'entity_id',
  15165. 'revision_id',
  15166. 'deleted',
  15167. 'delta',
  15168. 'language',
  15169. ),
  15170. 'indexes' => array(
  15171. 'entity_type' => array(
  15172. 'entity_type',
  15173. ),
  15174. 'bundle' => array(
  15175. 'bundle',
  15176. ),
  15177. 'deleted' => array(
  15178. 'deleted',
  15179. ),
  15180. 'entity_id' => array(
  15181. 'entity_id',
  15182. ),
  15183. 'revision_id' => array(
  15184. 'revision_id',
  15185. ),
  15186. 'language' => array(
  15187. 'language',
  15188. ),
  15189. 'title_field_format' => array(
  15190. array(
  15191. 'title_field_format',
  15192. '191',
  15193. ),
  15194. ),
  15195. ),
  15196. 'mysql_character_set' => 'utf8',
  15197. ));
  15198. $connection->insert('field_revision_title_field')
  15199. ->fields(array(
  15200. 'entity_type',
  15201. 'bundle',
  15202. 'deleted',
  15203. 'entity_id',
  15204. 'revision_id',
  15205. 'language',
  15206. 'delta',
  15207. 'title_field_value',
  15208. 'title_field_format',
  15209. ))
  15210. ->values(array(
  15211. 'entity_type' => 'node',
  15212. 'bundle' => 'test_content_type',
  15213. 'deleted' => '0',
  15214. 'entity_id' => '1',
  15215. 'revision_id' => '1',
  15216. 'language' => 'en',
  15217. 'delta' => '0',
  15218. 'title_field_value' => 'An English Node',
  15219. 'title_field_format' => NULL,
  15220. ))
  15221. ->values(array(
  15222. 'entity_type' => 'node',
  15223. 'bundle' => 'test_content_type',
  15224. 'deleted' => '0',
  15225. 'entity_id' => '1',
  15226. 'revision_id' => '1',
  15227. 'language' => 'fr',
  15228. 'delta' => '0',
  15229. 'title_field_value' => 'A French Node',
  15230. 'title_field_format' => NULL,
  15231. ))
  15232. ->values(array(
  15233. 'entity_type' => 'node',
  15234. 'bundle' => 'test_content_type',
  15235. 'deleted' => '0',
  15236. 'entity_id' => '1',
  15237. 'revision_id' => '1',
  15238. 'language' => 'is',
  15239. 'delta' => '0',
  15240. 'title_field_value' => 'An Icelandic Node',
  15241. 'title_field_format' => NULL,
  15242. ))
  15243. ->execute();
  15244. $connection->schema()->createTable('file_managed', array(
  15245. 'fields' => array(
  15246. 'fid' => array(
  15247. 'type' => 'serial',
  15248. 'not null' => TRUE,
  15249. 'size' => 'normal',
  15250. 'unsigned' => TRUE,
  15251. ),
  15252. 'uid' => array(
  15253. 'type' => 'int',
  15254. 'not null' => TRUE,
  15255. 'size' => 'normal',
  15256. 'default' => '0',
  15257. 'unsigned' => TRUE,
  15258. ),
  15259. 'filename' => array(
  15260. 'type' => 'varchar',
  15261. 'not null' => TRUE,
  15262. 'length' => '255',
  15263. 'default' => '',
  15264. ),
  15265. 'uri' => array(
  15266. 'type' => 'varchar',
  15267. 'not null' => TRUE,
  15268. 'length' => '255',
  15269. 'default' => '',
  15270. ),
  15271. 'filemime' => array(
  15272. 'type' => 'varchar',
  15273. 'not null' => TRUE,
  15274. 'length' => '255',
  15275. 'default' => '',
  15276. ),
  15277. 'filesize' => array(
  15278. 'type' => 'int',
  15279. 'not null' => TRUE,
  15280. 'size' => 'normal',
  15281. 'default' => '0',
  15282. 'unsigned' => TRUE,
  15283. ),
  15284. 'status' => array(
  15285. 'type' => 'int',
  15286. 'not null' => TRUE,
  15287. 'size' => 'normal',
  15288. 'default' => '0',
  15289. ),
  15290. 'timestamp' => array(
  15291. 'type' => 'int',
  15292. 'not null' => TRUE,
  15293. 'size' => 'normal',
  15294. 'default' => '0',
  15295. 'unsigned' => TRUE,
  15296. ),
  15297. ),
  15298. 'primary key' => array(
  15299. 'fid',
  15300. ),
  15301. 'mysql_character_set' => 'utf8',
  15302. ));
  15303. $connection->insert('file_managed')
  15304. ->fields(array(
  15305. 'fid',
  15306. 'uid',
  15307. 'filename',
  15308. 'uri',
  15309. 'filemime',
  15310. 'filesize',
  15311. 'status',
  15312. 'timestamp',
  15313. ))
  15314. ->values(array(
  15315. 'fid' => '1',
  15316. 'uid' => '1',
  15317. 'filename' => 'cube.jpeg',
  15318. 'uri' => 'public://cube.jpeg',
  15319. 'filemime' => 'image/jpeg',
  15320. 'filesize' => '3620',
  15321. 'status' => '1',
  15322. 'timestamp' => '1421727515',
  15323. ))
  15324. ->values(array(
  15325. 'fid' => '2',
  15326. 'uid' => '1',
  15327. 'filename' => 'ds9.txt',
  15328. 'uri' => 'public://ds9.txt',
  15329. 'filemime' => 'text/plain',
  15330. 'filesize' => '4720',
  15331. 'status' => '1',
  15332. 'timestamp' => '1421727516',
  15333. ))
  15334. ->values(array(
  15335. 'fid' => '3',
  15336. 'uid' => '1',
  15337. 'filename' => 'Babylon5.txt',
  15338. 'uri' => 'private://Babylon5.txt',
  15339. 'filemime' => 'text/plain',
  15340. 'filesize' => '4',
  15341. 'status' => '1',
  15342. 'timestamp' => '1486104045',
  15343. ))
  15344. ->values(array(
  15345. 'fid' => '4',
  15346. 'uid' => '1',
  15347. 'filename' => 'TerokNor.txt',
  15348. 'uri' => 'temporary://TerokNor.txt',
  15349. 'filemime' => 'text/plain',
  15350. 'filesize' => '2369',
  15351. 'status' => '1',
  15352. 'timestamp' => '1421747516',
  15353. ))
  15354. ->execute();
  15355. $connection->schema()->createTable('file_usage', array(
  15356. 'fields' => array(
  15357. 'fid' => array(
  15358. 'type' => 'int',
  15359. 'not null' => TRUE,
  15360. 'size' => 'normal',
  15361. 'unsigned' => TRUE,
  15362. ),
  15363. 'module' => array(
  15364. 'type' => 'varchar',
  15365. 'not null' => TRUE,
  15366. 'length' => '255',
  15367. 'default' => '',
  15368. ),
  15369. 'type' => array(
  15370. 'type' => 'varchar',
  15371. 'not null' => TRUE,
  15372. 'length' => '64',
  15373. 'default' => '',
  15374. ),
  15375. 'id' => array(
  15376. 'type' => 'int',
  15377. 'not null' => TRUE,
  15378. 'size' => 'normal',
  15379. 'default' => '0',
  15380. 'unsigned' => TRUE,
  15381. ),
  15382. 'count' => array(
  15383. 'type' => 'int',
  15384. 'not null' => TRUE,
  15385. 'size' => 'normal',
  15386. 'default' => '0',
  15387. 'unsigned' => TRUE,
  15388. ),
  15389. ),
  15390. 'primary key' => array(
  15391. 'fid',
  15392. 'module',
  15393. 'type',
  15394. 'id',
  15395. ),
  15396. 'mysql_character_set' => 'utf8',
  15397. ));
  15398. $connection->insert('file_usage')
  15399. ->fields(array(
  15400. 'fid',
  15401. 'module',
  15402. 'type',
  15403. 'id',
  15404. 'count',
  15405. ))
  15406. ->values(array(
  15407. 'fid' => '1',
  15408. 'module' => 'file',
  15409. 'type' => 'node',
  15410. 'id' => '1',
  15411. 'count' => '3',
  15412. ))
  15413. ->values(array(
  15414. 'fid' => '2',
  15415. 'module' => 'file',
  15416. 'type' => 'node',
  15417. 'id' => '1',
  15418. 'count' => '2',
  15419. ))
  15420. ->values(array(
  15421. 'fid' => '2',
  15422. 'module' => 'file',
  15423. 'type' => 'user',
  15424. 'id' => '2',
  15425. 'count' => '1',
  15426. ))
  15427. ->values(array(
  15428. 'fid' => '3',
  15429. 'module' => 'file',
  15430. 'type' => 'node',
  15431. 'id' => '1',
  15432. 'count' => '1',
  15433. ))
  15434. ->execute();
  15435. $connection->schema()->createTable('filter', array(
  15436. 'fields' => array(
  15437. 'format' => array(
  15438. 'type' => 'varchar',
  15439. 'not null' => TRUE,
  15440. 'length' => '255',
  15441. ),
  15442. 'module' => array(
  15443. 'type' => 'varchar',
  15444. 'not null' => TRUE,
  15445. 'length' => '64',
  15446. 'default' => '',
  15447. ),
  15448. 'name' => array(
  15449. 'type' => 'varchar',
  15450. 'not null' => TRUE,
  15451. 'length' => '32',
  15452. 'default' => '',
  15453. ),
  15454. 'weight' => array(
  15455. 'type' => 'int',
  15456. 'not null' => TRUE,
  15457. 'size' => 'normal',
  15458. 'default' => '0',
  15459. ),
  15460. 'status' => array(
  15461. 'type' => 'int',
  15462. 'not null' => TRUE,
  15463. 'size' => 'normal',
  15464. 'default' => '0',
  15465. ),
  15466. 'settings' => array(
  15467. 'type' => 'blob',
  15468. 'not null' => FALSE,
  15469. 'size' => 'normal',
  15470. ),
  15471. ),
  15472. 'primary key' => array(
  15473. 'format',
  15474. 'name',
  15475. ),
  15476. 'mysql_character_set' => 'utf8',
  15477. ));
  15478. $connection->insert('filter')
  15479. ->fields(array(
  15480. 'format',
  15481. 'module',
  15482. 'name',
  15483. 'weight',
  15484. 'status',
  15485. 'settings',
  15486. ))
  15487. ->values(array(
  15488. 'format' => 'custom_text_format',
  15489. 'module' => 'filter',
  15490. 'name' => 'filter_autop',
  15491. 'weight' => '0',
  15492. 'status' => '1',
  15493. 'settings' => 'a:0:{}',
  15494. ))
  15495. ->values(array(
  15496. 'format' => 'custom_text_format',
  15497. 'module' => 'filter',
  15498. 'name' => 'filter_html',
  15499. 'weight' => '-10',
  15500. 'status' => '1',
  15501. 'settings' => 'a:3:{s:12:"allowed_html";s:82:"<a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table>";s:16:"filter_html_help";i:1;s:20:"filter_html_nofollow";i:1;}',
  15502. ))
  15503. ->values(array(
  15504. 'format' => 'custom_text_format',
  15505. 'module' => 'filter',
  15506. 'name' => 'filter_htmlcorrector',
  15507. 'weight' => '10',
  15508. 'status' => '0',
  15509. 'settings' => 'a:0:{}',
  15510. ))
  15511. ->values(array(
  15512. 'format' => 'custom_text_format',
  15513. 'module' => 'filter',
  15514. 'name' => 'filter_html_escape',
  15515. 'weight' => '-10',
  15516. 'status' => '0',
  15517. 'settings' => 'a:0:{}',
  15518. ))
  15519. ->values(array(
  15520. 'format' => 'custom_text_format',
  15521. 'module' => 'filter',
  15522. 'name' => 'filter_url',
  15523. 'weight' => '0',
  15524. 'status' => '0',
  15525. 'settings' => 'a:1:{s:17:"filter_url_length";s:2:"72";}',
  15526. ))
  15527. ->values(array(
  15528. 'format' => 'filtered_html',
  15529. 'module' => 'filter',
  15530. 'name' => 'filter_autop',
  15531. 'weight' => '2',
  15532. 'status' => '1',
  15533. 'settings' => 'a:0:{}',
  15534. ))
  15535. ->values(array(
  15536. 'format' => 'filtered_html',
  15537. 'module' => 'filter',
  15538. 'name' => 'filter_html',
  15539. 'weight' => '1',
  15540. 'status' => '1',
  15541. 'settings' => 'a:3:{s:12:"allowed_html";s:37:"<div> <span> <ul> <li> <ol> <a> <img>";s:16:"filter_html_help";i:1;s:20:"filter_html_nofollow";i:0;}',
  15542. ))
  15543. ->values(array(
  15544. 'format' => 'filtered_html',
  15545. 'module' => 'filter',
  15546. 'name' => 'filter_htmlcorrector',
  15547. 'weight' => '10',
  15548. 'status' => '1',
  15549. 'settings' => 'a:0:{}',
  15550. ))
  15551. ->values(array(
  15552. 'format' => 'filtered_html',
  15553. 'module' => 'filter',
  15554. 'name' => 'filter_html_escape',
  15555. 'weight' => '-10',
  15556. 'status' => '0',
  15557. 'settings' => 'a:0:{}',
  15558. ))
  15559. ->values(array(
  15560. 'format' => 'filtered_html',
  15561. 'module' => 'filter',
  15562. 'name' => 'filter_url',
  15563. 'weight' => '0',
  15564. 'status' => '1',
  15565. 'settings' => 'a:1:{s:17:"filter_url_length";s:3:"128";}',
  15566. ))
  15567. ->values(array(
  15568. 'format' => 'full_html',
  15569. 'module' => 'filter',
  15570. 'name' => 'filter_autop',
  15571. 'weight' => '1',
  15572. 'status' => '1',
  15573. 'settings' => 'a:0:{}',
  15574. ))
  15575. ->values(array(
  15576. 'format' => 'full_html',
  15577. 'module' => 'filter',
  15578. 'name' => 'filter_html',
  15579. 'weight' => '-10',
  15580. 'status' => '0',
  15581. 'settings' => 'a:3:{s:12:"allowed_html";s:74:"<a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>";s:16:"filter_html_help";i:1;s:20:"filter_html_nofollow";i:0;}',
  15582. ))
  15583. ->values(array(
  15584. 'format' => 'full_html',
  15585. 'module' => 'filter',
  15586. 'name' => 'filter_htmlcorrector',
  15587. 'weight' => '10',
  15588. 'status' => '1',
  15589. 'settings' => 'a:0:{}',
  15590. ))
  15591. ->values(array(
  15592. 'format' => 'full_html',
  15593. 'module' => 'filter',
  15594. 'name' => 'filter_html_escape',
  15595. 'weight' => '-10',
  15596. 'status' => '0',
  15597. 'settings' => 'a:0:{}',
  15598. ))
  15599. ->values(array(
  15600. 'format' => 'full_html',
  15601. 'module' => 'filter',
  15602. 'name' => 'filter_url',
  15603. 'weight' => '0',
  15604. 'status' => '1',
  15605. 'settings' => 'a:1:{s:17:"filter_url_length";i:72;}',
  15606. ))
  15607. ->values(array(
  15608. 'format' => 'php_code',
  15609. 'module' => 'filter',
  15610. 'name' => 'filter_autop',
  15611. 'weight' => '0',
  15612. 'status' => '0',
  15613. 'settings' => 'a:0:{}',
  15614. ))
  15615. ->values(array(
  15616. 'format' => 'php_code',
  15617. 'module' => 'filter',
  15618. 'name' => 'filter_html',
  15619. 'weight' => '-10',
  15620. 'status' => '0',
  15621. 'settings' => 'a:3:{s:12:"allowed_html";s:74:"<a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>";s:16:"filter_html_help";i:1;s:20:"filter_html_nofollow";i:0;}',
  15622. ))
  15623. ->values(array(
  15624. 'format' => 'php_code',
  15625. 'module' => 'filter',
  15626. 'name' => 'filter_htmlcorrector',
  15627. 'weight' => '10',
  15628. 'status' => '0',
  15629. 'settings' => 'a:0:{}',
  15630. ))
  15631. ->values(array(
  15632. 'format' => 'php_code',
  15633. 'module' => 'filter',
  15634. 'name' => 'filter_html_escape',
  15635. 'weight' => '-10',
  15636. 'status' => '0',
  15637. 'settings' => 'a:0:{}',
  15638. ))
  15639. ->values(array(
  15640. 'format' => 'php_code',
  15641. 'module' => 'filter',
  15642. 'name' => 'filter_url',
  15643. 'weight' => '0',
  15644. 'status' => '0',
  15645. 'settings' => 'a:1:{s:17:"filter_url_length";i:72;}',
  15646. ))
  15647. ->values(array(
  15648. 'format' => 'php_code',
  15649. 'module' => 'php',
  15650. 'name' => 'php_code',
  15651. 'weight' => '0',
  15652. 'status' => '1',
  15653. 'settings' => 'a:0:{}',
  15654. ))
  15655. ->values(array(
  15656. 'format' => 'plain_text',
  15657. 'module' => 'filter',
  15658. 'name' => 'filter_autop',
  15659. 'weight' => '2',
  15660. 'status' => '1',
  15661. 'settings' => 'a:0:{}',
  15662. ))
  15663. ->values(array(
  15664. 'format' => 'plain_text',
  15665. 'module' => 'filter',
  15666. 'name' => 'filter_html',
  15667. 'weight' => '-10',
  15668. 'status' => '0',
  15669. 'settings' => 'a:3:{s:12:"allowed_html";s:74:"<a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>";s:16:"filter_html_help";i:1;s:20:"filter_html_nofollow";i:0;}',
  15670. ))
  15671. ->values(array(
  15672. 'format' => 'plain_text',
  15673. 'module' => 'filter',
  15674. 'name' => 'filter_htmlcorrector',
  15675. 'weight' => '10',
  15676. 'status' => '0',
  15677. 'settings' => 'a:0:{}',
  15678. ))
  15679. ->values(array(
  15680. 'format' => 'plain_text',
  15681. 'module' => 'filter',
  15682. 'name' => 'filter_html_escape',
  15683. 'weight' => '0',
  15684. 'status' => '1',
  15685. 'settings' => 'a:0:{}',
  15686. ))
  15687. ->values(array(
  15688. 'format' => 'plain_text',
  15689. 'module' => 'filter',
  15690. 'name' => 'filter_url',
  15691. 'weight' => '1',
  15692. 'status' => '1',
  15693. 'settings' => 'a:1:{s:17:"filter_url_length";i:72;}',
  15694. ))
  15695. ->execute();
  15696. $connection->schema()->createTable('filter_format', array(
  15697. 'fields' => array(
  15698. 'format' => array(
  15699. 'type' => 'varchar',
  15700. 'not null' => TRUE,
  15701. 'length' => '255',
  15702. ),
  15703. 'name' => array(
  15704. 'type' => 'varchar',
  15705. 'not null' => TRUE,
  15706. 'length' => '255',
  15707. 'default' => '',
  15708. ),
  15709. 'cache' => array(
  15710. 'type' => 'int',
  15711. 'not null' => TRUE,
  15712. 'size' => 'normal',
  15713. 'default' => '0',
  15714. ),
  15715. 'status' => array(
  15716. 'type' => 'int',
  15717. 'not null' => TRUE,
  15718. 'size' => 'normal',
  15719. 'default' => '1',
  15720. 'unsigned' => TRUE,
  15721. ),
  15722. 'weight' => array(
  15723. 'type' => 'int',
  15724. 'not null' => TRUE,
  15725. 'size' => 'normal',
  15726. 'default' => '0',
  15727. ),
  15728. ),
  15729. 'primary key' => array(
  15730. 'format',
  15731. ),
  15732. 'mysql_character_set' => 'utf8',
  15733. ));
  15734. $connection->insert('filter_format')
  15735. ->fields(array(
  15736. 'format',
  15737. 'name',
  15738. 'cache',
  15739. 'status',
  15740. 'weight',
  15741. ))
  15742. ->values(array(
  15743. 'format' => 'custom_text_format',
  15744. 'name' => 'Custom Text format',
  15745. 'cache' => '1',
  15746. 'status' => '1',
  15747. 'weight' => '0',
  15748. ))
  15749. ->values(array(
  15750. 'format' => 'filtered_html',
  15751. 'name' => 'Filtered HTML',
  15752. 'cache' => '1',
  15753. 'status' => '1',
  15754. 'weight' => '0',
  15755. ))
  15756. ->values(array(
  15757. 'format' => 'full_html',
  15758. 'name' => 'Full HTML',
  15759. 'cache' => '1',
  15760. 'status' => '1',
  15761. 'weight' => '1',
  15762. ))
  15763. ->values(array(
  15764. 'format' => 'php_code',
  15765. 'name' => 'PHP code',
  15766. 'cache' => '0',
  15767. 'status' => '0',
  15768. 'weight' => '11',
  15769. ))
  15770. ->values(array(
  15771. 'format' => 'plain_text',
  15772. 'name' => 'Plain text',
  15773. 'cache' => '1',
  15774. 'status' => '1',
  15775. 'weight' => '10',
  15776. ))
  15777. ->execute();
  15778. $connection->schema()->createTable('flood', array(
  15779. 'fields' => array(
  15780. 'fid' => array(
  15781. 'type' => 'serial',
  15782. 'not null' => TRUE,
  15783. 'size' => 'normal',
  15784. ),
  15785. 'event' => array(
  15786. 'type' => 'varchar',
  15787. 'not null' => TRUE,
  15788. 'length' => '64',
  15789. 'default' => '',
  15790. ),
  15791. 'identifier' => array(
  15792. 'type' => 'varchar',
  15793. 'not null' => TRUE,
  15794. 'length' => '128',
  15795. 'default' => '',
  15796. ),
  15797. 'timestamp' => array(
  15798. 'type' => 'int',
  15799. 'not null' => TRUE,
  15800. 'size' => 'normal',
  15801. 'default' => '0',
  15802. ),
  15803. 'expiration' => array(
  15804. 'type' => 'int',
  15805. 'not null' => TRUE,
  15806. 'size' => 'normal',
  15807. 'default' => '0',
  15808. ),
  15809. ),
  15810. 'primary key' => array(
  15811. 'fid',
  15812. ),
  15813. 'mysql_character_set' => 'utf8',
  15814. ));
  15815. $connection->schema()->createTable('forum', array(
  15816. 'fields' => array(
  15817. 'nid' => array(
  15818. 'type' => 'int',
  15819. 'not null' => TRUE,
  15820. 'size' => 'normal',
  15821. 'default' => '0',
  15822. 'unsigned' => TRUE,
  15823. ),
  15824. 'vid' => array(
  15825. 'type' => 'int',
  15826. 'not null' => TRUE,
  15827. 'size' => 'normal',
  15828. 'default' => '0',
  15829. 'unsigned' => TRUE,
  15830. ),
  15831. 'tid' => array(
  15832. 'type' => 'int',
  15833. 'not null' => TRUE,
  15834. 'size' => 'normal',
  15835. 'default' => '0',
  15836. 'unsigned' => TRUE,
  15837. ),
  15838. ),
  15839. 'primary key' => array(
  15840. 'vid',
  15841. ),
  15842. 'mysql_character_set' => 'utf8',
  15843. ));
  15844. $connection->insert('forum')
  15845. ->fields(array(
  15846. 'nid',
  15847. 'vid',
  15848. 'tid',
  15849. ))
  15850. ->values(array(
  15851. 'nid' => '6',
  15852. 'vid' => '6',
  15853. 'tid' => '1',
  15854. ))
  15855. ->values(array(
  15856. 'nid' => '7',
  15857. 'vid' => '7',
  15858. 'tid' => '1',
  15859. ))
  15860. ->execute();
  15861. $connection->schema()->createTable('forum_index', array(
  15862. 'fields' => array(
  15863. 'nid' => array(
  15864. 'type' => 'int',
  15865. 'not null' => TRUE,
  15866. 'size' => 'normal',
  15867. 'default' => '0',
  15868. 'unsigned' => TRUE,
  15869. ),
  15870. 'title' => array(
  15871. 'type' => 'varchar',
  15872. 'not null' => TRUE,
  15873. 'length' => '255',
  15874. 'default' => '',
  15875. ),
  15876. 'tid' => array(
  15877. 'type' => 'int',
  15878. 'not null' => TRUE,
  15879. 'size' => 'normal',
  15880. 'default' => '0',
  15881. 'unsigned' => TRUE,
  15882. ),
  15883. 'sticky' => array(
  15884. 'type' => 'int',
  15885. 'not null' => FALSE,
  15886. 'size' => 'normal',
  15887. 'default' => '0',
  15888. ),
  15889. 'created' => array(
  15890. 'type' => 'int',
  15891. 'not null' => TRUE,
  15892. 'size' => 'normal',
  15893. 'default' => '0',
  15894. 'unsigned' => TRUE,
  15895. ),
  15896. 'last_comment_timestamp' => array(
  15897. 'type' => 'int',
  15898. 'not null' => TRUE,
  15899. 'size' => 'normal',
  15900. 'default' => '0',
  15901. ),
  15902. 'comment_count' => array(
  15903. 'type' => 'int',
  15904. 'not null' => TRUE,
  15905. 'size' => 'normal',
  15906. 'default' => '0',
  15907. 'unsigned' => TRUE,
  15908. ),
  15909. ),
  15910. 'mysql_character_set' => 'utf8',
  15911. ));
  15912. $connection->insert('forum_index')
  15913. ->fields(array(
  15914. 'nid',
  15915. 'title',
  15916. 'tid',
  15917. 'sticky',
  15918. 'created',
  15919. 'last_comment_timestamp',
  15920. 'comment_count',
  15921. ))
  15922. ->values(array(
  15923. 'nid' => '6',
  15924. 'title' => 'Comments are closed :-(',
  15925. 'tid' => '1',
  15926. 'sticky' => '0',
  15927. 'created' => '1504715414',
  15928. 'last_comment_timestamp' => '1504715414',
  15929. 'comment_count' => '0',
  15930. ))
  15931. ->values(array(
  15932. 'nid' => '7',
  15933. 'title' => 'Comments are open :-)',
  15934. 'tid' => '1',
  15935. 'sticky' => '0',
  15936. 'created' => '1504715432',
  15937. 'last_comment_timestamp' => '1504715432',
  15938. 'comment_count' => '0',
  15939. ))
  15940. ->execute();
  15941. $connection->schema()->createTable('history', array(
  15942. 'fields' => array(
  15943. 'uid' => array(
  15944. 'type' => 'int',
  15945. 'not null' => TRUE,
  15946. 'size' => 'normal',
  15947. 'default' => '0',
  15948. ),
  15949. 'nid' => array(
  15950. 'type' => 'int',
  15951. 'not null' => TRUE,
  15952. 'size' => 'normal',
  15953. 'default' => '0',
  15954. ),
  15955. 'timestamp' => array(
  15956. 'type' => 'int',
  15957. 'not null' => TRUE,
  15958. 'size' => 'normal',
  15959. 'default' => '0',
  15960. ),
  15961. ),
  15962. 'primary key' => array(
  15963. 'uid',
  15964. 'nid',
  15965. ),
  15966. 'mysql_character_set' => 'utf8',
  15967. ));
  15968. $connection->schema()->createTable('i18n_block_language', array(
  15969. 'fields' => array(
  15970. 'module' => array(
  15971. 'type' => 'varchar',
  15972. 'not null' => TRUE,
  15973. 'length' => '64',
  15974. ),
  15975. 'delta' => array(
  15976. 'type' => 'varchar',
  15977. 'not null' => TRUE,
  15978. 'length' => '32',
  15979. ),
  15980. 'language' => array(
  15981. 'type' => 'varchar',
  15982. 'not null' => TRUE,
  15983. 'length' => '12',
  15984. 'default' => '',
  15985. ),
  15986. ),
  15987. 'primary key' => array(
  15988. 'module',
  15989. 'delta',
  15990. 'language',
  15991. ),
  15992. 'indexes' => array(
  15993. 'language' => array(
  15994. 'language',
  15995. ),
  15996. ),
  15997. 'mysql_character_set' => 'utf8',
  15998. ));
  15999. $connection->schema()->createTable('i18n_string', array(
  16000. 'fields' => array(
  16001. 'lid' => array(
  16002. 'type' => 'int',
  16003. 'not null' => TRUE,
  16004. 'size' => 'normal',
  16005. 'default' => '0',
  16006. ),
  16007. 'textgroup' => array(
  16008. 'type' => 'varchar',
  16009. 'not null' => TRUE,
  16010. 'length' => '50',
  16011. 'default' => 'default',
  16012. ),
  16013. 'context' => array(
  16014. 'type' => 'varchar',
  16015. 'not null' => TRUE,
  16016. 'length' => '255',
  16017. 'default' => '',
  16018. ),
  16019. 'objectid' => array(
  16020. 'type' => 'varchar',
  16021. 'not null' => TRUE,
  16022. 'length' => '255',
  16023. 'default' => '',
  16024. ),
  16025. 'type' => array(
  16026. 'type' => 'varchar',
  16027. 'not null' => TRUE,
  16028. 'length' => '255',
  16029. 'default' => '',
  16030. ),
  16031. 'property' => array(
  16032. 'type' => 'varchar',
  16033. 'not null' => TRUE,
  16034. 'length' => '255',
  16035. 'default' => '',
  16036. ),
  16037. 'objectindex' => array(
  16038. 'type' => 'int',
  16039. 'not null' => TRUE,
  16040. 'size' => 'big',
  16041. 'default' => '0',
  16042. ),
  16043. 'format' => array(
  16044. 'type' => 'varchar',
  16045. 'not null' => FALSE,
  16046. 'length' => '255',
  16047. ),
  16048. ),
  16049. 'primary key' => array(
  16050. 'lid',
  16051. ),
  16052. 'indexes' => array(
  16053. 'group_context' => array(
  16054. 'textgroup',
  16055. array(
  16056. 'context',
  16057. '50',
  16058. ),
  16059. ),
  16060. ),
  16061. 'mysql_character_set' => 'utf8',
  16062. ));
  16063. $connection->insert('i18n_string')
  16064. ->fields(array(
  16065. 'lid',
  16066. 'textgroup',
  16067. 'context',
  16068. 'objectid',
  16069. 'type',
  16070. 'property',
  16071. 'objectindex',
  16072. 'format',
  16073. ))
  16074. ->values(array(
  16075. 'lid' => '57',
  16076. 'textgroup' => 'blocks',
  16077. 'context' => 'block:1:title',
  16078. 'objectid' => '1',
  16079. 'type' => 'block',
  16080. 'property' => 'title',
  16081. 'objectindex' => '1',
  16082. 'format' => '',
  16083. ))
  16084. ->values(array(
  16085. 'lid' => '60',
  16086. 'textgroup' => 'blocks',
  16087. 'context' => 'block:1:body',
  16088. 'objectid' => '1',
  16089. 'type' => 'block',
  16090. 'property' => 'body',
  16091. 'objectindex' => '1',
  16092. 'format' => 'filtered_html',
  16093. ))
  16094. ->values(array(
  16095. 'lid' => '61',
  16096. 'textgroup' => 'node',
  16097. 'context' => 'type:article:name',
  16098. 'objectid' => 'article',
  16099. 'type' => 'type',
  16100. 'property' => 'name',
  16101. 'objectindex' => '0',
  16102. 'format' => '',
  16103. ))
  16104. ->values(array(
  16105. 'lid' => '62',
  16106. 'textgroup' => 'node',
  16107. 'context' => 'type:article:title_label',
  16108. 'objectid' => 'article',
  16109. 'type' => 'type',
  16110. 'property' => 'title_label',
  16111. 'objectindex' => '0',
  16112. 'format' => '',
  16113. ))
  16114. ->values(array(
  16115. 'lid' => '63',
  16116. 'textgroup' => 'node',
  16117. 'context' => 'type:article:description',
  16118. 'objectid' => 'article',
  16119. 'type' => 'type',
  16120. 'property' => 'description',
  16121. 'objectindex' => '0',
  16122. 'format' => '',
  16123. ))
  16124. ->values(array(
  16125. 'lid' => '64',
  16126. 'textgroup' => 'node',
  16127. 'context' => 'type:article:help',
  16128. 'objectid' => 'article',
  16129. 'type' => 'type',
  16130. 'property' => 'help',
  16131. 'objectindex' => '0',
  16132. 'format' => '',
  16133. ))
  16134. ->values(array(
  16135. 'lid' => '65',
  16136. 'textgroup' => 'node',
  16137. 'context' => 'type:book:name',
  16138. 'objectid' => 'book',
  16139. 'type' => 'type',
  16140. 'property' => 'name',
  16141. 'objectindex' => '0',
  16142. 'format' => '',
  16143. ))
  16144. ->values(array(
  16145. 'lid' => '66',
  16146. 'textgroup' => 'node',
  16147. 'context' => 'type:book:title_label',
  16148. 'objectid' => 'book',
  16149. 'type' => 'type',
  16150. 'property' => 'title_label',
  16151. 'objectindex' => '0',
  16152. 'format' => '',
  16153. ))
  16154. ->values(array(
  16155. 'lid' => '67',
  16156. 'textgroup' => 'node',
  16157. 'context' => 'type:book:description',
  16158. 'objectid' => 'book',
  16159. 'type' => 'type',
  16160. 'property' => 'description',
  16161. 'objectindex' => '0',
  16162. 'format' => '',
  16163. ))
  16164. ->values(array(
  16165. 'lid' => '68',
  16166. 'textgroup' => 'node',
  16167. 'context' => 'type:page:name',
  16168. 'objectid' => 'page',
  16169. 'type' => 'type',
  16170. 'property' => 'name',
  16171. 'objectindex' => '0',
  16172. 'format' => '',
  16173. ))
  16174. ->values(array(
  16175. 'lid' => '69',
  16176. 'textgroup' => 'node',
  16177. 'context' => 'type:page:title_label',
  16178. 'objectid' => 'page',
  16179. 'type' => 'type',
  16180. 'property' => 'title_label',
  16181. 'objectindex' => '0',
  16182. 'format' => '',
  16183. ))
  16184. ->values(array(
  16185. 'lid' => '70',
  16186. 'textgroup' => 'node',
  16187. 'context' => 'type:page:description',
  16188. 'objectid' => 'page',
  16189. 'type' => 'type',
  16190. 'property' => 'description',
  16191. 'objectindex' => '0',
  16192. 'format' => '',
  16193. ))
  16194. ->values(array(
  16195. 'lid' => '71',
  16196. 'textgroup' => 'node',
  16197. 'context' => 'type:page:help',
  16198. 'objectid' => 'page',
  16199. 'type' => 'type',
  16200. 'property' => 'help',
  16201. 'objectindex' => '0',
  16202. 'format' => '',
  16203. ))
  16204. ->values(array(
  16205. 'lid' => '72',
  16206. 'textgroup' => 'node',
  16207. 'context' => 'type:test_content_type:name',
  16208. 'objectid' => 'test_content_type',
  16209. 'type' => 'type',
  16210. 'property' => 'name',
  16211. 'objectindex' => '0',
  16212. 'format' => '',
  16213. ))
  16214. ->values(array(
  16215. 'lid' => '73',
  16216. 'textgroup' => 'node',
  16217. 'context' => 'type:test_content_type:title_label',
  16218. 'objectid' => 'test_content_type',
  16219. 'type' => 'type',
  16220. 'property' => 'title_label',
  16221. 'objectindex' => '0',
  16222. 'format' => '',
  16223. ))
  16224. ->values(array(
  16225. 'lid' => '74',
  16226. 'textgroup' => 'node',
  16227. 'context' => 'type:test_content_type:description',
  16228. 'objectid' => 'test_content_type',
  16229. 'type' => 'type',
  16230. 'property' => 'description',
  16231. 'objectindex' => '0',
  16232. 'format' => '',
  16233. ))
  16234. ->values(array(
  16235. 'lid' => '75',
  16236. 'textgroup' => 'node',
  16237. 'context' => 'type:test_content_type:help',
  16238. 'objectid' => 'test_content_type',
  16239. 'type' => 'type',
  16240. 'property' => 'help',
  16241. 'objectindex' => '0',
  16242. 'format' => '',
  16243. ))
  16244. ->values(array(
  16245. 'lid' => '76',
  16246. 'textgroup' => 'field',
  16247. 'context' => 'comment_body:comment_node_page:label',
  16248. 'objectid' => 'comment_node_page',
  16249. 'type' => 'comment_body',
  16250. 'property' => 'label',
  16251. 'objectindex' => '0',
  16252. 'format' => '',
  16253. ))
  16254. ->values(array(
  16255. 'lid' => '77',
  16256. 'textgroup' => 'taxonomy',
  16257. 'context' => 'term:20:name',
  16258. 'objectid' => '20',
  16259. 'type' => 'term',
  16260. 'property' => 'name',
  16261. 'objectindex' => '20',
  16262. 'format' => '',
  16263. ))
  16264. ->values(array(
  16265. 'lid' => '78',
  16266. 'textgroup' => 'taxonomy',
  16267. 'context' => 'term:20:description',
  16268. 'objectid' => '20',
  16269. 'type' => 'term',
  16270. 'property' => 'description',
  16271. 'objectindex' => '20',
  16272. 'format' => 'filtered_html',
  16273. ))
  16274. ->values(array(
  16275. 'lid' => '79',
  16276. 'textgroup' => 'taxonomy',
  16277. 'context' => 'term:19:name',
  16278. 'objectid' => '19',
  16279. 'type' => 'term',
  16280. 'property' => 'name',
  16281. 'objectindex' => '19',
  16282. 'format' => '',
  16283. ))
  16284. ->values(array(
  16285. 'lid' => '80',
  16286. 'textgroup' => 'taxonomy',
  16287. 'context' => 'term:19:description',
  16288. 'objectid' => '19',
  16289. 'type' => 'term',
  16290. 'property' => 'description',
  16291. 'objectindex' => '19',
  16292. 'format' => 'filtered_html',
  16293. ))
  16294. ->values(array(
  16295. 'lid' => '81',
  16296. 'textgroup' => 'taxonomy',
  16297. 'context' => 'vocabulary:2:name',
  16298. 'objectid' => '2',
  16299. 'type' => 'vocabulary',
  16300. 'property' => 'name',
  16301. 'objectindex' => '2',
  16302. 'format' => '',
  16303. ))
  16304. ->values(array(
  16305. 'lid' => '82',
  16306. 'textgroup' => 'taxonomy',
  16307. 'context' => 'vocabulary:2:description',
  16308. 'objectid' => '2',
  16309. 'type' => 'vocabulary',
  16310. 'property' => 'description',
  16311. 'objectindex' => '2',
  16312. 'format' => '',
  16313. ))
  16314. ->values(array(
  16315. 'lid' => '83',
  16316. 'textgroup' => 'taxonomy',
  16317. 'context' => 'vocabulary:1:name',
  16318. 'objectid' => '1',
  16319. 'type' => 'vocabulary',
  16320. 'property' => 'name',
  16321. 'objectindex' => '1',
  16322. 'format' => '',
  16323. ))
  16324. ->values(array(
  16325. 'lid' => '84',
  16326. 'textgroup' => 'taxonomy',
  16327. 'context' => 'vocabulary:1:description',
  16328. 'objectid' => '1',
  16329. 'type' => 'vocabulary',
  16330. 'property' => 'description',
  16331. 'objectindex' => '1',
  16332. 'format' => '',
  16333. ))
  16334. ->values(array(
  16335. 'lid' => '85',
  16336. 'textgroup' => 'taxonomy',
  16337. 'context' => 'vocabulary:3:name',
  16338. 'objectid' => '3',
  16339. 'type' => 'vocabulary',
  16340. 'property' => 'name',
  16341. 'objectindex' => '3',
  16342. 'format' => '',
  16343. ))
  16344. ->values(array(
  16345. 'lid' => '86',
  16346. 'textgroup' => 'taxonomy',
  16347. 'context' => 'vocabulary:3:description',
  16348. 'objectid' => '3',
  16349. 'type' => 'vocabulary',
  16350. 'property' => 'description',
  16351. 'objectindex' => '3',
  16352. 'format' => '',
  16353. ))
  16354. ->values(array(
  16355. 'lid' => '87',
  16356. 'textgroup' => 'taxonomy',
  16357. 'context' => 'vocabulary:7:name',
  16358. 'objectid' => '7',
  16359. 'type' => 'vocabulary',
  16360. 'property' => 'name',
  16361. 'objectindex' => '7',
  16362. 'format' => '',
  16363. ))
  16364. ->values(array(
  16365. 'lid' => '88',
  16366. 'textgroup' => 'taxonomy',
  16367. 'context' => 'vocabulary:7:description',
  16368. 'objectid' => '7',
  16369. 'type' => 'vocabulary',
  16370. 'property' => 'description',
  16371. 'objectindex' => '7',
  16372. 'format' => '',
  16373. ))
  16374. ->values(array(
  16375. 'lid' => '89',
  16376. 'textgroup' => 'taxonomy',
  16377. 'context' => 'vocabulary:5:name',
  16378. 'objectid' => '5',
  16379. 'type' => 'vocabulary',
  16380. 'property' => 'name',
  16381. 'objectindex' => '5',
  16382. 'format' => '',
  16383. ))
  16384. ->values(array(
  16385. 'lid' => '90',
  16386. 'textgroup' => 'taxonomy',
  16387. 'context' => 'vocabulary:5:description',
  16388. 'objectid' => '5',
  16389. 'type' => 'vocabulary',
  16390. 'property' => 'description',
  16391. 'objectindex' => '5',
  16392. 'format' => '',
  16393. ))
  16394. ->values(array(
  16395. 'lid' => '91',
  16396. 'textgroup' => 'taxonomy',
  16397. 'context' => 'vocabulary:6:name',
  16398. 'objectid' => '6',
  16399. 'type' => 'vocabulary',
  16400. 'property' => 'name',
  16401. 'objectindex' => '6',
  16402. 'format' => '',
  16403. ))
  16404. ->values(array(
  16405. 'lid' => '92',
  16406. 'textgroup' => 'taxonomy',
  16407. 'context' => 'vocabulary:6:description',
  16408. 'objectid' => '6',
  16409. 'type' => 'vocabulary',
  16410. 'property' => 'description',
  16411. 'objectindex' => '6',
  16412. 'format' => '',
  16413. ))
  16414. ->values(array(
  16415. 'lid' => '93',
  16416. 'textgroup' => 'taxonomy',
  16417. 'context' => 'vocabulary:4:name',
  16418. 'objectid' => '4',
  16419. 'type' => 'vocabulary',
  16420. 'property' => 'name',
  16421. 'objectindex' => '4',
  16422. 'format' => '',
  16423. ))
  16424. ->values(array(
  16425. 'lid' => '94',
  16426. 'textgroup' => 'taxonomy',
  16427. 'context' => 'vocabulary:4:description',
  16428. 'objectid' => '4',
  16429. 'type' => 'vocabulary',
  16430. 'property' => 'description',
  16431. 'objectindex' => '4',
  16432. 'format' => '',
  16433. ))
  16434. ->values(array(
  16435. 'lid' => '95',
  16436. 'textgroup' => 'field',
  16437. 'context' => 'field_boolean:test_content_type:description',
  16438. 'objectid' => 'test_content_type',
  16439. 'type' => 'field_boolean',
  16440. 'property' => 'description',
  16441. 'objectindex' => '0',
  16442. 'format' => '',
  16443. ))
  16444. ->values(array(
  16445. 'lid' => '96',
  16446. 'textgroup' => 'field',
  16447. 'context' => 'field_email:test_content_type:label',
  16448. 'objectid' => 'test_content_type',
  16449. 'type' => 'field_email',
  16450. 'property' => 'label',
  16451. 'objectindex' => '0',
  16452. 'format' => '',
  16453. ))
  16454. ->values(array(
  16455. 'lid' => '97',
  16456. 'textgroup' => 'field',
  16457. 'context' => 'field_email:test_content_type:description',
  16458. 'objectid' => 'test_content_type',
  16459. 'type' => 'field_email',
  16460. 'property' => 'description',
  16461. 'objectindex' => '0',
  16462. 'format' => '',
  16463. ))
  16464. ->values(array(
  16465. 'lid' => '98',
  16466. 'textgroup' => 'field',
  16467. 'context' => 'field_phone:test_content_type:label',
  16468. 'objectid' => 'test_content_type',
  16469. 'type' => 'field_phone',
  16470. 'property' => 'label',
  16471. 'objectindex' => '0',
  16472. 'format' => '',
  16473. ))
  16474. ->values(array(
  16475. 'lid' => '99',
  16476. 'textgroup' => 'field',
  16477. 'context' => 'field_date:test_content_type:label',
  16478. 'objectid' => 'test_content_type',
  16479. 'type' => 'field_date',
  16480. 'property' => 'label',
  16481. 'objectindex' => '0',
  16482. 'format' => '',
  16483. ))
  16484. ->values(array(
  16485. 'lid' => '100',
  16486. 'textgroup' => 'field',
  16487. 'context' => 'field_date_with_end_time:test_content_type:label',
  16488. 'objectid' => 'test_content_type',
  16489. 'type' => 'field_date_with_end_time',
  16490. 'property' => 'label',
  16491. 'objectindex' => '0',
  16492. 'format' => '',
  16493. ))
  16494. ->values(array(
  16495. 'lid' => '101',
  16496. 'textgroup' => 'field',
  16497. 'context' => 'field_file:test_content_type:label',
  16498. 'objectid' => 'test_content_type',
  16499. 'type' => 'field_file',
  16500. 'property' => 'label',
  16501. 'objectindex' => '0',
  16502. 'format' => '',
  16503. ))
  16504. ->values(array(
  16505. 'lid' => '102',
  16506. 'textgroup' => 'field',
  16507. 'context' => 'field_file:user:label',
  16508. 'objectid' => 'user',
  16509. 'type' => 'field_file',
  16510. 'property' => 'label',
  16511. 'objectindex' => '0',
  16512. 'format' => '',
  16513. ))
  16514. ->values(array(
  16515. 'lid' => '103',
  16516. 'textgroup' => 'field',
  16517. 'context' => 'field_float:test_content_type:label',
  16518. 'objectid' => 'test_content_type',
  16519. 'type' => 'field_float',
  16520. 'property' => 'label',
  16521. 'objectindex' => '0',
  16522. 'format' => '',
  16523. ))
  16524. ->values(array(
  16525. 'lid' => '104',
  16526. 'textgroup' => 'field',
  16527. 'context' => 'field_float:test_content_type:description',
  16528. 'objectid' => 'test_content_type',
  16529. 'type' => 'field_float',
  16530. 'property' => 'description',
  16531. 'objectindex' => '0',
  16532. 'format' => '',
  16533. ))
  16534. ->values(array(
  16535. 'lid' => '105',
  16536. 'textgroup' => 'field',
  16537. 'context' => 'field_images:test_content_type:label',
  16538. 'objectid' => 'test_content_type',
  16539. 'type' => 'field_images',
  16540. 'property' => 'label',
  16541. 'objectindex' => '0',
  16542. 'format' => '',
  16543. ))
  16544. ->values(array(
  16545. 'lid' => '106',
  16546. 'textgroup' => 'field',
  16547. 'context' => 'field_integer:test_content_type:label',
  16548. 'objectid' => 'test_content_type',
  16549. 'type' => 'field_integer',
  16550. 'property' => 'label',
  16551. 'objectindex' => '0',
  16552. 'format' => '',
  16553. ))
  16554. ->values(array(
  16555. 'lid' => '107',
  16556. 'textgroup' => 'field',
  16557. 'context' => 'field_integer:comment_node_test_content_type:label',
  16558. 'objectid' => 'comment_node_test_content_type',
  16559. 'type' => 'field_integer',
  16560. 'property' => 'label',
  16561. 'objectindex' => '0',
  16562. 'format' => '',
  16563. ))
  16564. ->values(array(
  16565. 'lid' => '108',
  16566. 'textgroup' => 'field',
  16567. 'context' => 'field_integer:test_vocabulary:label',
  16568. 'objectid' => 'test_vocabulary',
  16569. 'type' => 'field_integer',
  16570. 'property' => 'label',
  16571. 'objectindex' => '0',
  16572. 'format' => '',
  16573. ))
  16574. ->values(array(
  16575. 'lid' => '109',
  16576. 'textgroup' => 'field',
  16577. 'context' => 'field_integer:user:label',
  16578. 'objectid' => 'user',
  16579. 'type' => 'field_integer',
  16580. 'property' => 'label',
  16581. 'objectindex' => '0',
  16582. 'format' => '',
  16583. ))
  16584. ->values(array(
  16585. 'lid' => '110',
  16586. 'textgroup' => 'field',
  16587. 'context' => 'field_link:test_content_type:label',
  16588. 'objectid' => 'test_content_type',
  16589. 'type' => 'field_link',
  16590. 'property' => 'label',
  16591. 'objectindex' => '0',
  16592. 'format' => '',
  16593. ))
  16594. ->values(array(
  16595. 'lid' => '111',
  16596. 'textgroup' => 'field',
  16597. 'context' => 'field_link:test_content_type:title_value',
  16598. 'objectid' => 'test_content_type',
  16599. 'type' => 'field_link',
  16600. 'property' => 'title_value',
  16601. 'objectindex' => '0',
  16602. 'format' => '',
  16603. ))
  16604. ->values(array(
  16605. 'lid' => '112',
  16606. 'textgroup' => 'field',
  16607. 'context' => 'field_link:article:label',
  16608. 'objectid' => 'article',
  16609. 'type' => 'field_link',
  16610. 'property' => 'label',
  16611. 'objectindex' => '0',
  16612. 'format' => '',
  16613. ))
  16614. ->values(array(
  16615. 'lid' => '113',
  16616. 'textgroup' => 'field',
  16617. 'context' => 'field_link:article:title_value',
  16618. 'objectid' => 'article',
  16619. 'type' => 'field_link',
  16620. 'property' => 'title_value',
  16621. 'objectindex' => '0',
  16622. 'format' => '',
  16623. ))
  16624. ->values(array(
  16625. 'lid' => '114',
  16626. 'textgroup' => 'field',
  16627. 'context' => 'field_link:blog:label',
  16628. 'objectid' => 'blog',
  16629. 'type' => 'field_link',
  16630. 'property' => 'label',
  16631. 'objectindex' => '0',
  16632. 'format' => '',
  16633. ))
  16634. ->values(array(
  16635. 'lid' => '115',
  16636. 'textgroup' => 'field',
  16637. 'context' => 'field_link:blog:title_value',
  16638. 'objectid' => 'blog',
  16639. 'type' => 'field_link',
  16640. 'property' => 'title_value',
  16641. 'objectindex' => '0',
  16642. 'format' => '',
  16643. ))
  16644. ->values(array(
  16645. 'lid' => '116',
  16646. 'textgroup' => 'field',
  16647. 'context' => 'field_text_list:#allowed_values:Some Text',
  16648. 'objectid' => '#allowed_values',
  16649. 'type' => 'field_text_list',
  16650. 'property' => 'Some Text',
  16651. 'objectindex' => '0',
  16652. 'format' => '',
  16653. ))
  16654. ->values(array(
  16655. 'lid' => '117',
  16656. 'textgroup' => 'field',
  16657. 'context' => 'field_text_list:#allowed_values:Some more text',
  16658. 'objectid' => '#allowed_values',
  16659. 'type' => 'field_text_list',
  16660. 'property' => 'Some more text',
  16661. 'objectindex' => '0',
  16662. 'format' => '',
  16663. ))
  16664. ->values(array(
  16665. 'lid' => '118',
  16666. 'textgroup' => 'field',
  16667. 'context' => 'field_text_list:#allowed_values:The key',
  16668. 'objectid' => '#allowed_values',
  16669. 'type' => 'field_text_list',
  16670. 'property' => 'The key',
  16671. 'objectindex' => '0',
  16672. 'format' => '',
  16673. ))
  16674. ->values(array(
  16675. 'lid' => '119',
  16676. 'textgroup' => 'field',
  16677. 'context' => 'field_text_list:test_content_type:label',
  16678. 'objectid' => 'test_content_type',
  16679. 'type' => 'field_text_list',
  16680. 'property' => 'label',
  16681. 'objectindex' => '0',
  16682. 'format' => '',
  16683. ))
  16684. ->values(array(
  16685. 'lid' => '120',
  16686. 'textgroup' => 'field',
  16687. 'context' => 'field_integer_list:#allowed_values:1',
  16688. 'objectid' => '#allowed_values',
  16689. 'type' => 'field_integer_list',
  16690. 'property' => '1',
  16691. 'objectindex' => '0',
  16692. 'format' => '',
  16693. ))
  16694. ->values(array(
  16695. 'lid' => '121',
  16696. 'textgroup' => 'field',
  16697. 'context' => 'field_integer_list:#allowed_values:2',
  16698. 'objectid' => '#allowed_values',
  16699. 'type' => 'field_integer_list',
  16700. 'property' => '2',
  16701. 'objectindex' => '0',
  16702. 'format' => '',
  16703. ))
  16704. ->values(array(
  16705. 'lid' => '122',
  16706. 'textgroup' => 'field',
  16707. 'context' => 'field_integer_list:#allowed_values:3',
  16708. 'objectid' => '#allowed_values',
  16709. 'type' => 'field_integer_list',
  16710. 'property' => '3',
  16711. 'objectindex' => '0',
  16712. 'format' => '',
  16713. ))
  16714. ->values(array(
  16715. 'lid' => '123',
  16716. 'textgroup' => 'field',
  16717. 'context' => 'field_integer_list:#allowed_values:6',
  16718. 'objectid' => '#allowed_values',
  16719. 'type' => 'field_integer_list',
  16720. 'property' => '6',
  16721. 'objectindex' => '0',
  16722. 'format' => '',
  16723. ))
  16724. ->values(array(
  16725. 'lid' => '124',
  16726. 'textgroup' => 'field',
  16727. 'context' => 'field_integer_list:#allowed_values:7',
  16728. 'objectid' => '#allowed_values',
  16729. 'type' => 'field_integer_list',
  16730. 'property' => '7',
  16731. 'objectindex' => '0',
  16732. 'format' => '',
  16733. ))
  16734. ->values(array(
  16735. 'lid' => '125',
  16736. 'textgroup' => 'field',
  16737. 'context' => 'field_integer_list:test_content_type:label',
  16738. 'objectid' => 'test_content_type',
  16739. 'type' => 'field_integer_list',
  16740. 'property' => 'label',
  16741. 'objectindex' => '0',
  16742. 'format' => '',
  16743. ))
  16744. ->values(array(
  16745. 'lid' => '126',
  16746. 'textgroup' => 'field',
  16747. 'context' => 'field_long_text:test_content_type:label',
  16748. 'objectid' => 'test_content_type',
  16749. 'type' => 'field_long_text',
  16750. 'property' => 'label',
  16751. 'objectindex' => '0',
  16752. 'format' => '',
  16753. ))
  16754. ->values(array(
  16755. 'lid' => '127',
  16756. 'textgroup' => 'field',
  16757. 'context' => 'field_term_reference:test_content_type:label',
  16758. 'objectid' => 'test_content_type',
  16759. 'type' => 'field_term_reference',
  16760. 'property' => 'label',
  16761. 'objectindex' => '0',
  16762. 'format' => '',
  16763. ))
  16764. ->values(array(
  16765. 'lid' => '128',
  16766. 'textgroup' => 'field',
  16767. 'context' => 'field_term_reference:test_vocabulary:label',
  16768. 'objectid' => 'test_vocabulary',
  16769. 'type' => 'field_term_reference',
  16770. 'property' => 'label',
  16771. 'objectindex' => '0',
  16772. 'format' => '',
  16773. ))
  16774. ->values(array(
  16775. 'lid' => '129',
  16776. 'textgroup' => 'field',
  16777. 'context' => 'field_text:test_content_type:label',
  16778. 'objectid' => 'test_content_type',
  16779. 'type' => 'field_text',
  16780. 'property' => 'label',
  16781. 'objectindex' => '0',
  16782. 'format' => '',
  16783. ))
  16784. ->values(array(
  16785. 'lid' => '130',
  16786. 'textgroup' => 'field',
  16787. 'context' => 'field_node_entityreference:test_content_type:label',
  16788. 'objectid' => 'test_content_type',
  16789. 'type' => 'field_node_entityreference',
  16790. 'property' => 'label',
  16791. 'objectindex' => '0',
  16792. 'format' => '',
  16793. ))
  16794. ->values(array(
  16795. 'lid' => '131',
  16796. 'textgroup' => 'field',
  16797. 'context' => 'field_user_entityreference:test_content_type:label',
  16798. 'objectid' => 'test_content_type',
  16799. 'type' => 'field_user_entityreference',
  16800. 'property' => 'label',
  16801. 'objectindex' => '0',
  16802. 'format' => '',
  16803. ))
  16804. ->values(array(
  16805. 'lid' => '132',
  16806. 'textgroup' => 'field',
  16807. 'context' => 'field_term_entityreference:test_content_type:label',
  16808. 'objectid' => 'test_content_type',
  16809. 'type' => 'field_term_entityreference',
  16810. 'property' => 'label',
  16811. 'objectindex' => '0',
  16812. 'format' => '',
  16813. ))
  16814. ->values(array(
  16815. 'lid' => '133',
  16816. 'textgroup' => 'field',
  16817. 'context' => 'field_private_file:test_content_type:label',
  16818. 'objectid' => 'test_content_type',
  16819. 'type' => 'field_private_file',
  16820. 'property' => 'label',
  16821. 'objectindex' => '0',
  16822. 'format' => '',
  16823. ))
  16824. ->values(array(
  16825. 'lid' => '134',
  16826. 'textgroup' => 'field',
  16827. 'context' => 'field_text_plain:article:label',
  16828. 'objectid' => 'article',
  16829. 'type' => 'field_text_plain',
  16830. 'property' => 'label',
  16831. 'objectindex' => '0',
  16832. 'format' => '',
  16833. ))
  16834. ->values(array(
  16835. 'lid' => '135',
  16836. 'textgroup' => 'field',
  16837. 'context' => 'field_text_plain:page:label',
  16838. 'objectid' => 'page',
  16839. 'type' => 'field_text_plain',
  16840. 'property' => 'label',
  16841. 'objectindex' => '0',
  16842. 'format' => '',
  16843. ))
  16844. ->values(array(
  16845. 'lid' => '136',
  16846. 'textgroup' => 'field',
  16847. 'context' => 'field_text_filtered:article:label',
  16848. 'objectid' => 'article',
  16849. 'type' => 'field_text_filtered',
  16850. 'property' => 'label',
  16851. 'objectindex' => '0',
  16852. 'format' => '',
  16853. ))
  16854. ->values(array(
  16855. 'lid' => '137',
  16856. 'textgroup' => 'field',
  16857. 'context' => 'field_text_filtered:page:label',
  16858. 'objectid' => 'page',
  16859. 'type' => 'field_text_filtered',
  16860. 'property' => 'label',
  16861. 'objectindex' => '0',
  16862. 'format' => '',
  16863. ))
  16864. ->values(array(
  16865. 'lid' => '138',
  16866. 'textgroup' => 'field',
  16867. 'context' => 'field_text_plain_filtered:article:label',
  16868. 'objectid' => 'article',
  16869. 'type' => 'field_text_plain_filtered',
  16870. 'property' => 'label',
  16871. 'objectindex' => '0',
  16872. 'format' => '',
  16873. ))
  16874. ->values(array(
  16875. 'lid' => '139',
  16876. 'textgroup' => 'field',
  16877. 'context' => 'field_text_plain_filtered:page:label',
  16878. 'objectid' => 'page',
  16879. 'type' => 'field_text_plain_filtered',
  16880. 'property' => 'label',
  16881. 'objectindex' => '0',
  16882. 'format' => '',
  16883. ))
  16884. ->values(array(
  16885. 'lid' => '140',
  16886. 'textgroup' => 'field',
  16887. 'context' => 'field_text_long_plain:article:label',
  16888. 'objectid' => 'article',
  16889. 'type' => 'field_text_long_plain',
  16890. 'property' => 'label',
  16891. 'objectindex' => '0',
  16892. 'format' => '',
  16893. ))
  16894. ->values(array(
  16895. 'lid' => '141',
  16896. 'textgroup' => 'field',
  16897. 'context' => 'field_text_long_plain:page:label',
  16898. 'objectid' => 'page',
  16899. 'type' => 'field_text_long_plain',
  16900. 'property' => 'label',
  16901. 'objectindex' => '0',
  16902. 'format' => '',
  16903. ))
  16904. ->values(array(
  16905. 'lid' => '142',
  16906. 'textgroup' => 'field',
  16907. 'context' => 'field_text_long_filtered:article:label',
  16908. 'objectid' => 'article',
  16909. 'type' => 'field_text_long_filtered',
  16910. 'property' => 'label',
  16911. 'objectindex' => '0',
  16912. 'format' => '',
  16913. ))
  16914. ->values(array(
  16915. 'lid' => '143',
  16916. 'textgroup' => 'field',
  16917. 'context' => 'field_text_long_filtered:page:label',
  16918. 'objectid' => 'page',
  16919. 'type' => 'field_text_long_filtered',
  16920. 'property' => 'label',
  16921. 'objectindex' => '0',
  16922. 'format' => '',
  16923. ))
  16924. ->values(array(
  16925. 'lid' => '144',
  16926. 'textgroup' => 'field',
  16927. 'context' => 'field_text_long_plain_filtered:article:label',
  16928. 'objectid' => 'article',
  16929. 'type' => 'field_text_long_plain_filtered',
  16930. 'property' => 'label',
  16931. 'objectindex' => '0',
  16932. 'format' => '',
  16933. ))
  16934. ->values(array(
  16935. 'lid' => '145',
  16936. 'textgroup' => 'field',
  16937. 'context' => 'field_text_long_plain_filtered:page:label',
  16938. 'objectid' => 'page',
  16939. 'type' => 'field_text_long_plain_filtered',
  16940. 'property' => 'label',
  16941. 'objectindex' => '0',
  16942. 'format' => '',
  16943. ))
  16944. ->values(array(
  16945. 'lid' => '146',
  16946. 'textgroup' => 'field',
  16947. 'context' => 'field_text_sum_plain:article:label',
  16948. 'objectid' => 'article',
  16949. 'type' => 'field_text_sum_plain',
  16950. 'property' => 'label',
  16951. 'objectindex' => '0',
  16952. 'format' => '',
  16953. ))
  16954. ->values(array(
  16955. 'lid' => '147',
  16956. 'textgroup' => 'field',
  16957. 'context' => 'field_text_sum_plain:page:label',
  16958. 'objectid' => 'page',
  16959. 'type' => 'field_text_sum_plain',
  16960. 'property' => 'label',
  16961. 'objectindex' => '0',
  16962. 'format' => '',
  16963. ))
  16964. ->values(array(
  16965. 'lid' => '148',
  16966. 'textgroup' => 'field',
  16967. 'context' => 'field_text_sum_filtered:article:label',
  16968. 'objectid' => 'article',
  16969. 'type' => 'field_text_sum_filtered',
  16970. 'property' => 'label',
  16971. 'objectindex' => '0',
  16972. 'format' => '',
  16973. ))
  16974. ->values(array(
  16975. 'lid' => '149',
  16976. 'textgroup' => 'field',
  16977. 'context' => 'field_text_sum_filtered:page:label',
  16978. 'objectid' => 'page',
  16979. 'type' => 'field_text_sum_filtered',
  16980. 'property' => 'label',
  16981. 'objectindex' => '0',
  16982. 'format' => '',
  16983. ))
  16984. ->values(array(
  16985. 'lid' => '150',
  16986. 'textgroup' => 'field',
  16987. 'context' => 'field_text_sum_plain_filtered:article:label',
  16988. 'objectid' => 'article',
  16989. 'type' => 'field_text_sum_plain_filtered',
  16990. 'property' => 'label',
  16991. 'objectindex' => '0',
  16992. 'format' => '',
  16993. ))
  16994. ->values(array(
  16995. 'lid' => '151',
  16996. 'textgroup' => 'field',
  16997. 'context' => 'field_text_sum_plain_filtered:page:label',
  16998. 'objectid' => 'page',
  16999. 'type' => 'field_text_sum_plain_filtered',
  17000. 'property' => 'label',
  17001. 'objectindex' => '0',
  17002. 'format' => '',
  17003. ))
  17004. ->values(array(
  17005. 'lid' => '152',
  17006. 'textgroup' => 'field',
  17007. 'context' => 'field_datetime_without_time:test_content_type:label',
  17008. 'objectid' => 'test_content_type',
  17009. 'type' => 'field_datetime_without_time',
  17010. 'property' => 'label',
  17011. 'objectindex' => '0',
  17012. 'format' => '',
  17013. ))
  17014. ->values(array(
  17015. 'lid' => '153',
  17016. 'textgroup' => 'field',
  17017. 'context' => 'field_date_without_time:test_content_type:label',
  17018. 'objectid' => 'test_content_type',
  17019. 'type' => 'field_date_without_time',
  17020. 'property' => 'label',
  17021. 'objectindex' => '0',
  17022. 'format' => '',
  17023. ))
  17024. ->values(array(
  17025. 'lid' => '154',
  17026. 'textgroup' => 'field',
  17027. 'context' => 'field_float_list:test_content_type:label',
  17028. 'objectid' => 'test_content_type',
  17029. 'type' => 'field_float_list',
  17030. 'property' => 'label',
  17031. 'objectindex' => '0',
  17032. 'format' => '',
  17033. ))
  17034. ->values(array(
  17035. 'lid' => '155',
  17036. 'textgroup' => 'field',
  17037. 'context' => 'field_reference:article:label',
  17038. 'objectid' => 'article',
  17039. 'type' => 'field_reference',
  17040. 'property' => 'label',
  17041. 'objectindex' => '0',
  17042. 'format' => '',
  17043. ))
  17044. ->values(array(
  17045. 'lid' => '156',
  17046. 'textgroup' => 'field',
  17047. 'context' => 'field_reference:user:label',
  17048. 'objectid' => 'user',
  17049. 'type' => 'field_reference',
  17050. 'property' => 'label',
  17051. 'objectindex' => '0',
  17052. 'format' => '',
  17053. ))
  17054. ->values(array(
  17055. 'lid' => '157',
  17056. 'textgroup' => 'field',
  17057. 'context' => 'field_reference_2:article:label',
  17058. 'objectid' => 'article',
  17059. 'type' => 'field_reference_2',
  17060. 'property' => 'label',
  17061. 'objectindex' => '0',
  17062. 'format' => '',
  17063. ))
  17064. ->values(array(
  17065. 'lid' => '158',
  17066. 'textgroup' => 'field',
  17067. 'context' => 'title_field:test_content_type:label',
  17068. 'objectid' => 'test_content_type',
  17069. 'type' => 'title_field',
  17070. 'property' => 'label',
  17071. 'objectindex' => '0',
  17072. 'format' => '',
  17073. ))
  17074. ->values(array(
  17075. 'lid' => '159',
  17076. 'textgroup' => 'field',
  17077. 'context' => 'subject_field:comment_node_article:label',
  17078. 'objectid' => 'comment_node_article',
  17079. 'type' => 'subject_field',
  17080. 'property' => 'label',
  17081. 'objectindex' => '0',
  17082. 'format' => '',
  17083. ))
  17084. ->values(array(
  17085. 'lid' => '160',
  17086. 'textgroup' => 'field',
  17087. 'context' => 'subject_field:comment_node_test_content_type:label',
  17088. 'objectid' => 'comment_node_test_content_type',
  17089. 'type' => 'subject_field',
  17090. 'property' => 'label',
  17091. 'objectindex' => '0',
  17092. 'format' => '',
  17093. ))
  17094. ->values(array(
  17095. 'lid' => '161',
  17096. 'textgroup' => 'field',
  17097. 'context' => 'name_field:test_vocabulary:label',
  17098. 'objectid' => 'test_vocabulary',
  17099. 'type' => 'name_field',
  17100. 'property' => 'label',
  17101. 'objectindex' => '0',
  17102. 'format' => '',
  17103. ))
  17104. ->values(array(
  17105. 'lid' => '162',
  17106. 'textgroup' => 'field',
  17107. 'context' => 'description_field:test_vocabulary:label',
  17108. 'objectid' => 'test_vocabulary',
  17109. 'type' => 'description_field',
  17110. 'property' => 'label',
  17111. 'objectindex' => '0',
  17112. 'format' => '',
  17113. ))
  17114. ->values(array(
  17115. 'lid' => '163',
  17116. 'textgroup' => 'blocks',
  17117. 'context' => 'user:login:title',
  17118. 'objectid' => 'login',
  17119. 'type' => 'user',
  17120. 'property' => 'title',
  17121. 'objectindex' => '0',
  17122. 'format' => '',
  17123. ))
  17124. ->values(array(
  17125. 'lid' => '674',
  17126. 'textgroup' => 'field',
  17127. 'context' => 'comment_body:comment_node_book:label',
  17128. 'objectid' => 'comment_node_book',
  17129. 'type' => 'comment_body',
  17130. 'property' => 'label',
  17131. 'objectindex' => '0',
  17132. 'format' => '',
  17133. ))
  17134. ->values(array(
  17135. 'lid' => '675',
  17136. 'textgroup' => 'field',
  17137. 'context' => 'comment_body:comment_node_forum:label',
  17138. 'objectid' => 'comment_node_forum',
  17139. 'type' => 'comment_body',
  17140. 'property' => 'label',
  17141. 'objectindex' => '0',
  17142. 'format' => '',
  17143. ))
  17144. ->values(array(
  17145. 'lid' => '676',
  17146. 'textgroup' => 'field',
  17147. 'context' => 'comment_body:comment_node_test_content_type:label',
  17148. 'objectid' => 'comment_node_test_content_type',
  17149. 'type' => 'comment_body',
  17150. 'property' => 'label',
  17151. 'objectindex' => '0',
  17152. 'format' => '',
  17153. ))
  17154. ->values(array(
  17155. 'lid' => '677',
  17156. 'textgroup' => 'field',
  17157. 'context' => 'body:page:label',
  17158. 'objectid' => 'page',
  17159. 'type' => 'body',
  17160. 'property' => 'label',
  17161. 'objectindex' => '0',
  17162. 'format' => '',
  17163. ))
  17164. ->values(array(
  17165. 'lid' => '678',
  17166. 'textgroup' => 'field',
  17167. 'context' => 'body:article:label',
  17168. 'objectid' => 'article',
  17169. 'type' => 'body',
  17170. 'property' => 'label',
  17171. 'objectindex' => '0',
  17172. 'format' => '',
  17173. ))
  17174. ->values(array(
  17175. 'lid' => '679',
  17176. 'textgroup' => 'field',
  17177. 'context' => 'body:blog:label',
  17178. 'objectid' => 'blog',
  17179. 'type' => 'body',
  17180. 'property' => 'label',
  17181. 'objectindex' => '0',
  17182. 'format' => '',
  17183. ))
  17184. ->values(array(
  17185. 'lid' => '680',
  17186. 'textgroup' => 'field',
  17187. 'context' => 'body:book:label',
  17188. 'objectid' => 'book',
  17189. 'type' => 'body',
  17190. 'property' => 'label',
  17191. 'objectindex' => '0',
  17192. 'format' => '',
  17193. ))
  17194. ->values(array(
  17195. 'lid' => '681',
  17196. 'textgroup' => 'field',
  17197. 'context' => 'body:forum:label',
  17198. 'objectid' => 'forum',
  17199. 'type' => 'body',
  17200. 'property' => 'label',
  17201. 'objectindex' => '0',
  17202. 'format' => '',
  17203. ))
  17204. ->values(array(
  17205. 'lid' => '682',
  17206. 'textgroup' => 'field',
  17207. 'context' => 'field_tags:article:label',
  17208. 'objectid' => 'article',
  17209. 'type' => 'field_tags',
  17210. 'property' => 'label',
  17211. 'objectindex' => '0',
  17212. 'format' => '',
  17213. ))
  17214. ->values(array(
  17215. 'lid' => '683',
  17216. 'textgroup' => 'field',
  17217. 'context' => 'field_tags:article:description',
  17218. 'objectid' => 'article',
  17219. 'type' => 'field_tags',
  17220. 'property' => 'description',
  17221. 'objectindex' => '0',
  17222. 'format' => '',
  17223. ))
  17224. ->values(array(
  17225. 'lid' => '684',
  17226. 'textgroup' => 'field',
  17227. 'context' => 'field_image:article:label',
  17228. 'objectid' => 'article',
  17229. 'type' => 'field_image',
  17230. 'property' => 'label',
  17231. 'objectindex' => '0',
  17232. 'format' => '',
  17233. ))
  17234. ->values(array(
  17235. 'lid' => '685',
  17236. 'textgroup' => 'field',
  17237. 'context' => 'field_image:article:description',
  17238. 'objectid' => 'article',
  17239. 'type' => 'field_image',
  17240. 'property' => 'description',
  17241. 'objectindex' => '0',
  17242. 'format' => '',
  17243. ))
  17244. ->values(array(
  17245. 'lid' => '686',
  17246. 'textgroup' => 'field',
  17247. 'context' => 'taxonomy_forums:forum:label',
  17248. 'objectid' => 'forum',
  17249. 'type' => 'taxonomy_forums',
  17250. 'property' => 'label',
  17251. 'objectindex' => '0',
  17252. 'format' => '',
  17253. ))
  17254. ->values(array(
  17255. 'lid' => '687',
  17256. 'textgroup' => 'field',
  17257. 'context' => 'field_boolean:#allowed_values:0',
  17258. 'objectid' => '#allowed_values',
  17259. 'type' => 'field_boolean',
  17260. 'property' => '0',
  17261. 'objectindex' => '0',
  17262. 'format' => '',
  17263. ))
  17264. ->values(array(
  17265. 'lid' => '688',
  17266. 'textgroup' => 'field',
  17267. 'context' => 'field_boolean:#allowed_values:1',
  17268. 'objectid' => '#allowed_values',
  17269. 'type' => 'field_boolean',
  17270. 'property' => '1',
  17271. 'objectindex' => '0',
  17272. 'format' => '',
  17273. ))
  17274. ->values(array(
  17275. 'lid' => '689',
  17276. 'textgroup' => 'field',
  17277. 'context' => 'field_boolean:test_content_type:label',
  17278. 'objectid' => 'test_content_type',
  17279. 'type' => 'field_boolean',
  17280. 'property' => 'label',
  17281. 'objectindex' => '0',
  17282. 'format' => '',
  17283. ))
  17284. ->values(array(
  17285. 'lid' => '754',
  17286. 'textgroup' => 'field',
  17287. 'context' => 'subject_field:comment_node_article:label',
  17288. 'objectid' => 'comment_node_article',
  17289. 'type' => 'subject_field',
  17290. 'property' => 'label',
  17291. 'objectindex' => '0',
  17292. 'format' => '',
  17293. ))
  17294. ->values(array(
  17295. 'lid' => '755',
  17296. 'textgroup' => 'field',
  17297. 'context' => 'subject_field:comment_node_test_content_type:label',
  17298. 'objectid' => 'comment_node_test_content_type',
  17299. 'type' => 'subject_field',
  17300. 'property' => 'label',
  17301. 'objectindex' => '0',
  17302. 'format' => '',
  17303. ))
  17304. ->values(array(
  17305. 'lid' => '756',
  17306. 'textgroup' => 'field',
  17307. 'context' => 'name_field:test_vocabulary:label',
  17308. 'objectid' => 'test_vocabulary',
  17309. 'type' => 'name_field',
  17310. 'property' => 'label',
  17311. 'objectindex' => '0',
  17312. 'format' => '',
  17313. ))
  17314. ->values(array(
  17315. 'lid' => '758',
  17316. 'textgroup' => 'field',
  17317. 'context' => 'field_vocab_localize:article:label',
  17318. 'objectid' => 'article',
  17319. 'type' => 'field_vocab_localize',
  17320. 'property' => 'label',
  17321. 'objectindex' => '0',
  17322. 'format' => '',
  17323. ))
  17324. ->values(array(
  17325. 'lid' => '759',
  17326. 'textgroup' => 'field',
  17327. 'context' => 'field_vocab_translate:article:label',
  17328. 'objectid' => 'article',
  17329. 'type' => 'field_vocab_translate',
  17330. 'property' => 'label',
  17331. 'objectindex' => '0',
  17332. 'format' => '',
  17333. ))
  17334. ->values(array(
  17335. 'lid' => '760',
  17336. 'textgroup' => 'field',
  17337. 'context' => 'field_vocab_fixed:article:label',
  17338. 'objectid' => 'article',
  17339. 'type' => 'field_vocab_fixed',
  17340. 'property' => 'label',
  17341. 'objectindex' => '0',
  17342. 'format' => '',
  17343. ))
  17344. ->values(array(
  17345. 'lid' => '761',
  17346. 'textgroup' => 'field',
  17347. 'context' => 'field_color:#allowed_values:0',
  17348. 'objectid' => '#allowed_values',
  17349. 'type' => 'field_color',
  17350. 'property' => '0',
  17351. 'objectindex' => '0',
  17352. 'format' => '',
  17353. ))
  17354. ->values(array(
  17355. 'lid' => '762',
  17356. 'textgroup' => 'field',
  17357. 'context' => 'field_color:#allowed_values:1',
  17358. 'objectid' => '#allowed_values',
  17359. 'type' => 'field_color',
  17360. 'property' => '1',
  17361. 'objectindex' => '0',
  17362. 'format' => '',
  17363. ))
  17364. ->values(array(
  17365. 'lid' => '763',
  17366. 'textgroup' => 'field',
  17367. 'context' => 'field_color:#allowed_values:2',
  17368. 'objectid' => '#allowed_values',
  17369. 'type' => 'field_color',
  17370. 'property' => '2',
  17371. 'objectindex' => '0',
  17372. 'format' => '',
  17373. ))
  17374. ->values(array(
  17375. 'lid' => '764',
  17376. 'textgroup' => 'field',
  17377. 'context' => 'field_color:blog:label',
  17378. 'objectid' => 'blog',
  17379. 'type' => 'field_color',
  17380. 'property' => 'label',
  17381. 'objectindex' => '0',
  17382. 'format' => '',
  17383. ))
  17384. ->values(array(
  17385. 'lid' => '765',
  17386. 'textgroup' => 'field',
  17387. 'context' => 'field_rating:#allowed_values:1',
  17388. 'objectid' => '#allowed_values',
  17389. 'type' => 'field_rating',
  17390. 'property' => '1',
  17391. 'objectindex' => '0',
  17392. 'format' => '',
  17393. ))
  17394. ->values(array(
  17395. 'lid' => '766',
  17396. 'textgroup' => 'field',
  17397. 'context' => 'field_rating:#allowed_values:2',
  17398. 'objectid' => '#allowed_values',
  17399. 'type' => 'field_rating',
  17400. 'property' => '2',
  17401. 'objectindex' => '0',
  17402. 'format' => '',
  17403. ))
  17404. ->values(array(
  17405. 'lid' => '767',
  17406. 'textgroup' => 'field',
  17407. 'context' => 'field_rating:#allowed_values:3',
  17408. 'objectid' => '#allowed_values',
  17409. 'type' => 'field_rating',
  17410. 'property' => '3',
  17411. 'objectindex' => '0',
  17412. 'format' => '',
  17413. ))
  17414. ->values(array(
  17415. 'lid' => '768',
  17416. 'textgroup' => 'field',
  17417. 'context' => 'field_rating:blog:label',
  17418. 'objectid' => 'blog',
  17419. 'type' => 'field_rating',
  17420. 'property' => 'label',
  17421. 'objectindex' => '0',
  17422. 'format' => '',
  17423. ))
  17424. ->values(array(
  17425. 'lid' => '780',
  17426. 'textgroup' => 'taxonomy',
  17427. 'context' => 'vocabulary:2:name',
  17428. 'objectid' => '2',
  17429. 'type' => 'vocabulary',
  17430. 'property' => 'name',
  17431. 'objectindex' => '2',
  17432. 'format' => '',
  17433. ))
  17434. ->values(array(
  17435. 'lid' => '781',
  17436. 'textgroup' => 'taxonomy',
  17437. 'context' => 'vocabulary:2:description',
  17438. 'objectid' => '2',
  17439. 'type' => 'vocabulary',
  17440. 'property' => 'description',
  17441. 'objectindex' => '2',
  17442. 'format' => '',
  17443. ))
  17444. ->values(array(
  17445. 'lid' => '794',
  17446. 'textgroup' => 'field',
  17447. 'context' => 'taxonomy_forums:forum:label',
  17448. 'objectid' => 'forum',
  17449. 'type' => 'taxonomy_forums',
  17450. 'property' => 'label',
  17451. 'objectindex' => '0',
  17452. 'format' => '',
  17453. ))
  17454. ->values(array(
  17455. 'lid' => '795',
  17456. 'textgroup' => 'field',
  17457. 'context' => 'comment_body:comment_node_article:label',
  17458. 'objectid' => 'comment_node_article',
  17459. 'type' => 'comment_body',
  17460. 'property' => 'label',
  17461. 'objectindex' => '0',
  17462. 'format' => '',
  17463. ))
  17464. ->values(array(
  17465. 'lid' => '796',
  17466. 'textgroup' => 'field',
  17467. 'context' => 'comment_body:comment_node_blog:label',
  17468. 'objectid' => 'comment_node_blog',
  17469. 'type' => 'comment_body',
  17470. 'property' => 'label',
  17471. 'objectindex' => '0',
  17472. 'format' => '',
  17473. ))
  17474. ->execute();
  17475. $connection->schema()->createTable('i18n_translation_set', array(
  17476. 'fields' => array(
  17477. 'tsid' => array(
  17478. 'type' => 'serial',
  17479. 'not null' => TRUE,
  17480. 'size' => 'normal',
  17481. 'unsigned' => TRUE,
  17482. ),
  17483. 'title' => array(
  17484. 'type' => 'varchar',
  17485. 'not null' => TRUE,
  17486. 'length' => '255',
  17487. 'default' => '',
  17488. ),
  17489. 'type' => array(
  17490. 'type' => 'varchar',
  17491. 'not null' => TRUE,
  17492. 'length' => '32',
  17493. 'default' => '',
  17494. ),
  17495. 'bundle' => array(
  17496. 'type' => 'varchar',
  17497. 'not null' => TRUE,
  17498. 'length' => '128',
  17499. 'default' => '',
  17500. ),
  17501. 'master_id' => array(
  17502. 'type' => 'int',
  17503. 'not null' => TRUE,
  17504. 'size' => 'normal',
  17505. 'default' => '0',
  17506. 'unsigned' => TRUE,
  17507. ),
  17508. 'status' => array(
  17509. 'type' => 'int',
  17510. 'not null' => TRUE,
  17511. 'size' => 'normal',
  17512. 'default' => '1',
  17513. ),
  17514. 'created' => array(
  17515. 'type' => 'int',
  17516. 'not null' => TRUE,
  17517. 'size' => 'normal',
  17518. 'default' => '0',
  17519. ),
  17520. 'changed' => array(
  17521. 'type' => 'int',
  17522. 'not null' => TRUE,
  17523. 'size' => 'normal',
  17524. 'default' => '0',
  17525. ),
  17526. ),
  17527. 'primary key' => array(
  17528. 'tsid',
  17529. ),
  17530. 'indexes' => array(
  17531. 'entity_bundle' => array(
  17532. 'type',
  17533. 'bundle',
  17534. ),
  17535. ),
  17536. 'mysql_character_set' => 'utf8',
  17537. ));
  17538. $connection->insert('i18n_translation_set')
  17539. ->fields(array(
  17540. 'tsid',
  17541. 'title',
  17542. 'type',
  17543. 'bundle',
  17544. 'master_id',
  17545. 'status',
  17546. 'created',
  17547. 'changed',
  17548. ))
  17549. ->values(array(
  17550. 'tsid' => '1',
  17551. 'title' => '',
  17552. 'type' => 'taxonomy_term',
  17553. 'bundle' => 'vocabtranslate',
  17554. 'master_id' => '0',
  17555. 'status' => '0',
  17556. 'created' => '1550964799',
  17557. 'changed' => '1550964799',
  17558. ))
  17559. ->execute();
  17560. $connection->schema()->createTable('image_effects', array(
  17561. 'fields' => array(
  17562. 'ieid' => array(
  17563. 'type' => 'serial',
  17564. 'not null' => TRUE,
  17565. 'size' => 'normal',
  17566. 'unsigned' => TRUE,
  17567. ),
  17568. 'isid' => array(
  17569. 'type' => 'int',
  17570. 'not null' => TRUE,
  17571. 'size' => 'normal',
  17572. 'default' => '0',
  17573. 'unsigned' => TRUE,
  17574. ),
  17575. 'weight' => array(
  17576. 'type' => 'int',
  17577. 'not null' => TRUE,
  17578. 'size' => 'normal',
  17579. 'default' => '0',
  17580. ),
  17581. 'name' => array(
  17582. 'type' => 'varchar',
  17583. 'not null' => TRUE,
  17584. 'length' => '255',
  17585. ),
  17586. 'data' => array(
  17587. 'type' => 'blob',
  17588. 'not null' => TRUE,
  17589. 'size' => 'normal',
  17590. ),
  17591. ),
  17592. 'primary key' => array(
  17593. 'ieid',
  17594. ),
  17595. 'mysql_character_set' => 'utf8',
  17596. ));
  17597. $connection->insert('image_effects')
  17598. ->fields(array(
  17599. 'ieid',
  17600. 'isid',
  17601. 'weight',
  17602. 'name',
  17603. 'data',
  17604. ))
  17605. ->values(array(
  17606. 'ieid' => '3',
  17607. 'isid' => '1',
  17608. 'weight' => '1',
  17609. 'name' => 'image_scale_and_crop',
  17610. 'data' => 'a:2:{s:5:"width";s:2:"55";s:6:"height";s:2:"55";}',
  17611. ))
  17612. ->values(array(
  17613. 'ieid' => '4',
  17614. 'isid' => '1',
  17615. 'weight' => '2',
  17616. 'name' => 'image_desaturate',
  17617. 'data' => 'a:0:{}',
  17618. ))
  17619. ->values(array(
  17620. 'ieid' => '5',
  17621. 'isid' => '2',
  17622. 'weight' => '1',
  17623. 'name' => 'image_resize',
  17624. 'data' => 'a:2:{s:5:"width";s:2:"55";s:6:"height";s:3:"100";}',
  17625. ))
  17626. ->values(array(
  17627. 'ieid' => '6',
  17628. 'isid' => '2',
  17629. 'weight' => '2',
  17630. 'name' => 'image_rotate',
  17631. 'data' => 'a:3:{s:7:"degrees";s:2:"45";s:7:"bgcolor";s:7:"#FFFFFF";s:6:"random";i:0;}',
  17632. ))
  17633. ->values(array(
  17634. 'ieid' => '7',
  17635. 'isid' => '3',
  17636. 'weight' => '1',
  17637. 'name' => 'image_scale',
  17638. 'data' => 'a:3:{s:5:"width";s:3:"150";s:6:"height";s:0:"";s:7:"upscale";i:0;}',
  17639. ))
  17640. ->values(array(
  17641. 'ieid' => '8',
  17642. 'isid' => '3',
  17643. 'weight' => '2',
  17644. 'name' => 'image_crop',
  17645. 'data' => 'a:3:{s:5:"width";s:2:"50";s:6:"height";s:2:"50";s:6:"anchor";s:8:"left-top";}',
  17646. ))
  17647. ->execute();
  17648. $connection->schema()->createTable('image_styles', array(
  17649. 'fields' => array(
  17650. 'isid' => array(
  17651. 'type' => 'serial',
  17652. 'not null' => TRUE,
  17653. 'size' => 'normal',
  17654. 'unsigned' => TRUE,
  17655. ),
  17656. 'name' => array(
  17657. 'type' => 'varchar',
  17658. 'not null' => TRUE,
  17659. 'length' => '255',
  17660. ),
  17661. 'label' => array(
  17662. 'type' => 'varchar',
  17663. 'not null' => TRUE,
  17664. 'length' => '255',
  17665. 'default' => '',
  17666. ),
  17667. ),
  17668. 'primary key' => array(
  17669. 'isid',
  17670. ),
  17671. 'mysql_character_set' => 'utf8',
  17672. ));
  17673. $connection->insert('image_styles')
  17674. ->fields(array(
  17675. 'isid',
  17676. 'name',
  17677. 'label',
  17678. ))
  17679. ->values(array(
  17680. 'isid' => '1',
  17681. 'name' => 'custom_image_style_1',
  17682. 'label' => 'Custom image style 1',
  17683. ))
  17684. ->values(array(
  17685. 'isid' => '2',
  17686. 'name' => 'custom_image_style_2',
  17687. 'label' => 'Custom image style 2',
  17688. ))
  17689. ->values(array(
  17690. 'isid' => '3',
  17691. 'name' => 'custom_image_style_3',
  17692. 'label' => 'Custom image style 3',
  17693. ))
  17694. ->execute();
  17695. $connection->schema()->createTable('languages', array(
  17696. 'fields' => array(
  17697. 'language' => array(
  17698. 'type' => 'varchar',
  17699. 'not null' => TRUE,
  17700. 'length' => '12',
  17701. 'default' => '',
  17702. ),
  17703. 'name' => array(
  17704. 'type' => 'varchar',
  17705. 'not null' => TRUE,
  17706. 'length' => '64',
  17707. 'default' => '',
  17708. ),
  17709. 'native' => array(
  17710. 'type' => 'varchar',
  17711. 'not null' => TRUE,
  17712. 'length' => '64',
  17713. 'default' => '',
  17714. ),
  17715. 'direction' => array(
  17716. 'type' => 'int',
  17717. 'not null' => TRUE,
  17718. 'size' => 'normal',
  17719. 'default' => '0',
  17720. ),
  17721. 'enabled' => array(
  17722. 'type' => 'int',
  17723. 'not null' => TRUE,
  17724. 'size' => 'normal',
  17725. 'default' => '0',
  17726. ),
  17727. 'plurals' => array(
  17728. 'type' => 'int',
  17729. 'not null' => TRUE,
  17730. 'size' => 'normal',
  17731. 'default' => '0',
  17732. ),
  17733. 'formula' => array(
  17734. 'type' => 'varchar',
  17735. 'not null' => TRUE,
  17736. 'length' => '255',
  17737. 'default' => '',
  17738. ),
  17739. 'domain' => array(
  17740. 'type' => 'varchar',
  17741. 'not null' => TRUE,
  17742. 'length' => '128',
  17743. 'default' => '',
  17744. ),
  17745. 'prefix' => array(
  17746. 'type' => 'varchar',
  17747. 'not null' => TRUE,
  17748. 'length' => '128',
  17749. 'default' => '',
  17750. ),
  17751. 'weight' => array(
  17752. 'type' => 'int',
  17753. 'not null' => TRUE,
  17754. 'size' => 'normal',
  17755. 'default' => '0',
  17756. ),
  17757. 'javascript' => array(
  17758. 'type' => 'varchar',
  17759. 'not null' => TRUE,
  17760. 'length' => '64',
  17761. 'default' => '',
  17762. ),
  17763. ),
  17764. 'primary key' => array(
  17765. 'language',
  17766. ),
  17767. 'mysql_character_set' => 'utf8',
  17768. ));
  17769. $connection->insert('languages')
  17770. ->fields(array(
  17771. 'language',
  17772. 'name',
  17773. 'native',
  17774. 'direction',
  17775. 'enabled',
  17776. 'plurals',
  17777. 'formula',
  17778. 'domain',
  17779. 'prefix',
  17780. 'weight',
  17781. 'javascript',
  17782. ))
  17783. ->values(array(
  17784. 'language' => 'en',
  17785. 'name' => 'English',
  17786. 'native' => 'English',
  17787. 'direction' => '0',
  17788. 'enabled' => '1',
  17789. 'plurals' => '0',
  17790. 'formula' => '',
  17791. 'domain' => '',
  17792. 'prefix' => '',
  17793. 'weight' => '0',
  17794. 'javascript' => '',
  17795. ))
  17796. ->values(array(
  17797. 'language' => 'fr',
  17798. 'name' => 'French',
  17799. 'native' => 'Français',
  17800. 'direction' => '0',
  17801. 'enabled' => '1',
  17802. 'plurals' => '0',
  17803. 'formula' => '',
  17804. 'domain' => 'fr.drupal.org',
  17805. 'prefix' => 'fr',
  17806. 'weight' => '0',
  17807. 'javascript' => '',
  17808. ))
  17809. ->values(array(
  17810. 'language' => 'is',
  17811. 'name' => 'Icelandic',
  17812. 'native' => 'Íslenska',
  17813. 'direction' => '0',
  17814. 'enabled' => '1',
  17815. 'plurals' => '0',
  17816. 'formula' => '',
  17817. 'domain' => 'is.drupal.org',
  17818. 'prefix' => 'is',
  17819. 'weight' => '0',
  17820. 'javascript' => '',
  17821. ))
  17822. ->execute();
  17823. $connection->schema()->createTable('locales_source', array(
  17824. 'fields' => array(
  17825. 'lid' => array(
  17826. 'type' => 'serial',
  17827. 'not null' => TRUE,
  17828. 'size' => 'normal',
  17829. ),
  17830. 'location' => array(
  17831. 'type' => 'text',
  17832. 'not null' => FALSE,
  17833. 'size' => 'normal',
  17834. ),
  17835. 'textgroup' => array(
  17836. 'type' => 'varchar',
  17837. 'not null' => TRUE,
  17838. 'length' => '255',
  17839. 'default' => 'default',
  17840. ),
  17841. 'source' => array(
  17842. 'type' => 'blob',
  17843. 'not null' => TRUE,
  17844. 'size' => 'normal',
  17845. ),
  17846. 'context' => array(
  17847. 'type' => 'varchar',
  17848. 'not null' => TRUE,
  17849. 'length' => '255',
  17850. 'default' => '',
  17851. ),
  17852. 'version' => array(
  17853. 'type' => 'varchar',
  17854. 'not null' => TRUE,
  17855. 'length' => '20',
  17856. 'default' => 'none',
  17857. ),
  17858. ),
  17859. 'primary key' => array(
  17860. 'lid',
  17861. ),
  17862. 'indexes' => array(
  17863. 'textgroup_context' => array(
  17864. array(
  17865. 'textgroup',
  17866. '191',
  17867. ),
  17868. array(
  17869. 'context',
  17870. '50',
  17871. ),
  17872. ),
  17873. ),
  17874. 'mysql_character_set' => 'utf8',
  17875. ));
  17876. $connection->insert('locales_source')
  17877. ->fields(array(
  17878. 'lid',
  17879. 'location',
  17880. 'textgroup',
  17881. 'source',
  17882. 'context',
  17883. 'version',
  17884. ))
  17885. ->values(array(
  17886. 'lid' => '1',
  17887. 'location' => 'misc/drupal.js',
  17888. 'textgroup' => 'default',
  17889. 'source' => 'An AJAX HTTP error occurred.',
  17890. 'context' => '',
  17891. 'version' => 'none',
  17892. ))
  17893. ->values(array(
  17894. 'lid' => '2',
  17895. 'location' => 'misc/drupal.js',
  17896. 'textgroup' => 'default',
  17897. 'source' => 'HTTP Result Code: !status',
  17898. 'context' => '',
  17899. 'version' => 'none',
  17900. ))
  17901. ->values(array(
  17902. 'lid' => '3',
  17903. 'location' => 'misc/drupal.js',
  17904. 'textgroup' => 'default',
  17905. 'source' => 'An AJAX HTTP request terminated abnormally.',
  17906. 'context' => '',
  17907. 'version' => 'none',
  17908. ))
  17909. ->values(array(
  17910. 'lid' => '4',
  17911. 'location' => 'misc/drupal.js',
  17912. 'textgroup' => 'default',
  17913. 'source' => 'Debugging information follows.',
  17914. 'context' => '',
  17915. 'version' => 'none',
  17916. ))
  17917. ->values(array(
  17918. 'lid' => '5',
  17919. 'location' => 'misc/drupal.js',
  17920. 'textgroup' => 'default',
  17921. 'source' => 'Path: !uri',
  17922. 'context' => '',
  17923. 'version' => 'none',
  17924. ))
  17925. ->values(array(
  17926. 'lid' => '6',
  17927. 'location' => 'misc/drupal.js',
  17928. 'textgroup' => 'default',
  17929. 'source' => 'StatusText: !statusText',
  17930. 'context' => '',
  17931. 'version' => 'none',
  17932. ))
  17933. ->values(array(
  17934. 'lid' => '7',
  17935. 'location' => 'misc/drupal.js',
  17936. 'textgroup' => 'default',
  17937. 'source' => 'ResponseText: !responseText',
  17938. 'context' => '',
  17939. 'version' => 'none',
  17940. ))
  17941. ->values(array(
  17942. 'lid' => '8',
  17943. 'location' => 'misc/drupal.js',
  17944. 'textgroup' => 'default',
  17945. 'source' => 'ReadyState: !readyState',
  17946. 'context' => '',
  17947. 'version' => 'none',
  17948. ))
  17949. ->values(array(
  17950. 'lid' => '9',
  17951. 'location' => 'misc/collapse.js',
  17952. 'textgroup' => 'default',
  17953. 'source' => 'Hide',
  17954. 'context' => '',
  17955. 'version' => 'none',
  17956. ))
  17957. ->values(array(
  17958. 'lid' => '10',
  17959. 'location' => 'misc/collapse.js',
  17960. 'textgroup' => 'default',
  17961. 'source' => 'Show',
  17962. 'context' => '',
  17963. 'version' => 'none',
  17964. ))
  17965. ->values(array(
  17966. 'lid' => '11',
  17967. 'location' => 'modules/toolbar/toolbar.js',
  17968. 'textgroup' => 'default',
  17969. 'source' => 'Show shortcuts',
  17970. 'context' => '',
  17971. 'version' => 'none',
  17972. ))
  17973. ->values(array(
  17974. 'lid' => '12',
  17975. 'location' => 'modules/toolbar/toolbar.js',
  17976. 'textgroup' => 'default',
  17977. 'source' => 'Hide shortcuts',
  17978. 'context' => '',
  17979. 'version' => 'none',
  17980. ))
  17981. ->values(array(
  17982. 'lid' => '13',
  17983. 'location' => 'misc/machine-name.js',
  17984. 'textgroup' => 'default',
  17985. 'source' => 'Edit',
  17986. 'context' => '',
  17987. 'version' => 'none',
  17988. ))
  17989. ->values(array(
  17990. 'lid' => '14',
  17991. 'location' => 'modules/comment/comment-node-form.js',
  17992. 'textgroup' => 'default',
  17993. 'source' => '@number comments per page',
  17994. 'context' => '',
  17995. 'version' => 'none',
  17996. ))
  17997. ->values(array(
  17998. 'lid' => '15',
  17999. 'location' => 'misc/vertical-tabs.js',
  18000. 'textgroup' => 'default',
  18001. 'source' => '(active tab)',
  18002. 'context' => '',
  18003. 'version' => 'none',
  18004. ))
  18005. ->values(array(
  18006. 'lid' => '16',
  18007. 'location' => 'modules/node/content_types.js',
  18008. 'textgroup' => 'default',
  18009. 'source' => 'Requires a title',
  18010. 'context' => '',
  18011. 'version' => 'none',
  18012. ))
  18013. ->values(array(
  18014. 'lid' => '17',
  18015. 'location' => 'modules/node/content_types.js; modules/node/node.js',
  18016. 'textgroup' => 'default',
  18017. 'source' => 'Not published',
  18018. 'context' => '',
  18019. 'version' => 'none',
  18020. ))
  18021. ->values(array(
  18022. 'lid' => '18',
  18023. 'location' => 'modules/node/content_types.js',
  18024. 'textgroup' => 'default',
  18025. 'source' => "Don't display post information",
  18026. 'context' => '',
  18027. 'version' => 'none',
  18028. ))
  18029. ->values(array(
  18030. 'lid' => '19',
  18031. 'location' => 'misc/tabledrag.js',
  18032. 'textgroup' => 'default',
  18033. 'source' => 'Re-order rows by numerical weight instead of dragging.',
  18034. 'context' => '',
  18035. 'version' => 'none',
  18036. ))
  18037. ->values(array(
  18038. 'lid' => '20',
  18039. 'location' => 'misc/tabledrag.js',
  18040. 'textgroup' => 'default',
  18041. 'source' => 'Show row weights',
  18042. 'context' => '',
  18043. 'version' => 'none',
  18044. ))
  18045. ->values(array(
  18046. 'lid' => '21',
  18047. 'location' => 'misc/tabledrag.js',
  18048. 'textgroup' => 'default',
  18049. 'source' => 'Hide row weights',
  18050. 'context' => '',
  18051. 'version' => 'none',
  18052. ))
  18053. ->values(array(
  18054. 'lid' => '22',
  18055. 'location' => 'misc/tabledrag.js',
  18056. 'textgroup' => 'default',
  18057. 'source' => 'Drag to re-order',
  18058. 'context' => '',
  18059. 'version' => 'none',
  18060. ))
  18061. ->values(array(
  18062. 'lid' => '23',
  18063. 'location' => 'misc/tabledrag.js',
  18064. 'textgroup' => 'default',
  18065. 'source' => 'Changes made in this table will not be saved until the form is submitted.',
  18066. 'context' => '',
  18067. 'version' => 'none',
  18068. ))
  18069. ->values(array(
  18070. 'lid' => '24',
  18071. 'location' => 'sites/all/modules/date/date_api/date_year_range.js',
  18072. 'textgroup' => 'default',
  18073. 'source' => 'Other',
  18074. 'context' => '',
  18075. 'version' => 'none',
  18076. ))
  18077. ->values(array(
  18078. 'lid' => '25',
  18079. 'location' => 'sites/all/modules/date/date_api/date_year_range.js',
  18080. 'textgroup' => 'default',
  18081. 'source' => '@count year from now',
  18082. 'context' => '',
  18083. 'version' => 'none',
  18084. ))
  18085. ->values(array(
  18086. 'lid' => '26',
  18087. 'location' => 'sites/all/modules/date/date_api/date_year_range.js',
  18088. 'textgroup' => 'default',
  18089. 'source' => '@count years from now',
  18090. 'context' => '',
  18091. 'version' => 'none',
  18092. ))
  18093. ->values(array(
  18094. 'lid' => '27',
  18095. 'location' => 'modules/file/file.js',
  18096. 'textgroup' => 'default',
  18097. 'source' => 'The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.',
  18098. 'context' => '',
  18099. 'version' => 'none',
  18100. ))
  18101. ->values(array(
  18102. 'lid' => '28',
  18103. 'location' => 'misc/ajax.js',
  18104. 'textgroup' => 'default',
  18105. 'source' => 'Please wait...',
  18106. 'context' => '',
  18107. 'version' => 'none',
  18108. ))
  18109. ->values(array(
  18110. 'lid' => '29',
  18111. 'location' => 'modules/field/modules/text/text.js',
  18112. 'textgroup' => 'default',
  18113. 'source' => 'Hide summary',
  18114. 'context' => '',
  18115. 'version' => 'none',
  18116. ))
  18117. ->values(array(
  18118. 'lid' => '30',
  18119. 'location' => 'modules/field/modules/text/text.js',
  18120. 'textgroup' => 'default',
  18121. 'source' => 'Edit summary',
  18122. 'context' => '',
  18123. 'version' => 'none',
  18124. ))
  18125. ->values(array(
  18126. 'lid' => '31',
  18127. 'location' => 'misc/autocomplete.js',
  18128. 'textgroup' => 'default',
  18129. 'source' => 'Autocomplete popup',
  18130. 'context' => '',
  18131. 'version' => 'none',
  18132. ))
  18133. ->values(array(
  18134. 'lid' => '32',
  18135. 'location' => 'misc/autocomplete.js',
  18136. 'textgroup' => 'default',
  18137. 'source' => 'Searching for matches...',
  18138. 'context' => '',
  18139. 'version' => 'none',
  18140. ))
  18141. ->values(array(
  18142. 'lid' => '33',
  18143. 'location' => 'modules/contextual/contextual.js',
  18144. 'textgroup' => 'default',
  18145. 'source' => 'Configure',
  18146. 'context' => '',
  18147. 'version' => 'none',
  18148. ))
  18149. ->values(array(
  18150. 'lid' => '34',
  18151. 'location' => 'misc/tableselect.js',
  18152. 'textgroup' => 'default',
  18153. 'source' => 'Select all rows in this table',
  18154. 'context' => '',
  18155. 'version' => 'none',
  18156. ))
  18157. ->values(array(
  18158. 'lid' => '35',
  18159. 'location' => 'misc/tableselect.js',
  18160. 'textgroup' => 'default',
  18161. 'source' => 'Deselect all rows in this table',
  18162. 'context' => '',
  18163. 'version' => 'none',
  18164. ))
  18165. ->values(array(
  18166. 'lid' => '36',
  18167. 'location' => 'modules/user/user.permissions.js',
  18168. 'textgroup' => 'default',
  18169. 'source' => 'This permission is inherited from the authenticated user role.',
  18170. 'context' => '',
  18171. 'version' => 'none',
  18172. ))
  18173. ->values(array(
  18174. 'lid' => '37',
  18175. 'location' => 'modules/filter/filter.admin.js',
  18176. 'textgroup' => 'default',
  18177. 'source' => 'Enabled',
  18178. 'context' => '',
  18179. 'version' => 'none',
  18180. ))
  18181. ->values(array(
  18182. 'lid' => '38',
  18183. 'location' => 'modules/filter/filter.admin.js',
  18184. 'textgroup' => 'default',
  18185. 'source' => 'Disabled',
  18186. 'context' => '',
  18187. 'version' => 'none',
  18188. ))
  18189. ->values(array(
  18190. 'lid' => '39',
  18191. 'location' => 'modules/menu/menu.js',
  18192. 'textgroup' => 'default',
  18193. 'source' => 'Not in menu',
  18194. 'context' => '',
  18195. 'version' => 'none',
  18196. ))
  18197. ->values(array(
  18198. 'lid' => '40',
  18199. 'location' => 'modules/book/book.js',
  18200. 'textgroup' => 'default',
  18201. 'source' => 'Not in book',
  18202. 'context' => '',
  18203. 'version' => 'none',
  18204. ))
  18205. ->values(array(
  18206. 'lid' => '41',
  18207. 'location' => 'modules/book/book.js',
  18208. 'textgroup' => 'default',
  18209. 'source' => 'New book',
  18210. 'context' => '',
  18211. 'version' => 'none',
  18212. ))
  18213. ->values(array(
  18214. 'lid' => '42',
  18215. 'location' => 'modules/node/node.js',
  18216. 'textgroup' => 'default',
  18217. 'source' => 'New revision',
  18218. 'context' => '',
  18219. 'version' => 'none',
  18220. ))
  18221. ->values(array(
  18222. 'lid' => '43',
  18223. 'location' => 'modules/node/node.js',
  18224. 'textgroup' => 'default',
  18225. 'source' => 'No revision',
  18226. 'context' => '',
  18227. 'version' => 'none',
  18228. ))
  18229. ->values(array(
  18230. 'lid' => '44',
  18231. 'location' => 'modules/node/node.js',
  18232. 'textgroup' => 'default',
  18233. 'source' => 'By @name on @date',
  18234. 'context' => '',
  18235. 'version' => 'none',
  18236. ))
  18237. ->values(array(
  18238. 'lid' => '45',
  18239. 'location' => 'modules/node/node.js',
  18240. 'textgroup' => 'default',
  18241. 'source' => 'By @name',
  18242. 'context' => '',
  18243. 'version' => 'none',
  18244. ))
  18245. ->values(array(
  18246. 'lid' => '46',
  18247. 'location' => 'modules/path/path.js',
  18248. 'textgroup' => 'default',
  18249. 'source' => 'Alias: @alias',
  18250. 'context' => '',
  18251. 'version' => 'none',
  18252. ))
  18253. ->values(array(
  18254. 'lid' => '47',
  18255. 'location' => 'modules/path/path.js',
  18256. 'textgroup' => 'default',
  18257. 'source' => 'No alias',
  18258. 'context' => '',
  18259. 'version' => 'none',
  18260. ))
  18261. ->values(array(
  18262. 'lid' => '48',
  18263. 'location' => 'misc/drupal.js',
  18264. 'textgroup' => 'default',
  18265. 'source' => 'CustomMessage: !customMessage',
  18266. 'context' => '',
  18267. 'version' => 'none',
  18268. ))
  18269. ->values(array(
  18270. 'lid' => '49',
  18271. 'location' => 'modules/block/block.js; sites/all/modules/i18n/i18n_block/i18n_block.js',
  18272. 'textgroup' => 'default',
  18273. 'source' => 'Not restricted',
  18274. 'context' => '',
  18275. 'version' => 'none',
  18276. ))
  18277. ->values(array(
  18278. 'lid' => '50',
  18279. 'location' => 'modules/block/block.js',
  18280. 'textgroup' => 'default',
  18281. 'source' => 'Restricted to certain pages',
  18282. 'context' => '',
  18283. 'version' => 'none',
  18284. ))
  18285. ->values(array(
  18286. 'lid' => '51',
  18287. 'location' => 'modules/block/block.js',
  18288. 'textgroup' => 'default',
  18289. 'source' => 'Not customizable',
  18290. 'context' => '',
  18291. 'version' => 'none',
  18292. ))
  18293. ->values(array(
  18294. 'lid' => '52',
  18295. 'location' => 'modules/block/block.js',
  18296. 'textgroup' => 'default',
  18297. 'source' => 'The changes to these blocks will not be saved until the <em>Save blocks</em> button is clicked.',
  18298. 'context' => '',
  18299. 'version' => 'none',
  18300. ))
  18301. ->values(array(
  18302. 'lid' => '53',
  18303. 'location' => 'modules/block/block.js',
  18304. 'textgroup' => 'default',
  18305. 'source' => 'The block cannot be placed in this region.',
  18306. 'context' => '',
  18307. 'version' => 'none',
  18308. ))
  18309. ->values(array(
  18310. 'lid' => '54',
  18311. 'location' => 'sites/all/modules/i18n/i18n_block/i18n_block.js',
  18312. 'textgroup' => 'default',
  18313. 'source' => 'Translatable',
  18314. 'context' => '',
  18315. 'version' => 'none',
  18316. ))
  18317. ->values(array(
  18318. 'lid' => '55',
  18319. 'location' => 'sites/all/modules/i18n/i18n_block/i18n_block.js',
  18320. 'textgroup' => 'default',
  18321. 'source' => 'Not translatable',
  18322. 'context' => '',
  18323. 'version' => 'none',
  18324. ))
  18325. ->values(array(
  18326. 'lid' => '56',
  18327. 'location' => 'sites/all/modules/i18n/i18n_block/i18n_block.js',
  18328. 'textgroup' => 'default',
  18329. 'source' => 'Restricted to certain languages',
  18330. 'context' => '',
  18331. 'version' => 'none',
  18332. ))
  18333. ->values(array(
  18334. 'lid' => '57',
  18335. 'location' => 'blocks:block:1:title',
  18336. 'textgroup' => 'blocks',
  18337. 'source' => 'Mildly amusing limerick of the day',
  18338. 'context' => 'block:1:title',
  18339. 'version' => '1',
  18340. ))
  18341. ->values(array(
  18342. 'lid' => '58',
  18343. 'location' => 'misc/ajax.js',
  18344. 'textgroup' => 'default',
  18345. 'source' => 'The response failed verification so will not be processed.',
  18346. 'context' => '',
  18347. 'version' => 'none',
  18348. ))
  18349. ->values(array(
  18350. 'lid' => '59',
  18351. 'location' => 'misc/ajax.js',
  18352. 'textgroup' => 'default',
  18353. 'source' => 'The callback URL is not local and not trusted: !url',
  18354. 'context' => '',
  18355. 'version' => 'none',
  18356. ))
  18357. ->values(array(
  18358. 'lid' => '60',
  18359. 'location' => 'blocks:block:1:body',
  18360. 'textgroup' => 'blocks',
  18361. 'source' => "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",
  18362. 'context' => 'block:1:body',
  18363. 'version' => '1',
  18364. ))
  18365. ->values(array(
  18366. 'lid' => '61',
  18367. 'location' => 'node:type:article:name',
  18368. 'textgroup' => 'node',
  18369. 'source' => 'Article',
  18370. 'context' => 'type:article:name',
  18371. 'version' => '1',
  18372. ))
  18373. ->values(array(
  18374. 'lid' => '62',
  18375. 'location' => 'node:type:article:title_label',
  18376. 'textgroup' => 'node',
  18377. 'source' => 'Title',
  18378. 'context' => 'type:article:title_label',
  18379. 'version' => '1',
  18380. ))
  18381. ->values(array(
  18382. 'lid' => '63',
  18383. 'location' => 'node:type:article:description',
  18384. 'textgroup' => 'node',
  18385. 'source' => 'Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.',
  18386. 'context' => 'type:article:description',
  18387. 'version' => '1',
  18388. ))
  18389. ->values(array(
  18390. 'lid' => '64',
  18391. 'location' => 'node:type:article:help',
  18392. 'textgroup' => 'node',
  18393. 'source' => 'Help text for articles',
  18394. 'context' => 'type:article:help',
  18395. 'version' => '1',
  18396. ))
  18397. ->values(array(
  18398. 'lid' => '65',
  18399. 'location' => 'node:type:book:name',
  18400. 'textgroup' => 'node',
  18401. 'source' => 'Book page',
  18402. 'context' => 'type:book:name',
  18403. 'version' => '1',
  18404. ))
  18405. ->values(array(
  18406. 'lid' => '66',
  18407. 'location' => 'node:type:book:title_label',
  18408. 'textgroup' => 'node',
  18409. 'source' => 'Title',
  18410. 'context' => 'type:book:title_label',
  18411. 'version' => '1',
  18412. ))
  18413. ->values(array(
  18414. 'lid' => '67',
  18415. 'location' => 'node:type:book:description',
  18416. 'textgroup' => 'node',
  18417. 'source' => '<em>Books</em> have a built-in hierarchical navigation. Use for handbooks or tutorials.',
  18418. 'context' => 'type:book:description',
  18419. 'version' => '1',
  18420. ))
  18421. ->values(array(
  18422. 'lid' => '68',
  18423. 'location' => 'node:type:page:name',
  18424. 'textgroup' => 'node',
  18425. 'source' => 'Basic page',
  18426. 'context' => 'type:page:name',
  18427. 'version' => '1',
  18428. ))
  18429. ->values(array(
  18430. 'lid' => '69',
  18431. 'location' => 'node:type:page:title_label',
  18432. 'textgroup' => 'node',
  18433. 'source' => 'Title',
  18434. 'context' => 'type:page:title_label',
  18435. 'version' => '1',
  18436. ))
  18437. ->values(array(
  18438. 'lid' => '70',
  18439. 'location' => 'node:type:page:description',
  18440. 'textgroup' => 'node',
  18441. 'source' => "Use <em>basic pages</em> for your static content, such as an 'About us' page.",
  18442. 'context' => 'type:page:description',
  18443. 'version' => '1',
  18444. ))
  18445. ->values(array(
  18446. 'lid' => '71',
  18447. 'location' => 'node:type:page:help',
  18448. 'textgroup' => 'node',
  18449. 'source' => 'Help text for basic pages',
  18450. 'context' => 'type:page:help',
  18451. 'version' => '1',
  18452. ))
  18453. ->values(array(
  18454. 'lid' => '72',
  18455. 'location' => 'node:type:test_content_type:name',
  18456. 'textgroup' => 'node',
  18457. 'source' => 'Test content type',
  18458. 'context' => 'type:test_content_type:name',
  18459. 'version' => '1',
  18460. ))
  18461. ->values(array(
  18462. 'lid' => '73',
  18463. 'location' => 'node:type:test_content_type:title_label',
  18464. 'textgroup' => 'node',
  18465. 'source' => 'Title',
  18466. 'context' => 'type:test_content_type:title_label',
  18467. 'version' => '1',
  18468. ))
  18469. ->values(array(
  18470. 'lid' => '74',
  18471. 'location' => 'node:type:test_content_type:description',
  18472. 'textgroup' => 'node',
  18473. 'source' => 'This is the description of the test content type.',
  18474. 'context' => 'type:test_content_type:description',
  18475. 'version' => '1',
  18476. ))
  18477. ->values(array(
  18478. 'lid' => '75',
  18479. 'location' => 'node:type:test_content_type:help',
  18480. 'textgroup' => 'node',
  18481. 'source' => 'Help text for test content type',
  18482. 'context' => 'type:test_content_type:help',
  18483. 'version' => '1',
  18484. ))
  18485. ->values(array(
  18486. 'lid' => '76',
  18487. 'location' => 'blocks:user:login:title',
  18488. 'textgroup' => 'blocks',
  18489. 'source' => 'User login title',
  18490. 'context' => 'user:login:title',
  18491. 'version' => '1',
  18492. ))
  18493. ->values(array(
  18494. 'lid' => '77',
  18495. 'location' => 'taxonomy:term:20:name',
  18496. 'textgroup' => 'taxonomy',
  18497. 'source' => 'DS9',
  18498. 'context' => 'term:20:name',
  18499. 'version' => '1',
  18500. ))
  18501. ->values(array(
  18502. 'lid' => '78',
  18503. 'location' => 'taxonomy:term:20:description',
  18504. 'textgroup' => 'taxonomy',
  18505. 'source' => 'Terok Nor',
  18506. 'context' => 'term:20:description',
  18507. 'version' => '1',
  18508. ))
  18509. ->values(array(
  18510. 'lid' => '79',
  18511. 'location' => 'taxonomy:term:19:name',
  18512. 'textgroup' => 'taxonomy',
  18513. 'source' => 'Jupiter Station',
  18514. 'context' => 'term:19:name',
  18515. 'version' => '1',
  18516. ))
  18517. ->values(array(
  18518. 'lid' => '80',
  18519. 'location' => 'taxonomy:term:19:description',
  18520. 'textgroup' => 'taxonomy',
  18521. 'source' => 'Holographic research.',
  18522. 'context' => 'term:19:description',
  18523. 'version' => '1',
  18524. ))
  18525. ->values(array(
  18526. 'lid' => '81',
  18527. 'location' => 'taxonomy:vocabulary:2:name',
  18528. 'textgroup' => 'taxonomy',
  18529. 'source' => 'Sujet de discussion',
  18530. 'context' => 'vocabulary:2:name',
  18531. 'version' => '1',
  18532. ))
  18533. ->values(array(
  18534. 'lid' => '82',
  18535. 'location' => 'taxonomy:vocabulary:2:description',
  18536. 'textgroup' => 'taxonomy',
  18537. 'source' => 'Forum navigation vocabulary',
  18538. 'context' => 'vocabulary:2:description',
  18539. 'version' => '1',
  18540. ))
  18541. ->values(array(
  18542. 'lid' => '83',
  18543. 'location' => 'taxonomy:vocabulary:1:name',
  18544. 'textgroup' => 'taxonomy',
  18545. 'source' => 'Tags',
  18546. 'context' => 'vocabulary:1:name',
  18547. 'version' => '1',
  18548. ))
  18549. ->values(array(
  18550. 'lid' => '84',
  18551. 'location' => 'taxonomy:vocabulary:1:description',
  18552. 'textgroup' => 'taxonomy',
  18553. 'source' => 'Use tags to group articles on similar topics into categories.',
  18554. 'context' => 'vocabulary:1:description',
  18555. 'version' => '1',
  18556. ))
  18557. ->values(array(
  18558. 'lid' => '85',
  18559. 'location' => 'taxonomy:vocabulary:3:name',
  18560. 'textgroup' => 'taxonomy',
  18561. 'source' => 'Test Vocabulary',
  18562. 'context' => 'vocabulary:3:name',
  18563. 'version' => '1',
  18564. ))
  18565. ->values(array(
  18566. 'lid' => '86',
  18567. 'location' => 'taxonomy:vocabulary:3:description',
  18568. 'textgroup' => 'taxonomy',
  18569. 'source' => 'This is the vocabulary description',
  18570. 'context' => 'vocabulary:3:description',
  18571. 'version' => '1',
  18572. ))
  18573. ->values(array(
  18574. 'lid' => '87',
  18575. 'location' => 'taxonomy:vocabulary:7:name',
  18576. 'textgroup' => 'taxonomy',
  18577. 'source' => 'VocabFixed',
  18578. 'context' => 'vocabulary:7:name',
  18579. 'version' => '1',
  18580. ))
  18581. ->values(array(
  18582. 'lid' => '88',
  18583. 'location' => 'taxonomy:vocabulary:7:description',
  18584. 'textgroup' => 'taxonomy',
  18585. 'source' => 'Vocabulary fixed option',
  18586. 'context' => 'vocabulary:7:description',
  18587. 'version' => '1',
  18588. ))
  18589. ->values(array(
  18590. 'lid' => '89',
  18591. 'location' => 'taxonomy:vocabulary:5:name',
  18592. 'textgroup' => 'taxonomy',
  18593. 'source' => 'VocabLocalized',
  18594. 'context' => 'vocabulary:5:name',
  18595. 'version' => '1',
  18596. ))
  18597. ->values(array(
  18598. 'lid' => '90',
  18599. 'location' => 'taxonomy:vocabulary:5:description',
  18600. 'textgroup' => 'taxonomy',
  18601. 'source' => 'Vocabulary localize option',
  18602. 'context' => 'vocabulary:5:description',
  18603. 'version' => '1',
  18604. ))
  18605. ->values(array(
  18606. 'lid' => '91',
  18607. 'location' => 'taxonomy:vocabulary:6:name',
  18608. 'textgroup' => 'taxonomy',
  18609. 'source' => 'VocabTranslate',
  18610. 'context' => 'vocabulary:6:name',
  18611. 'version' => '1',
  18612. ))
  18613. ->values(array(
  18614. 'lid' => '92',
  18615. 'location' => 'taxonomy:vocabulary:6:description',
  18616. 'textgroup' => 'taxonomy',
  18617. 'source' => 'Vocabulary translate option',
  18618. 'context' => 'vocabulary:6:description',
  18619. 'version' => '1',
  18620. ))
  18621. ->values(array(
  18622. 'lid' => '93',
  18623. 'location' => 'taxonomy:vocabulary:4:name',
  18624. 'textgroup' => 'taxonomy',
  18625. 'source' => 'vocabulary name clearly different than machine name and much longer than thirty two characters',
  18626. 'context' => 'vocabulary:4:name',
  18627. 'version' => '1',
  18628. ))
  18629. ->values(array(
  18630. 'lid' => '94',
  18631. 'location' => 'taxonomy:vocabulary:4:description',
  18632. 'textgroup' => 'taxonomy',
  18633. 'source' => 'description of vocabulary name much longer than thirty two characters',
  18634. 'context' => 'vocabulary:4:description',
  18635. 'version' => '1',
  18636. ))
  18637. ->execute();
  18638. $connection->schema()->createTable('locales_target', array(
  18639. 'fields' => array(
  18640. 'lid' => array(
  18641. 'type' => 'int',
  18642. 'not null' => TRUE,
  18643. 'size' => 'normal',
  18644. 'default' => '0',
  18645. ),
  18646. 'translation' => array(
  18647. 'type' => 'blob',
  18648. 'not null' => TRUE,
  18649. 'size' => 'normal',
  18650. ),
  18651. 'language' => array(
  18652. 'type' => 'varchar',
  18653. 'not null' => TRUE,
  18654. 'length' => '12',
  18655. 'default' => '',
  18656. ),
  18657. 'plid' => array(
  18658. 'type' => 'int',
  18659. 'not null' => TRUE,
  18660. 'size' => 'normal',
  18661. 'default' => '0',
  18662. ),
  18663. 'plural' => array(
  18664. 'type' => 'int',
  18665. 'not null' => TRUE,
  18666. 'size' => 'normal',
  18667. 'default' => '0',
  18668. ),
  18669. 'i18n_status' => array(
  18670. 'type' => 'int',
  18671. 'not null' => TRUE,
  18672. 'size' => 'normal',
  18673. 'default' => '0',
  18674. ),
  18675. ),
  18676. 'primary key' => array(
  18677. 'lid',
  18678. 'language',
  18679. 'plural',
  18680. ),
  18681. 'mysql_character_set' => 'utf8',
  18682. ));
  18683. $connection->insert('locales_target')
  18684. ->fields(array(
  18685. 'lid',
  18686. 'translation',
  18687. 'language',
  18688. 'plid',
  18689. 'plural',
  18690. 'i18n_status',
  18691. ))
  18692. ->values(array(
  18693. 'lid' => '57',
  18694. 'translation' => 'fr - Mildly amusing limerick of the day',
  18695. 'language' => 'fr',
  18696. 'plid' => '0',
  18697. 'plural' => '0',
  18698. 'i18n_status' => '0',
  18699. ))
  18700. ->values(array(
  18701. 'lid' => '60',
  18702. 'translation' => "fr - 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",
  18703. 'language' => 'fr',
  18704. 'plid' => '0',
  18705. 'plural' => '0',
  18706. 'i18n_status' => '0',
  18707. ))
  18708. ->values(array(
  18709. 'lid' => '76',
  18710. 'translation' => 'fr - User login title',
  18711. 'language' => 'fr',
  18712. 'plid' => '0',
  18713. 'plural' => '0',
  18714. 'i18n_status' => '0',
  18715. ))
  18716. ->values(array(
  18717. 'lid' => '77',
  18718. 'translation' => 'fr - DS9 (localized)',
  18719. 'language' => 'fr',
  18720. 'plid' => '0',
  18721. 'plural' => '0',
  18722. 'i18n_status' => '0',
  18723. ))
  18724. ->values(array(
  18725. 'lid' => '78',
  18726. 'translation' => 'fr - Terok Nor (localized)',
  18727. 'language' => 'fr',
  18728. 'plid' => '0',
  18729. 'plural' => '0',
  18730. 'i18n_status' => '0',
  18731. ))
  18732. ->values(array(
  18733. 'lid' => '87',
  18734. 'translation' => 'fr - VocabFixed',
  18735. 'language' => 'fr',
  18736. 'plid' => '0',
  18737. 'plural' => '0',
  18738. 'i18n_status' => '0',
  18739. ))
  18740. ->values(array(
  18741. 'lid' => '89',
  18742. 'translation' => 'fr - VocabLocalized',
  18743. 'language' => 'fr',
  18744. 'plid' => '0',
  18745. 'plural' => '0',
  18746. 'i18n_status' => '0',
  18747. ))
  18748. ->values(array(
  18749. 'lid' => '90',
  18750. 'translation' => 'fr - Vocabulary localize option',
  18751. 'language' => 'fr',
  18752. 'plid' => '0',
  18753. 'plural' => '0',
  18754. 'i18n_status' => '0',
  18755. ))
  18756. ->values(array(
  18757. 'lid' => '97',
  18758. 'translation' => 'fr - The email help text.',
  18759. 'language' => 'fr',
  18760. 'plid' => '0',
  18761. 'plural' => '0',
  18762. 'i18n_status' => '0',
  18763. ))
  18764. ->values(array(
  18765. 'lid' => '113',
  18766. 'translation' => 'fr - Link',
  18767. 'language' => 'fr',
  18768. 'plid' => '0',
  18769. 'plural' => '0',
  18770. 'i18n_status' => '1',
  18771. ))
  18772. ->values(array(
  18773. 'lid' => '163',
  18774. 'translation' => 'fr - User login title',
  18775. 'language' => 'fr',
  18776. 'plid' => '0',
  18777. 'plural' => '0',
  18778. 'i18n_status' => '0',
  18779. ))
  18780. ->values(array(
  18781. 'lid' => '678',
  18782. 'translation' => 'fr - Body',
  18783. 'language' => 'fr',
  18784. 'plid' => '0',
  18785. 'plural' => '0',
  18786. 'i18n_status' => '1',
  18787. ))
  18788. ->values(array(
  18789. 'lid' => '684',
  18790. 'translation' => 'fr - Image',
  18791. 'language' => 'fr',
  18792. 'plid' => '0',
  18793. 'plural' => '0',
  18794. 'i18n_status' => '1',
  18795. ))
  18796. ->values(array(
  18797. 'lid' => '761',
  18798. 'translation' => 'Verte',
  18799. 'language' => 'fr',
  18800. 'plid' => '0',
  18801. 'plural' => '0',
  18802. 'i18n_status' => '0',
  18803. ))
  18804. ->values(array(
  18805. 'lid' => '762',
  18806. 'translation' => 'Noire',
  18807. 'language' => 'fr',
  18808. 'plid' => '0',
  18809. 'plural' => '0',
  18810. 'i18n_status' => '0',
  18811. ))
  18812. ->values(array(
  18813. 'lid' => '763',
  18814. 'translation' => 'Blanche',
  18815. 'language' => 'fr',
  18816. 'plid' => '0',
  18817. 'plural' => '0',
  18818. 'i18n_status' => '0',
  18819. ))
  18820. ->values(array(
  18821. 'lid' => '764',
  18822. 'translation' => 'Color',
  18823. 'language' => 'fr',
  18824. 'plid' => '0',
  18825. 'plural' => '0',
  18826. 'i18n_status' => '0',
  18827. ))
  18828. ->values(array(
  18829. 'lid' => '765',
  18830. 'translation' => 'Haute',
  18831. 'language' => 'fr',
  18832. 'plid' => '0',
  18833. 'plural' => '0',
  18834. 'i18n_status' => '0',
  18835. ))
  18836. ->values(array(
  18837. 'lid' => '766',
  18838. 'translation' => 'Moyenne',
  18839. 'language' => 'fr',
  18840. 'plid' => '0',
  18841. 'plural' => '0',
  18842. 'i18n_status' => '0',
  18843. ))
  18844. ->values(array(
  18845. 'lid' => '767',
  18846. 'translation' => 'Faible',
  18847. 'language' => 'fr',
  18848. 'plid' => '0',
  18849. 'plural' => '0',
  18850. 'i18n_status' => '0',
  18851. ))
  18852. ->values(array(
  18853. 'lid' => '768',
  18854. 'translation' => 'Rating',
  18855. 'language' => 'fr',
  18856. 'plid' => '0',
  18857. 'plural' => '0',
  18858. 'i18n_status' => '0',
  18859. ))
  18860. ->values(array(
  18861. 'lid' => '57',
  18862. 'translation' => 'is - Mildly amusing limerick of the day',
  18863. 'language' => 'is',
  18864. 'plid' => '0',
  18865. 'plural' => '0',
  18866. 'i18n_status' => '0',
  18867. ))
  18868. ->values(array(
  18869. 'lid' => '79',
  18870. 'translation' => 'Jupiter Station',
  18871. 'language' => 'is',
  18872. 'plid' => '0',
  18873. 'plural' => '0',
  18874. 'i18n_status' => '0',
  18875. ))
  18876. ->values(array(
  18877. 'lid' => '80',
  18878. 'translation' => 'is - Holographic research. (localized)',
  18879. 'language' => 'is',
  18880. 'plid' => '0',
  18881. 'plural' => '0',
  18882. 'i18n_status' => '0',
  18883. ))
  18884. ->values(array(
  18885. 'lid' => '89',
  18886. 'translation' => 'is - VocabLocalized',
  18887. 'language' => 'is',
  18888. 'plid' => '0',
  18889. 'plural' => '0',
  18890. 'i18n_status' => '0',
  18891. ))
  18892. ->values(array(
  18893. 'lid' => '90',
  18894. 'translation' => 'is - Vocabulary localize option',
  18895. 'language' => 'is',
  18896. 'plid' => '0',
  18897. 'plural' => '0',
  18898. 'i18n_status' => '0',
  18899. ))
  18900. ->values(array(
  18901. 'lid' => '91',
  18902. 'translation' => 'is - VocabTranslate',
  18903. 'language' => 'is',
  18904. 'plid' => '0',
  18905. 'plural' => '0',
  18906. 'i18n_status' => '0',
  18907. ))
  18908. ->values(array(
  18909. 'lid' => '92',
  18910. 'translation' => 'is - Vocabulary translate option',
  18911. 'language' => 'is',
  18912. 'plid' => '0',
  18913. 'plural' => '0',
  18914. 'i18n_status' => '0',
  18915. ))
  18916. ->values(array(
  18917. 'lid' => '95',
  18918. 'translation' => 'is - Some helpful text.',
  18919. 'language' => 'is',
  18920. 'plid' => '0',
  18921. 'plural' => '0',
  18922. 'i18n_status' => '0',
  18923. ))
  18924. ->values(array(
  18925. 'lid' => '96',
  18926. 'translation' => 'is - Email',
  18927. 'language' => 'is',
  18928. 'plid' => '0',
  18929. 'plural' => '0',
  18930. 'i18n_status' => '0',
  18931. ))
  18932. ->values(array(
  18933. 'lid' => '97',
  18934. 'translation' => 'is - The email help text.',
  18935. 'language' => 'is',
  18936. 'plid' => '0',
  18937. 'plural' => '0',
  18938. 'i18n_status' => '0',
  18939. ))
  18940. ->values(array(
  18941. 'lid' => '128',
  18942. 'translation' => 'is - Term Reference',
  18943. 'language' => 'is',
  18944. 'plid' => '0',
  18945. 'plural' => '0',
  18946. 'i18n_status' => '0',
  18947. ))
  18948. ->values(array(
  18949. 'lid' => '687',
  18950. 'translation' => 'is - Off',
  18951. 'language' => 'is',
  18952. 'plid' => '0',
  18953. 'plural' => '0',
  18954. 'i18n_status' => '0',
  18955. ))
  18956. ->values(array(
  18957. 'lid' => '688',
  18958. 'translation' => 'is - 1',
  18959. 'language' => 'is',
  18960. 'plid' => '0',
  18961. 'plural' => '0',
  18962. 'i18n_status' => '0',
  18963. ))
  18964. ->values(array(
  18965. 'lid' => '758',
  18966. 'translation' => 'is field - vocab_localize',
  18967. 'language' => 'is',
  18968. 'plid' => '0',
  18969. 'plural' => '0',
  18970. 'i18n_status' => '0',
  18971. ))
  18972. ->values(array(
  18973. 'lid' => '761',
  18974. 'translation' => 'Grænn',
  18975. 'language' => 'is',
  18976. 'plid' => '0',
  18977. 'plural' => '0',
  18978. 'i18n_status' => '0',
  18979. ))
  18980. ->values(array(
  18981. 'lid' => '762',
  18982. 'translation' => 'Svartur',
  18983. 'language' => 'is',
  18984. 'plid' => '0',
  18985. 'plural' => '0',
  18986. 'i18n_status' => '0',
  18987. ))
  18988. ->values(array(
  18989. 'lid' => '763',
  18990. 'translation' => 'Hvítur',
  18991. 'language' => 'is',
  18992. 'plid' => '0',
  18993. 'plural' => '0',
  18994. 'i18n_status' => '0',
  18995. ))
  18996. ->values(array(
  18997. 'lid' => '764',
  18998. 'translation' => 'Color',
  18999. 'language' => 'is',
  19000. 'plid' => '0',
  19001. 'plural' => '0',
  19002. 'i18n_status' => '0',
  19003. ))
  19004. ->values(array(
  19005. 'lid' => '765',
  19006. 'translation' => 'Hár',
  19007. 'language' => 'is',
  19008. 'plid' => '0',
  19009. 'plural' => '0',
  19010. 'i18n_status' => '0',
  19011. ))
  19012. ->values(array(
  19013. 'lid' => '766',
  19014. 'translation' => 'Miðlungs',
  19015. 'language' => 'is',
  19016. 'plid' => '0',
  19017. 'plural' => '0',
  19018. 'i18n_status' => '0',
  19019. ))
  19020. ->values(array(
  19021. 'lid' => '767',
  19022. 'translation' => 'Lágt',
  19023. 'language' => 'is',
  19024. 'plid' => '0',
  19025. 'plural' => '0',
  19026. 'i18n_status' => '0',
  19027. ))
  19028. ->values(array(
  19029. 'lid' => '768',
  19030. 'translation' => 'Rating',
  19031. 'language' => 'is',
  19032. 'plid' => '0',
  19033. 'plural' => '0',
  19034. 'i18n_status' => '0',
  19035. ))
  19036. ->execute();
  19037. $connection->sche