Mercurial > hg > isophonics-drupal-site
comparison core/modules/migrate_drupal/tests/fixtures/drupal6.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | c2387f117808 |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
290 'callback' => 'user_block_user_action', | 290 'callback' => 'user_block_user_action', |
291 'parameters' => '', | 291 'parameters' => '', |
292 'description' => 'Block current user', | 292 'description' => 'Block current user', |
293 )) | 293 )) |
294 ->execute(); | 294 ->execute(); |
295 | |
296 $connection->schema()->createTable('actions_aid', array( | 295 $connection->schema()->createTable('actions_aid', array( |
297 'fields' => array( | 296 'fields' => array( |
298 'aid' => array( | 297 'aid' => array( |
299 'type' => 'serial', | 298 'type' => 'serial', |
300 'not null' => TRUE, | 299 'not null' => TRUE, |
329 )) | 328 )) |
330 ->values(array( | 329 ->values(array( |
331 'aid' => '6', | 330 'aid' => '6', |
332 )) | 331 )) |
333 ->execute(); | 332 ->execute(); |
334 | |
335 $connection->schema()->createTable('aggregator_category', array( | 333 $connection->schema()->createTable('aggregator_category', array( |
336 'fields' => array( | 334 'fields' => array( |
337 'cid' => array( | 335 'cid' => array( |
338 'type' => 'serial', | 336 'type' => 'serial', |
339 'not null' => TRUE, | 337 'not null' => TRUE, |
461 'etag' => '"213cc1365b96c310e92053c5551f0504"', | 459 'etag' => '"213cc1365b96c310e92053c5551f0504"', |
462 'modified' => '0', | 460 'modified' => '0', |
463 'block' => '7', | 461 'block' => '7', |
464 )) | 462 )) |
465 ->execute(); | 463 ->execute(); |
466 | |
467 $connection->schema()->createTable('aggregator_item', array( | 464 $connection->schema()->createTable('aggregator_item', array( |
468 'fields' => array( | 465 'fields' => array( |
469 'iid' => array( | 466 'iid' => array( |
470 'type' => 'serial', | 467 'type' => 'serial', |
471 'not null' => TRUE, | 468 'not null' => TRUE, |
537 'description' => "<h2 id='new'>What's new with Drupal 8?</h2>", | 534 'description' => "<h2 id='new'>What's new with Drupal 8?</h2>", |
538 'timestamp' => '1389297196', | 535 'timestamp' => '1389297196', |
539 'guid' => '395218 at https://groups.drupal.org', | 536 'guid' => '395218 at https://groups.drupal.org', |
540 )) | 537 )) |
541 ->execute(); | 538 ->execute(); |
542 | |
543 $connection->schema()->createTable('authmap', array( | 539 $connection->schema()->createTable('authmap', array( |
544 'fields' => array( | 540 'fields' => array( |
545 'aid' => array( | 541 'aid' => array( |
546 'type' => 'serial', | 542 'type' => 'serial', |
547 'not null' => TRUE, | 543 'not null' => TRUE, |
615 'token' => '', | 611 'token' => '', |
616 'timestamp' => '1494966324', | 612 'timestamp' => '1494966324', |
617 'batch' => NULL, | 613 'batch' => NULL, |
618 )) | 614 )) |
619 ->execute(); | 615 ->execute(); |
620 | |
621 $connection->schema()->createTable('blocks', array( | 616 $connection->schema()->createTable('blocks', array( |
622 'fields' => array( | 617 'fields' => array( |
623 'bid' => array( | 618 'bid' => array( |
624 'type' => 'serial', | 619 'type' => 'serial', |
625 'not null' => TRUE, | 620 'not null' => TRUE, |
744 'region' => 'left', | 739 'region' => 'left', |
745 'custom' => '0', | 740 'custom' => '0', |
746 'throttle' => '0', | 741 'throttle' => '0', |
747 'visibility' => '0', | 742 'visibility' => '0', |
748 'pages' => '', | 743 'pages' => '', |
749 'title' => '', | 744 'title' => 'zu - Navigation', |
750 'cache' => '-1', | 745 'cache' => '-1', |
751 )) | 746 )) |
752 ->values(array( | 747 ->values(array( |
753 'bid' => '3', | 748 'bid' => '3', |
754 'module' => 'system', | 749 'module' => 'system', |
1078 'pages' => '', | 1073 'pages' => '', |
1079 'title' => '', | 1074 'title' => '', |
1080 'cache' => '-1', | 1075 'cache' => '-1', |
1081 )) | 1076 )) |
1082 ->execute(); | 1077 ->execute(); |
1083 | |
1084 $connection->schema()->createTable('blocks_roles', array( | 1078 $connection->schema()->createTable('blocks_roles', array( |
1085 'fields' => array( | 1079 'fields' => array( |
1086 'module' => array( | 1080 'module' => array( |
1087 'type' => 'varchar', | 1081 'type' => 'varchar', |
1088 'not null' => TRUE, | 1082 'not null' => TRUE, |
1123 'module' => 'user', | 1117 'module' => 'user', |
1124 'delta' => '3', | 1118 'delta' => '3', |
1125 'rid' => '3', | 1119 'rid' => '3', |
1126 )) | 1120 )) |
1127 ->execute(); | 1121 ->execute(); |
1128 | |
1129 $connection->schema()->createTable('book', array( | 1122 $connection->schema()->createTable('book', array( |
1130 'fields' => array( | 1123 'fields' => array( |
1131 'mlid' => array( | 1124 'mlid' => array( |
1132 'type' => 'int', | 1125 'type' => 'int', |
1133 'not null' => TRUE, | 1126 'not null' => TRUE, |
1186 'mlid' => '5', | 1179 'mlid' => '5', |
1187 'nid' => '8', | 1180 'nid' => '8', |
1188 'bid' => '8', | 1181 'bid' => '8', |
1189 )) | 1182 )) |
1190 ->execute(); | 1183 ->execute(); |
1191 | |
1192 $connection->schema()->createTable('boxes', array( | 1184 $connection->schema()->createTable('boxes', array( |
1193 'fields' => array( | 1185 'fields' => array( |
1194 'bid' => array( | 1186 'bid' => array( |
1195 'type' => 'serial', | 1187 'type' => 'serial', |
1196 'not null' => TRUE, | 1188 'not null' => TRUE, |
1239 'body' => '<h3>My second custom block body</h3>', | 1231 'body' => '<h3>My second custom block body</h3>', |
1240 'info' => 'My block 2', | 1232 'info' => 'My block 2', |
1241 'format' => '2', | 1233 'format' => '2', |
1242 )) | 1234 )) |
1243 ->execute(); | 1235 ->execute(); |
1244 | |
1245 $connection->schema()->createTable('cache', array( | 1236 $connection->schema()->createTable('cache', array( |
1246 'fields' => array( | 1237 'fields' => array( |
1247 'cid' => array( | 1238 'cid' => array( |
1248 'type' => 'varchar', | 1239 'type' => 'varchar', |
1249 'not null' => TRUE, | 1240 'not null' => TRUE, |
1988 'thread' => '01.00.00/', | 1979 'thread' => '01.00.00/', |
1989 'name' => 'root', | 1980 'name' => 'root', |
1990 'mail' => '', | 1981 'mail' => '', |
1991 'homepage' => '', | 1982 'homepage' => '', |
1992 )) | 1983 )) |
1984 ->values(array( | |
1985 'cid' => '7', | |
1986 'pid' => '0', | |
1987 'nid' => '21', | |
1988 'uid' => '1', | |
1989 'subject' => 'Comment to John Smith - EN', | |
1990 'comment' => 'This is an English comment.', | |
1991 'hostname' => '2001:14ba:13f8:300:d9d0:363c:9fe4:66e1', | |
1992 'timestamp' => '1534014729', | |
1993 'status' => '0', | |
1994 'format' => '1', | |
1995 'thread' => '01/', | |
1996 'name' => 'root', | |
1997 'mail' => '', | |
1998 'homepage' => '', | |
1999 )) | |
2000 ->values(array( | |
2001 'cid' => '8', | |
2002 'pid' => '0', | |
2003 'nid' => '22', | |
2004 'uid' => '1', | |
2005 'subject' => 'Comment to John Smith - FR', | |
2006 'comment' => 'This is a French comment.', | |
2007 'hostname' => '2001:14ba:13f8:300:d9d0:363c:9fe4:66e1', | |
2008 'timestamp' => '1534014763', | |
2009 'status' => '0', | |
2010 'format' => '1', | |
2011 'thread' => '01/', | |
2012 'name' => 'root', | |
2013 'mail' => '', | |
2014 'homepage' => '', | |
2015 )) | |
1993 ->execute(); | 2016 ->execute(); |
1994 | |
1995 $connection->schema()->createTable('config', array( | 2017 $connection->schema()->createTable('config', array( |
1996 'fields' => array( | 2018 'fields' => array( |
1997 'collection' => array( | 2019 'collection' => array( |
1998 'type' => 'varchar', | 2020 'type' => 'varchar', |
1999 'not null' => TRUE, | 2021 'not null' => TRUE, |
2029 'collection' => '', | 2051 'collection' => '', |
2030 'name' => 'system.file', | 2052 'name' => 'system.file', |
2031 'data' => 'a:1:{s:4:"path";a:1:{s:9:"temporary";s:4:"/tmp";}}', | 2053 'data' => 'a:1:{s:4:"path";a:1:{s:9:"temporary";s:4:"/tmp";}}', |
2032 )) | 2054 )) |
2033 ->execute(); | 2055 ->execute(); |
2034 | |
2035 $connection->schema()->createTable('contact', array( | 2056 $connection->schema()->createTable('contact', array( |
2036 'fields' => array( | 2057 'fields' => array( |
2037 'cid' => array( | 2058 'cid' => array( |
2038 'type' => 'serial', | 2059 'type' => 'serial', |
2039 'not null' => TRUE, | 2060 'not null' => TRUE, |
2107 'reply' => '', | 2128 'reply' => '', |
2108 'weight' => '2', | 2129 'weight' => '2', |
2109 'selected' => '0', | 2130 'selected' => '0', |
2110 )) | 2131 )) |
2111 ->execute(); | 2132 ->execute(); |
2112 | |
2113 $connection->schema()->createTable('content_field_company', array( | 2133 $connection->schema()->createTable('content_field_company', array( |
2114 'fields' => array( | 2134 'fields' => array( |
2115 'vid' => array( | 2135 'vid' => array( |
2116 'type' => 'int', | 2136 'type' => 'int', |
2117 'not null' => TRUE, | 2137 'not null' => TRUE, |
2167 'nid' => '18', | 2187 'nid' => '18', |
2168 'delta' => '0', | 2188 'delta' => '0', |
2169 'field_company_nid' => '15', | 2189 'field_company_nid' => '15', |
2170 )) | 2190 )) |
2171 ->values(array( | 2191 ->values(array( |
2192 'vid' => '2002', | |
2193 'nid' => '21', | |
2194 'delta' => '0', | |
2195 'field_company_nid' => NULL, | |
2196 )) | |
2197 ->values(array( | |
2198 'vid' => '2003', | |
2199 'nid' => '22', | |
2200 'delta' => '0', | |
2201 'field_company_nid' => NULL, | |
2202 )) | |
2203 ->values(array( | |
2172 'vid' => '21', | 2204 'vid' => '21', |
2173 'nid' => '18', | 2205 'nid' => '18', |
2174 'delta' => '1', | 2206 'delta' => '1', |
2175 'field_company_nid' => '16', | 2207 'field_company_nid' => '16', |
2176 )) | 2208 )) |
2177 ->execute(); | 2209 ->execute(); |
2178 | |
2179 $connection->schema()->createTable('content_field_image', array( | 2210 $connection->schema()->createTable('content_field_image', array( |
2180 'fields' => array( | 2211 'fields' => array( |
2181 'vid' => array( | 2212 'vid' => array( |
2182 'type' => 'int', | 2213 'type' => 'int', |
2183 'not null' => TRUE, | 2214 'not null' => TRUE, |
2242 'field_image_fid' => '2', | 2273 'field_image_fid' => '2', |
2243 'field_image_list' => '1', | 2274 'field_image_list' => '1', |
2244 'field_image_data' => 'a:2:{s:3:"alt";s:0:"";s:5:"title";s:0:"";}', | 2275 'field_image_data' => 'a:2:{s:3:"alt";s:0:"";s:5:"title";s:0:"";}', |
2245 )) | 2276 )) |
2246 ->execute(); | 2277 ->execute(); |
2247 | |
2248 $connection->schema()->createTable('content_field_multivalue', array( | 2278 $connection->schema()->createTable('content_field_multivalue', array( |
2249 'fields' => array( | 2279 'fields' => array( |
2250 'vid' => array( | 2280 'vid' => array( |
2251 'type' => 'int', | 2281 'type' => 'int', |
2252 'not null' => TRUE, | 2282 'not null' => TRUE, |
2305 'nid' => '3', | 2335 'nid' => '3', |
2306 'field_multivalue_value' => '44.00', | 2336 'field_multivalue_value' => '44.00', |
2307 'delta' => '1', | 2337 'delta' => '1', |
2308 )) | 2338 )) |
2309 ->execute(); | 2339 ->execute(); |
2310 | |
2311 $connection->schema()->createTable('content_field_test', array( | 2340 $connection->schema()->createTable('content_field_test', array( |
2312 'fields' => array( | 2341 'fields' => array( |
2313 'vid' => array( | 2342 'vid' => array( |
2314 'type' => 'int', | 2343 'type' => 'int', |
2315 'not null' => TRUE, | 2344 'not null' => TRUE, |
2383 'nid' => '9', | 2412 'nid' => '9', |
2384 'field_test_value' => 'text for default value', | 2413 'field_test_value' => 'text for default value', |
2385 'field_test_format' => '1', | 2414 'field_test_format' => '1', |
2386 )) | 2415 )) |
2387 ->execute(); | 2416 ->execute(); |
2388 | |
2389 $connection->schema()->createTable('content_field_test_text_single_checkbox', array( | 2417 $connection->schema()->createTable('content_field_test_text_single_checkbox', array( |
2390 'fields' => array( | 2418 'fields' => array( |
2391 'vid' => array( | 2419 'vid' => array( |
2392 'type' => 'int', | 2420 'type' => 'int', |
2393 'not null' => TRUE, | 2421 'not null' => TRUE, |
2449 'vid' => '12', | 2477 'vid' => '12', |
2450 'nid' => '9', | 2478 'nid' => '9', |
2451 'field_test_text_single_checkbox_value' => '0', | 2479 'field_test_text_single_checkbox_value' => '0', |
2452 )) | 2480 )) |
2453 ->execute(); | 2481 ->execute(); |
2454 | |
2455 $connection->schema()->createTable('content_field_test_two', array( | 2482 $connection->schema()->createTable('content_field_test_two', array( |
2456 'fields' => array( | 2483 'fields' => array( |
2457 'vid' => array( | 2484 'vid' => array( |
2458 'type' => 'int', | 2485 'type' => 'int', |
2459 'not null' => TRUE, | 2486 'not null' => TRUE, |
2535 'nid' => '1', | 2562 'nid' => '1', |
2536 'delta' => '1', | 2563 'delta' => '1', |
2537 'field_test_two_value' => '20', | 2564 'field_test_two_value' => '20', |
2538 )) | 2565 )) |
2539 ->execute(); | 2566 ->execute(); |
2540 | |
2541 $connection->schema()->createTable('content_group', array( | 2567 $connection->schema()->createTable('content_group', array( |
2542 'fields' => array( | 2568 'fields' => array( |
2543 'group_type' => array( | 2569 'group_type' => array( |
2544 'type' => 'varchar', | 2570 'type' => 'varchar', |
2545 'not null' => TRUE, | 2571 'not null' => TRUE, |
2967 'db_columns' => 'a:1:{s:5:"value";a:3:{s:4:"type";s:7:"varchar";s:6:"length";i:255;s:8:"not null";b:0;}}', | 2993 'db_columns' => 'a:1:{s:5:"value";a:3:{s:4:"type";s:7:"varchar";s:6:"length";i:255;s:8:"not null";b:0;}}', |
2968 'active' => '1', | 2994 'active' => '1', |
2969 'locked' => '0', | 2995 'locked' => '0', |
2970 )) | 2996 )) |
2971 ->values(array( | 2997 ->values(array( |
2998 'field_name' => 'field_test_string_selectlist', | |
2999 'type' => 'text', | |
3000 'global_settings' => "a:4:{s:15:\"text_processing\";s:1:\"0\";s:10:\"max_length\";s:0:\"\";s:14:\"allowed_values\";s:18:\"A|Black\r\nB|White\r\n\";s:18:\"allowed_values_php\";s:0:\"\";}", | |
3001 'required' => '0', | |
3002 'multiple' => '0', | |
3003 'db_storage' => '1', | |
3004 'module' => 'text', | |
3005 'db_columns' => 'a:1:{s:5:"value";a:5:{s:4:"type";s:4:"text";s:4:"size";s:3:"big";s:8:"not null";b:0;s:8:"sortable";b:1;s:5:"views";b:1;}}', | |
3006 'active' => '1', | |
3007 'locked' => '0', | |
3008 )) | |
3009 ->values(array( | |
2972 'field_name' => 'field_test_text_single_checkbox', | 3010 'field_name' => 'field_test_text_single_checkbox', |
2973 'type' => 'text', | 3011 'type' => 'text', |
2974 'global_settings' => "a:4:{s:15:\"text_processing\";s:1:\"0\";s:10:\"max_length\";s:0:\"\";s:14:\"allowed_values\";s:18:\"0|Hello\r\n1|Goodbye\";s:18:\"allowed_values_php\";s:0:\"\";}", | 3012 'global_settings' => "a:4:{s:15:\"text_processing\";s:1:\"0\";s:10:\"max_length\";s:0:\"\";s:14:\"allowed_values\";s:18:\"0|Hello\r\n1|Goodbye\";s:18:\"allowed_values_php\";s:0:\"\";}", |
2975 'required' => '0', | 3013 'required' => '0', |
2976 'multiple' => '0', | 3014 'multiple' => '0', |
3015 'db_columns' => 'a:1:{s:5:"value";a:3:{s:4:"type";s:3:"int";s:8:"not null";b:0;s:8:"sortable";b:1;}}', | 3053 'db_columns' => 'a:1:{s:5:"value";a:3:{s:4:"type";s:3:"int";s:8:"not null";b:0;s:8:"sortable";b:1;}}', |
3016 'active' => '1', | 3054 'active' => '1', |
3017 'locked' => '0', | 3055 'locked' => '0', |
3018 )) | 3056 )) |
3019 ->execute(); | 3057 ->execute(); |
3020 | |
3021 $connection->schema()->createTable('content_node_field_instance', array( | 3058 $connection->schema()->createTable('content_node_field_instance', array( |
3022 'fields' => array( | 3059 'fields' => array( |
3023 'field_name' => array( | 3060 'field_name' => array( |
3024 'type' => 'varchar', | 3061 'type' => 'varchar', |
3025 'not null' => TRUE, | 3062 'not null' => TRUE, |
3385 'description' => 'An example phone field.', | 3422 'description' => 'An example phone field.', |
3386 'widget_module' => 'phone', | 3423 'widget_module' => 'phone', |
3387 'widget_active' => '1', | 3424 'widget_active' => '1', |
3388 )) | 3425 )) |
3389 ->values(array( | 3426 ->values(array( |
3427 'field_name' => 'field_test_string_selectlist', | |
3428 'type_name' => 'story', | |
3429 'weight' => '31', | |
3430 'label' => 'String Select List Field', | |
3431 'widget_type' => 'optionwidgets_select', | |
3432 'widget_settings' => 'a:2:{s:13:"default_value";a:1:{i:0;a:1:{s:5:"value";s:0:"";}}s:17:"default_value_php";N;}', | |
3433 'display_settings' => 'a:5:{s:5:"label";a:2:{s:6:"format";s:5:"above";s:7:"exclude";i:0;}i:5;a:2:{s:6:"format";s:7:"default";s:7:"exclude";i:0;}s:6:"teaser";a:2:{s:6:"format";s:7:"default";s:7:"exclude";i:0;}s:4:"full";a:2:{s:6:"format";s:7:"default";s:7:"exclude";i:0;}i:4;a:2:{s:6:"format";s:7:"default";s:7:"exclude";i:0;}}', | |
3434 'description' => '', | |
3435 'widget_module' => 'optionwidgets', | |
3436 'widget_active' => '1', | |
3437 )) | |
3438 ->values(array( | |
3390 'field_name' => 'field_test_text_single_checkbox', | 3439 'field_name' => 'field_test_text_single_checkbox', |
3391 'type_name' => 'story', | 3440 'type_name' => 'story', |
3392 'weight' => '17', | 3441 'weight' => '17', |
3393 'label' => 'Text Single Checkbox Field', | 3442 'label' => 'Text Single Checkbox Field', |
3394 'widget_type' => 'optionwidgets_onoff', | 3443 'widget_type' => 'optionwidgets_onoff', |
3445 'description' => 'An example integer field.', | 3494 'description' => 'An example integer field.', |
3446 'widget_module' => 'number', | 3495 'widget_module' => 'number', |
3447 'widget_active' => '1', | 3496 'widget_active' => '1', |
3448 )) | 3497 )) |
3449 ->execute(); | 3498 ->execute(); |
3450 | |
3451 $connection->schema()->createTable('content_type_employee', array( | 3499 $connection->schema()->createTable('content_type_employee', array( |
3452 'fields' => array( | 3500 'fields' => array( |
3453 'vid' => array( | 3501 'vid' => array( |
3454 'type' => 'int', | 3502 'type' => 'int', |
3455 'not null' => TRUE, | 3503 'not null' => TRUE, |
3516 'nid' => '18', | 3564 'nid' => '18', |
3517 'field_commander_uid' => '8', | 3565 'field_commander_uid' => '8', |
3518 'field_company_2_nid' => '15', | 3566 'field_company_2_nid' => '15', |
3519 'field_company_3_nid' => '16', | 3567 'field_company_3_nid' => '16', |
3520 )) | 3568 )) |
3569 ->values(array( | |
3570 'vid' => '2002', | |
3571 'nid' => '21', | |
3572 'field_commander_uid' => NULL, | |
3573 'field_company_2_nid' => NULL, | |
3574 'field_company_3_nid' => NULL, | |
3575 )) | |
3576 ->values(array( | |
3577 'vid' => '2003', | |
3578 'nid' => '22', | |
3579 'field_commander_uid' => NULL, | |
3580 'field_company_2_nid' => NULL, | |
3581 'field_company_3_nid' => NULL, | |
3582 )) | |
3521 ->execute(); | 3583 ->execute(); |
3522 | |
3523 $connection->schema()->createTable('content_type_page', array( | 3584 $connection->schema()->createTable('content_type_page', array( |
3524 'fields' => array( | 3585 'fields' => array( |
3525 'vid' => array( | 3586 'vid' => array( |
3526 'type' => 'int', | 3587 'type' => 'int', |
3527 'not null' => TRUE, | 3588 'not null' => TRUE, |
3603 'field_text_field_value' => NULL, | 3664 'field_text_field_value' => NULL, |
3604 'field_reference_nid' => '11', | 3665 'field_reference_nid' => '11', |
3605 'field_reference_2_nid' => '11', | 3666 'field_reference_2_nid' => '11', |
3606 )) | 3667 )) |
3607 ->execute(); | 3668 ->execute(); |
3608 | |
3609 $connection->schema()->createTable('content_type_story', array( | 3669 $connection->schema()->createTable('content_type_story', array( |
3610 'fields' => array( | 3670 'fields' => array( |
3611 'nid' => array( | 3671 'nid' => array( |
3612 'type' => 'int', | 3672 'type' => 'int', |
3613 'not null' => TRUE, | 3673 'not null' => TRUE, |
3761 ), | 3821 ), |
3762 'field_test_datetime_value2' => array( | 3822 'field_test_datetime_value2' => array( |
3763 'type' => 'varchar', | 3823 'type' => 'varchar', |
3764 'not null' => FALSE, | 3824 'not null' => FALSE, |
3765 'length' => '100', | 3825 'length' => '100', |
3826 ), | |
3827 'field_test_string_selectlist_value' => array( | |
3828 'type' => 'text', | |
3829 'not null' => FALSE, | |
3830 'size' => 'big', | |
3766 ), | 3831 ), |
3767 ), | 3832 ), |
3768 'primary key' => array( | 3833 'primary key' => array( |
3769 'vid', | 3834 'vid', |
3770 ), | 3835 ), |
3805 'field_test_imagefield_list', | 3870 'field_test_imagefield_list', |
3806 'field_test_imagefield_data', | 3871 'field_test_imagefield_data', |
3807 'field_test_text_single_checkbox2_value', | 3872 'field_test_text_single_checkbox2_value', |
3808 'field_test_datestamp_value2', | 3873 'field_test_datestamp_value2', |
3809 'field_test_datetime_value2', | 3874 'field_test_datetime_value2', |
3875 'field_test_string_selectlist_value', | |
3810 )) | 3876 )) |
3811 ->values(array( | 3877 ->values(array( |
3812 'nid' => '1', | 3878 'nid' => '1', |
3813 'vid' => '1', | 3879 'vid' => '1', |
3814 'uid' => '1', | 3880 'uid' => '1', |
3836 'field_test_imagefield_list' => NULL, | 3902 'field_test_imagefield_list' => NULL, |
3837 'field_test_imagefield_data' => NULL, | 3903 'field_test_imagefield_data' => NULL, |
3838 'field_test_text_single_checkbox2_value' => 'Hello', | 3904 'field_test_text_single_checkbox2_value' => 'Hello', |
3839 'field_test_datestamp_value2' => NULL, | 3905 'field_test_datestamp_value2' => NULL, |
3840 'field_test_datetime_value2' => NULL, | 3906 'field_test_datetime_value2' => NULL, |
3907 'field_test_string_selectlist_value' => NULL, | |
3841 )) | 3908 )) |
3842 ->values(array( | 3909 ->values(array( |
3843 'nid' => '1', | 3910 'nid' => '1', |
3844 'vid' => '2', | 3911 'vid' => '2', |
3845 'uid' => '1', | 3912 'uid' => '1', |
3867 'field_test_imagefield_list' => NULL, | 3934 'field_test_imagefield_list' => NULL, |
3868 'field_test_imagefield_data' => NULL, | 3935 'field_test_imagefield_data' => NULL, |
3869 'field_test_text_single_checkbox2_value' => NULL, | 3936 'field_test_text_single_checkbox2_value' => NULL, |
3870 'field_test_datestamp_value2' => NULL, | 3937 'field_test_datestamp_value2' => NULL, |
3871 'field_test_datetime_value2' => NULL, | 3938 'field_test_datetime_value2' => NULL, |
3939 'field_test_string_selectlist_value' => NULL, | |
3872 )) | 3940 )) |
3873 ->values(array( | 3941 ->values(array( |
3874 'nid' => '2', | 3942 'nid' => '2', |
3875 'vid' => '3', | 3943 'vid' => '3', |
3876 'uid' => '1', | 3944 'uid' => '1', |
3898 'field_test_imagefield_list' => NULL, | 3966 'field_test_imagefield_list' => NULL, |
3899 'field_test_imagefield_data' => NULL, | 3967 'field_test_imagefield_data' => NULL, |
3900 'field_test_text_single_checkbox2_value' => NULL, | 3968 'field_test_text_single_checkbox2_value' => NULL, |
3901 'field_test_datestamp_value2' => NULL, | 3969 'field_test_datestamp_value2' => NULL, |
3902 'field_test_datetime_value2' => NULL, | 3970 'field_test_datetime_value2' => NULL, |
3971 'field_test_string_selectlist_value' => NULL, | |
3903 )) | 3972 )) |
3904 ->values(array( | 3973 ->values(array( |
3905 'nid' => '2', | 3974 'nid' => '2', |
3906 'vid' => '5', | 3975 'vid' => '5', |
3907 'uid' => '1', | 3976 'uid' => '1', |
3929 'field_test_imagefield_list' => NULL, | 3998 'field_test_imagefield_list' => NULL, |
3930 'field_test_imagefield_data' => NULL, | 3999 'field_test_imagefield_data' => NULL, |
3931 'field_test_text_single_checkbox2_value' => NULL, | 4000 'field_test_text_single_checkbox2_value' => NULL, |
3932 'field_test_datestamp_value2' => NULL, | 4001 'field_test_datestamp_value2' => NULL, |
3933 'field_test_datetime_value2' => NULL, | 4002 'field_test_datetime_value2' => NULL, |
4003 'field_test_string_selectlist_value' => NULL, | |
3934 )) | 4004 )) |
3935 ->values(array( | 4005 ->values(array( |
3936 'nid' => '9', | 4006 'nid' => '9', |
3937 'vid' => '12', | 4007 'vid' => '12', |
3938 'uid' => '0', | 4008 'uid' => '0', |
3960 'field_test_imagefield_list' => '1', | 4030 'field_test_imagefield_list' => '1', |
3961 'field_test_imagefield_data' => 'a:2:{s:3:"alt";s:8:"Test alt";s:5:"title";s:10:"Test title";}', | 4031 'field_test_imagefield_data' => 'a:2:{s:3:"alt";s:8:"Test alt";s:5:"title";s:10:"Test title";}', |
3962 'field_test_text_single_checkbox2_value' => 'Off', | 4032 'field_test_text_single_checkbox2_value' => 'Off', |
3963 'field_test_datestamp_value2' => '1391357160', | 4033 'field_test_datestamp_value2' => '1391357160', |
3964 'field_test_datetime_value2' => '2015-03-04 06:07:00', | 4034 'field_test_datetime_value2' => '2015-03-04 06:07:00', |
4035 'field_test_string_selectlist_value' => NULL, | |
3965 )) | 4036 )) |
3966 ->execute(); | 4037 ->execute(); |
3967 | |
3968 $connection->schema()->createTable('content_type_test_page', array( | 4038 $connection->schema()->createTable('content_type_test_page', array( |
3969 'fields' => array( | 4039 'fields' => array( |
3970 'vid' => array( | 4040 'vid' => array( |
3971 'type' => 'int', | 4041 'type' => 'int', |
3972 'not null' => TRUE, | 4042 'not null' => TRUE, |
4053 ->values(array( | 4123 ->values(array( |
4054 'nid' => '9', | 4124 'nid' => '9', |
4055 'vid' => '11', | 4125 'vid' => '11', |
4056 )) | 4126 )) |
4057 ->execute(); | 4127 ->execute(); |
4058 | |
4059 $connection->schema()->createTable('date_format_locale', array( | 4128 $connection->schema()->createTable('date_format_locale', array( |
4060 'fields' => array( | 4129 'fields' => array( |
4061 'format' => array( | 4130 'format' => array( |
4062 'type' => 'varchar', | 4131 'type' => 'varchar', |
4063 'not null' => TRUE, | 4132 'not null' => TRUE, |
4126 'type' => 'short', | 4195 'type' => 'short', |
4127 'title' => 'Short', | 4196 'title' => 'Short', |
4128 'locked' => '1', | 4197 'locked' => '1', |
4129 )) | 4198 )) |
4130 ->execute(); | 4199 ->execute(); |
4131 | |
4132 $connection->schema()->createTable('date_formats', array( | 4200 $connection->schema()->createTable('date_formats', array( |
4133 'fields' => array( | 4201 'fields' => array( |
4134 'dfid' => array( | 4202 'dfid' => array( |
4135 'type' => 'serial', | 4203 'type' => 'serial', |
4136 'not null' => TRUE, | 4204 'not null' => TRUE, |
4376 'format' => 'l, j. F Y - G:i', | 4444 'format' => 'l, j. F Y - G:i', |
4377 'type' => 'long', | 4445 'type' => 'long', |
4378 'locked' => '1', | 4446 'locked' => '1', |
4379 )) | 4447 )) |
4380 ->execute(); | 4448 ->execute(); |
4381 | |
4382 $connection->schema()->createTable('event', array( | 4449 $connection->schema()->createTable('event', array( |
4383 'fields' => array( | 4450 'fields' => array( |
4384 'nid' => array( | 4451 'nid' => array( |
4385 'type' => 'int', | 4452 'type' => 'int', |
4386 'not null' => TRUE, | 4453 'not null' => TRUE, |
8176 'offset_dst' => '00:00:00', | 8243 'offset_dst' => '00:00:00', |
8177 'dst_region' => '0', | 8244 'dst_region' => '0', |
8178 'is_dst' => '0', | 8245 'is_dst' => '0', |
8179 )) | 8246 )) |
8180 ->execute(); | 8247 ->execute(); |
8181 | |
8182 $connection->schema()->createTable('files', array( | 8248 $connection->schema()->createTable('files', array( |
8183 'fields' => array( | 8249 'fields' => array( |
8184 'fid' => array( | 8250 'fid' => array( |
8185 'type' => 'serial', | 8251 'type' => 'serial', |
8186 'not null' => TRUE, | 8252 'not null' => TRUE, |
8299 'filesize' => '24', | 8365 'filesize' => '24', |
8300 'status' => '0', | 8366 'status' => '0', |
8301 'timestamp' => '1420858106', | 8367 'timestamp' => '1420858106', |
8302 )) | 8368 )) |
8303 ->execute(); | 8369 ->execute(); |
8304 | |
8305 $connection->schema()->createTable('filter_formats', array( | 8370 $connection->schema()->createTable('filter_formats', array( |
8306 'fields' => array( | 8371 'fields' => array( |
8307 'format' => array( | 8372 'format' => array( |
8308 'type' => 'serial', | 8373 'type' => 'serial', |
8309 'not null' => TRUE, | 8374 'not null' => TRUE, |
8364 'name' => 'PHP Code', | 8429 'name' => 'PHP Code', |
8365 'roles' => ',3,4,5,', | 8430 'roles' => ',3,4,5,', |
8366 'cache' => '0', | 8431 'cache' => '0', |
8367 )) | 8432 )) |
8368 ->execute(); | 8433 ->execute(); |
8369 | |
8370 $connection->schema()->createTable('filters', array( | 8434 $connection->schema()->createTable('filters', array( |
8371 'fields' => array( | 8435 'fields' => array( |
8372 'fid' => array( | 8436 'fid' => array( |
8373 'type' => 'serial', | 8437 'type' => 'serial', |
8374 'not null' => TRUE, | 8438 'not null' => TRUE, |
8496 'module' => 'php', | 8560 'module' => 'php', |
8497 'delta' => '0', | 8561 'delta' => '0', |
8498 'weight' => '10', | 8562 'weight' => '10', |
8499 )) | 8563 )) |
8500 ->execute(); | 8564 ->execute(); |
8501 | |
8502 $connection->schema()->createTable('flood', array( | 8565 $connection->schema()->createTable('flood', array( |
8503 'fields' => array( | 8566 'fields' => array( |
8504 'fid' => array( | 8567 'fid' => array( |
8505 'type' => 'serial', | 8568 'type' => 'serial', |
8506 'not null' => TRUE, | 8569 'not null' => TRUE, |
8579 'nid' => '19', | 8642 'nid' => '19', |
8580 'vid' => '22', | 8643 'vid' => '22', |
8581 'tid' => '8', | 8644 'tid' => '8', |
8582 )) | 8645 )) |
8583 ->execute(); | 8646 ->execute(); |
8584 | |
8585 $connection->schema()->createTable('history', array( | 8647 $connection->schema()->createTable('history', array( |
8586 'fields' => array( | 8648 'fields' => array( |
8587 'uid' => array( | 8649 'uid' => array( |
8588 'type' => 'int', | 8650 'type' => 'int', |
8589 'not null' => TRUE, | 8651 'not null' => TRUE, |
8664 ->values(array( | 8726 ->values(array( |
8665 'uid' => '1', | 8727 'uid' => '1', |
8666 'nid' => '19', | 8728 'nid' => '19', |
8667 'timestamp' => '1501955803', | 8729 'timestamp' => '1501955803', |
8668 )) | 8730 )) |
8731 ->values(array( | |
8732 'uid' => '1', | |
8733 'nid' => '21', | |
8734 'timestamp' => '1534014729', | |
8735 )) | |
8736 ->values(array( | |
8737 'uid' => '1', | |
8738 'nid' => '22', | |
8739 'timestamp' => '1534014763', | |
8740 )) | |
8669 ->execute(); | 8741 ->execute(); |
8670 | |
8671 $connection->schema()->createTable('i18n_blocks', array( | 8742 $connection->schema()->createTable('i18n_blocks', array( |
8672 'fields' => array( | 8743 'fields' => array( |
8673 'ibid' => array( | 8744 'ibid' => array( |
8674 'type' => 'serial', | 8745 'type' => 'serial', |
8675 'not null' => TRUE, | 8746 'not null' => TRUE, |
8704 'ibid', | 8775 'ibid', |
8705 ), | 8776 ), |
8706 'mysql_character_set' => 'utf8', | 8777 'mysql_character_set' => 'utf8', |
8707 )); | 8778 )); |
8708 | 8779 |
8780 $connection->insert('i18n_blocks') | |
8781 ->fields(array( | |
8782 'ibid', | |
8783 'module', | |
8784 'delta', | |
8785 'type', | |
8786 'language', | |
8787 )) | |
8788 ->values(array( | |
8789 'ibid' => '1', | |
8790 'module' => 'user', | |
8791 'delta' => '1', | |
8792 'type' => '0', | |
8793 'language' => 'zu', | |
8794 )) | |
8795 ->values(array( | |
8796 'ibid' => '2', | |
8797 'module' => 'menu', | |
8798 'delta' => 'menu-translation-test', | |
8799 'type' => '0', | |
8800 'language' => 'zu', | |
8801 )) | |
8802 ->execute(); | |
8709 $connection->schema()->createTable('i18n_strings', array( | 8803 $connection->schema()->createTable('i18n_strings', array( |
8710 'fields' => array( | 8804 'fields' => array( |
8711 'lid' => array( | 8805 'lid' => array( |
8712 'type' => 'int', | 8806 'type' => 'int', |
8713 'not null' => TRUE, | 8807 'not null' => TRUE, |
9854 'type' => 'field', | 9948 'type' => 'field', |
9855 'property' => 'title', | 9949 'property' => 'title', |
9856 'objectindex' => '0', | 9950 'objectindex' => '0', |
9857 'format' => '0', | 9951 'format' => '0', |
9858 )) | 9952 )) |
9953 ->values(array( | |
9954 'lid' => '1679', | |
9955 'objectid' => 'menu-translation-test', | |
9956 'type' => 'menu', | |
9957 'property' => 'title', | |
9958 'objectindex' => '0', | |
9959 'format' => '0', | |
9960 )) | |
9961 ->values(array( | |
9962 'lid' => '1680', | |
9963 'objectid' => 'employee-field_company', | |
9964 'type' => 'field', | |
9965 'property' => 'widget_label', | |
9966 'objectindex' => '0', | |
9967 'format' => '0', | |
9968 )) | |
9969 ->values(array( | |
9970 'lid' => '1681', | |
9971 'objectid' => 'employee-field_commander', | |
9972 'type' => 'field', | |
9973 'property' => 'widget_label', | |
9974 'objectindex' => '0', | |
9975 'format' => '0', | |
9976 )) | |
9977 ->values(array( | |
9978 'lid' => '1682', | |
9979 'objectid' => 'employee-field_company_2', | |
9980 'type' => 'field', | |
9981 'property' => 'widget_label', | |
9982 'objectindex' => '0', | |
9983 'format' => '0', | |
9984 )) | |
9985 ->values(array( | |
9986 'lid' => '1683', | |
9987 'objectid' => 'employee-field_company_3', | |
9988 'type' => 'field', | |
9989 'property' => 'widget_label', | |
9990 'objectindex' => '0', | |
9991 'format' => '0', | |
9992 )) | |
9993 ->values(array( | |
9994 'lid' => '1684', | |
9995 'objectid' => 'page-field_reference', | |
9996 'type' => 'field', | |
9997 'property' => 'widget_label', | |
9998 'objectindex' => '0', | |
9999 'format' => '0', | |
10000 )) | |
10001 ->values(array( | |
10002 'lid' => '1685', | |
10003 'objectid' => 'page-field_reference_2', | |
10004 'type' => 'field', | |
10005 'property' => 'widget_label', | |
10006 'objectindex' => '0', | |
10007 'format' => '0', | |
10008 )) | |
10009 ->values(array( | |
10010 'lid' => '1686', | |
10011 'objectid' => 'story-field_test_string_selectlist', | |
10012 'type' => 'field', | |
10013 'property' => 'widget_label', | |
10014 'objectindex' => '0', | |
10015 'format' => '0', | |
10016 )) | |
10017 ->values(array( | |
10018 'lid' => '1689', | |
10019 'objectid' => 'test_planet-field_test_text_single_checkbox', | |
10020 'type' => 'field', | |
10021 'property' => 'widget_label', | |
10022 'objectindex' => '0', | |
10023 'format' => '0', | |
10024 )) | |
10025 ->values(array( | |
10026 'lid' => '1690', | |
10027 'objectid' => 'field_test_string_selectlist', | |
10028 'type' => 'field', | |
10029 'property' => 'option_A', | |
10030 'objectindex' => '0', | |
10031 'format' => '0', | |
10032 )) | |
10033 ->values(array( | |
10034 'lid' => '1691', | |
10035 'objectid' => 'field_test_string_selectlist', | |
10036 'type' => 'field', | |
10037 'property' => 'option_B', | |
10038 'objectindex' => '0', | |
10039 'format' => '0', | |
10040 )) | |
10041 ->values(array( | |
10042 'lid' => '1692', | |
10043 'objectid' => '14', | |
10044 'type' => 'term', | |
10045 'property' => 'name', | |
10046 'objectindex' => '14', | |
10047 'format' => '0', | |
10048 )) | |
10049 ->values(array( | |
10050 'lid' => '1693', | |
10051 'objectid' => '15', | |
10052 'type' => 'term', | |
10053 'property' => 'name', | |
10054 'objectindex' => '15', | |
10055 'format' => '0', | |
10056 )) | |
10057 ->values(array( | |
10058 'lid' => '1694', | |
10059 'objectid' => '14', | |
10060 'type' => 'term', | |
10061 'property' => 'description', | |
10062 'objectindex' => '14', | |
10063 'format' => '0', | |
10064 )) | |
10065 ->values(array( | |
10066 'lid' => '1695', | |
10067 'objectid' => 'profile_count_trees', | |
10068 'type' => 'field', | |
10069 'property' => 'title', | |
10070 'objectindex' => '0', | |
10071 'format' => '0', | |
10072 )) | |
10073 ->values(array( | |
10074 'lid' => '1696', | |
10075 'objectid' => 'profile_count_trees', | |
10076 'type' => 'field', | |
10077 'property' => 'options', | |
10078 'objectindex' => '0', | |
10079 'format' => '0', | |
10080 )) | |
9859 ->execute(); | 10081 ->execute(); |
9860 | |
9861 $connection->schema()->createTable('i18n_variable', array( | 10082 $connection->schema()->createTable('i18n_variable', array( |
9862 'fields' => array( | 10083 'fields' => array( |
9863 'name' => array( | 10084 'name' => array( |
9864 'type' => 'varchar', | 10085 'type' => 'varchar', |
9865 'not null' => TRUE, | 10086 'not null' => TRUE, |
10295 'name' => 'user_signatures', | 10516 'name' => 'user_signatures', |
10296 'language' => 'zu', | 10517 'language' => 'zu', |
10297 'value' => 's:1:"1";', | 10518 'value' => 's:1:"1";', |
10298 )) | 10519 )) |
10299 ->execute(); | 10520 ->execute(); |
10300 | |
10301 $connection->schema()->createTable('imagecache_action', array( | 10521 $connection->schema()->createTable('imagecache_action', array( |
10302 'fields' => array( | 10522 'fields' => array( |
10303 'actionid' => array( | 10523 'actionid' => array( |
10304 'type' => 'serial', | 10524 'type' => 'serial', |
10305 'not null' => TRUE, | 10525 'not null' => TRUE, |
10381 'module' => 'imagecache', | 10601 'module' => 'imagecache', |
10382 'action' => 'imagecache_rotate', | 10602 'action' => 'imagecache_rotate', |
10383 'data' => 'a:3:{s:7:"degrees";s:2:"55";s:6:"random";i:0;s:7:"bgcolor";s:0:"";}', | 10603 'data' => 'a:3:{s:7:"degrees";s:2:"55";s:6:"random";i:0;s:7:"bgcolor";s:0:"";}', |
10384 )) | 10604 )) |
10385 ->execute(); | 10605 ->execute(); |
10386 | |
10387 $connection->schema()->createTable('imagecache_preset', array( | 10606 $connection->schema()->createTable('imagecache_preset', array( |
10388 'fields' => array( | 10607 'fields' => array( |
10389 'presetid' => array( | 10608 'presetid' => array( |
10390 'type' => 'serial', | 10609 'type' => 'serial', |
10391 'not null' => TRUE, | 10610 'not null' => TRUE, |
10416 ->values(array( | 10635 ->values(array( |
10417 'presetid' => '2', | 10636 'presetid' => '2', |
10418 'presetname' => 'big_blue_cheese', | 10637 'presetname' => 'big_blue_cheese', |
10419 )) | 10638 )) |
10420 ->execute(); | 10639 ->execute(); |
10421 | |
10422 $connection->schema()->createTable('languages', array( | 10640 $connection->schema()->createTable('languages', array( |
10423 'fields' => array( | 10641 'fields' => array( |
10424 'language' => array( | 10642 'language' => array( |
10425 'type' => 'varchar', | 10643 'type' => 'varchar', |
10426 'not null' => TRUE, | 10644 'not null' => TRUE, |
10552 'prefix' => 'zu', | 10770 'prefix' => 'zu', |
10553 'weight' => '0', | 10771 'weight' => '0', |
10554 'javascript' => '', | 10772 'javascript' => '', |
10555 )) | 10773 )) |
10556 ->execute(); | 10774 ->execute(); |
10557 | |
10558 $connection->schema()->createTable('locales_source', array( | 10775 $connection->schema()->createTable('locales_source', array( |
10559 'fields' => array( | 10776 'fields' => array( |
10560 'lid' => array( | 10777 'lid' => array( |
10561 'type' => 'serial', | 10778 'type' => 'serial', |
10562 'not null' => TRUE, | 10779 'not null' => TRUE, |
14985 'textgroup' => 'cck', | 15202 'textgroup' => 'cck', |
14986 'source' => 'An example multi-valued decimal field.', | 15203 'source' => 'An example multi-valued decimal field.', |
14987 'version' => '1', | 15204 'version' => '1', |
14988 )) | 15205 )) |
14989 ->values(array( | 15206 ->values(array( |
14990 'lid' => '626', | |
14991 'location' => 'field:test_planet-field_test_text_single_checkbox:widget_label', | |
14992 'textgroup' => 'cck', | |
14993 'source' => 'Text Single Checkbox Field', | |
14994 'version' => '1', | |
14995 )) | |
14996 ->values(array( | |
14997 'lid' => '627', | 15207 'lid' => '627', |
14998 'location' => 'field:test_planet-field_test_text_single_checkbox:widget_description', | 15208 'location' => 'field:test_planet-field_test_text_single_checkbox:widget_description', |
14999 'textgroup' => 'cck', | 15209 'textgroup' => 'cck', |
15000 'source' => 'An example text field using a single on/off checkbox.', | 15210 'source' => 'An example text field using a single on/off checkbox.', |
15001 'version' => '1', | 15211 'version' => '1', |
22355 'location' => 'field:profile_really_really_love_migrating:title', | 22565 'location' => 'field:profile_really_really_love_migrating:title', |
22356 'textgroup' => 'profile', | 22566 'textgroup' => 'profile', |
22357 'source' => 'I really, really, really love migrating', | 22567 'source' => 'I really, really, really love migrating', |
22358 'version' => '1', | 22568 'version' => '1', |
22359 )) | 22569 )) |
22570 ->values(array( | |
22571 'lid' => '1679', | |
22572 'location' => 'menu:menu-translation-test:title', | |
22573 'textgroup' => 'menu', | |
22574 'source' => 'Translation test', | |
22575 'version' => '1', | |
22576 )) | |
22577 ->values(array( | |
22578 'lid' => '1680', | |
22579 'location' => 'field:employee-field_company:widget_label', | |
22580 'textgroup' => 'cck', | |
22581 'source' => 'Company', | |
22582 'version' => '1', | |
22583 )) | |
22584 ->values(array( | |
22585 'lid' => '1681', | |
22586 'location' => 'field:employee-field_commander:widget_label', | |
22587 'textgroup' => 'cck', | |
22588 'source' => 'Commanding Officer', | |
22589 'version' => '1', | |
22590 )) | |
22591 ->values(array( | |
22592 'lid' => '1682', | |
22593 'location' => 'field:employee-field_company_2:widget_label', | |
22594 'textgroup' => 'cck', | |
22595 'source' => 'Company 2', | |
22596 'version' => '1', | |
22597 )) | |
22598 ->values(array( | |
22599 'lid' => '1683', | |
22600 'location' => 'field:employee-field_company_3:widget_label', | |
22601 'textgroup' => 'cck', | |
22602 'source' => 'Company 3', | |
22603 'version' => '1', | |
22604 )) | |
22605 ->values(array( | |
22606 'lid' => '1684', | |
22607 'location' => 'field:page-field_reference:widget_label', | |
22608 'textgroup' => 'cck', | |
22609 'source' => 'Reference', | |
22610 'version' => '1', | |
22611 )) | |
22612 ->values(array( | |
22613 'lid' => '1685', | |
22614 'location' => 'field:page-field_reference_2:widget_label', | |
22615 'textgroup' => 'cck', | |
22616 'source' => 'Reference', | |
22617 'version' => '1', | |
22618 )) | |
22619 ->values(array( | |
22620 'lid' => '1686', | |
22621 'location' => 'field:story-field_test_string_selectlist:widget_label', | |
22622 'textgroup' => 'cck', | |
22623 'source' => 'String Select List Field', | |
22624 'version' => '1', | |
22625 )) | |
22626 ->values(array( | |
22627 'lid' => '1689', | |
22628 'location' => 'field:test_planet-field_test_text_single_checkbox:widget_label', | |
22629 'textgroup' => 'cck', | |
22630 'source' => 'Text Single Checkbox Field', | |
22631 'version' => '1', | |
22632 )) | |
22633 ->values(array( | |
22634 'lid' => '1690', | |
22635 'location' => 'field:field_test_string_selectlist:option_A', | |
22636 'textgroup' => 'cck', | |
22637 'source' => 'Black', | |
22638 'version' => '1', | |
22639 )) | |
22640 ->values(array( | |
22641 'lid' => '1691', | |
22642 'location' => 'field:field_test_string_selectlist:option_B', | |
22643 'textgroup' => 'cck', | |
22644 'source' => 'White', | |
22645 'version' => '1', | |
22646 )) | |
22647 ->values(array( | |
22648 'lid' => '1692', | |
22649 'location' => 'term:14:name', | |
22650 'textgroup' => 'taxonomy', | |
22651 'source' => 'Talos IV', | |
22652 'version' => '1', | |
22653 )) | |
22654 ->values(array( | |
22655 'lid' => '1693', | |
22656 'location' => 'term:15:name', | |
22657 'textgroup' => 'taxonomy', | |
22658 'source' => 'Vulcan', | |
22659 'version' => '1', | |
22660 )) | |
22661 ->values(array( | |
22662 'lid' => '1694', | |
22663 'location' => 'term:14:description', | |
22664 'textgroup' => 'taxonomy', | |
22665 'source' => 'The home of Captain Christopher Pike.', | |
22666 'version' => '1', | |
22667 )) | |
22668 ->values(array( | |
22669 'lid' => '1695', | |
22670 'location' => 'field:profile_:title', | |
22671 'textgroup' => 'profile', | |
22672 'source' => 'Number of trees', | |
22673 'version' => '1', | |
22674 )) | |
22675 ->values(array( | |
22676 'lid' => '1696', | |
22677 'location' => 'field:profile_:options', | |
22678 'textgroup' => 'profile', | |
22679 'source' => "10\r\n20\r\n50\r\n100\r\n1000", | |
22680 'version' => '1', | |
22681 )) | |
22360 ->execute(); | 22682 ->execute(); |
22361 | |
22362 $connection->schema()->createTable('locales_target', array( | 22683 $connection->schema()->createTable('locales_target', array( |
22363 'fields' => array( | 22684 'fields' => array( |
22364 'lid' => array( | 22685 'lid' => array( |
22365 'type' => 'int', | 22686 'type' => 'int', |
22366 'not null' => TRUE, | 22687 'not null' => TRUE, |
26961 'plural' => '0', | 27282 'plural' => '0', |
26962 'i18n_status' => '0', | 27283 'i18n_status' => '0', |
26963 )) | 27284 )) |
26964 ->values(array( | 27285 ->values(array( |
26965 'lid' => '575', | 27286 'lid' => '575', |
26966 'translation' => 'fr - An example text field.', | 27287 'translation' => 'fr - An example text field.', |
26967 'language' => 'fr', | 27288 'language' => 'fr', |
26968 'plid' => '0', | 27289 'plid' => '0', |
26969 'plural' => '0', | 27290 'plural' => '0', |
26970 'i18n_status' => '0', | 27291 'i18n_status' => '0', |
26971 )) | 27292 )) |
27073 'plural' => '0', | 27394 'plural' => '0', |
27074 'i18n_status' => '0', | 27395 'i18n_status' => '0', |
27075 )) | 27396 )) |
27076 ->values(array( | 27397 ->values(array( |
27077 'lid' => '589', | 27398 'lid' => '589', |
27078 'translation' => 'fr - An example image field.', | 27399 'translation' => 'fr - An example file field.', |
27079 'language' => 'fr', | 27400 'language' => 'fr', |
27080 'plid' => '0', | 27401 'plid' => '0', |
27081 'plural' => '0', | 27402 'plural' => '0', |
27082 'i18n_status' => '0', | 27403 'i18n_status' => '0', |
27083 )) | 27404 )) |
27192 'plid' => '0', | 27513 'plid' => '0', |
27193 'plural' => '0', | 27514 'plural' => '0', |
27194 'i18n_status' => '0', | 27515 'i18n_status' => '0', |
27195 )) | 27516 )) |
27196 ->values(array( | 27517 ->values(array( |
27518 'lid' => '607', | |
27519 'translation' => 'fr - 1.234', | |
27520 'language' => 'fr', | |
27521 'plid' => '0', | |
27522 'plural' => '0', | |
27523 'i18n_status' => '0', | |
27524 )) | |
27525 ->values(array( | |
27197 'lid' => '608', | 27526 'lid' => '608', |
27198 'translation' => 'fr - Integer Select List Field', | 27527 'translation' => 'fr - Integer Select List Field', |
27199 'language' => 'fr', | 27528 'language' => 'fr', |
27200 'plid' => '0', | 27529 'plid' => '0', |
27201 'plural' => '0', | 27530 'plural' => '0', |
27208 'plid' => '0', | 27537 'plid' => '0', |
27209 'plural' => '0', | 27538 'plural' => '0', |
27210 'i18n_status' => '0', | 27539 'i18n_status' => '0', |
27211 )) | 27540 )) |
27212 ->values(array( | 27541 ->values(array( |
27542 'lid' => '611', | |
27543 'translation' => 'fr - 2341', | |
27544 'language' => 'fr', | |
27545 'plid' => '0', | |
27546 'plural' => '0', | |
27547 'i18n_status' => '0', | |
27548 )) | |
27549 ->values(array( | |
27550 'lid' => '613', | |
27551 'translation' => 'fr - 4123', | |
27552 'language' => 'fr', | |
27553 'plid' => '0', | |
27554 'plural' => '0', | |
27555 'i18n_status' => '0', | |
27556 )) | |
27557 ->values(array( | |
27213 'lid' => '614', | 27558 'lid' => '614', |
27214 'translation' => 'fr - Text Single Checkbox Field', | 27559 'translation' => 'fr - Text Single Checkbox Field', |
27215 'language' => 'fr', | 27560 'language' => 'fr', |
27216 'plid' => '0', | 27561 'plid' => '0', |
27217 'plural' => '0', | 27562 'plural' => '0', |
27298 'i18n_status' => '0', | 27643 'i18n_status' => '0', |
27299 )) | 27644 )) |
27300 ->values(array( | 27645 ->values(array( |
27301 'lid' => '625', | 27646 'lid' => '625', |
27302 'translation' => 'Un exemple plusieurs valeurs champ décimal.', | 27647 'translation' => 'Un exemple plusieurs valeurs champ décimal.', |
27303 'language' => 'fr', | |
27304 'plid' => '0', | |
27305 'plural' => '0', | |
27306 'i18n_status' => '0', | |
27307 )) | |
27308 ->values(array( | |
27309 'lid' => '626', | |
27310 'translation' => 'fr - Text Single Checkbox Field', | |
27311 'language' => 'fr', | 27648 'language' => 'fr', |
27312 'plid' => '0', | 27649 'plid' => '0', |
27313 'plural' => '0', | 27650 'plural' => '0', |
27314 'i18n_status' => '0', | 27651 'i18n_status' => '0', |
27315 )) | 27652 )) |
27488 'plid' => '0', | 27825 'plid' => '0', |
27489 'plural' => '0', | 27826 'plural' => '0', |
27490 'i18n_status' => '0', | 27827 'i18n_status' => '0', |
27491 )) | 27828 )) |
27492 ->values(array( | 27829 ->values(array( |
27830 'lid' => '607', | |
27831 'translation' => 'zu - 1.234', | |
27832 'language' => 'zu', | |
27833 'plid' => '0', | |
27834 'plural' => '0', | |
27835 'i18n_status' => '0', | |
27836 )) | |
27837 ->values(array( | |
27838 'lid' => '611', | |
27839 'translation' => 'zu - 2341', | |
27840 'language' => 'zu', | |
27841 'plid' => '0', | |
27842 'plural' => '0', | |
27843 'i18n_status' => '0', | |
27844 )) | |
27845 ->values(array( | |
27493 'lid' => '621', | 27846 'lid' => '621', |
27494 'translation' => 'zu - Hello', | 27847 'translation' => 'zu - Hello', |
27495 'language' => 'zu', | 27848 'language' => 'zu', |
27496 'plid' => '0', | 27849 'plid' => '0', |
27497 'plural' => '0', | 27850 'plural' => '0', |
27503 'language' => 'zu', | 27856 'language' => 'zu', |
27504 'plid' => '0', | 27857 'plid' => '0', |
27505 'plural' => '0', | 27858 'plural' => '0', |
27506 'i18n_status' => '0', | 27859 'i18n_status' => '0', |
27507 )) | 27860 )) |
27861 ->values(array( | |
27862 'lid' => '1672', | |
27863 'translation' => 'zu - Type', | |
27864 'language' => 'zu', | |
27865 'plid' => '0', | |
27866 'plural' => '0', | |
27867 'i18n_status' => '0', | |
27868 )) | |
27869 ->values(array( | |
27870 'lid' => '1690', | |
27871 'translation' => 'Okumnyama', | |
27872 'language' => 'zu', | |
27873 'plid' => '0', | |
27874 'plural' => '0', | |
27875 'i18n_status' => '0', | |
27876 )) | |
27877 ->values(array( | |
27878 'lid' => '1690', | |
27879 'translation' => 'Noir', | |
27880 'language' => 'fr', | |
27881 'plid' => '0', | |
27882 'plural' => '0', | |
27883 'i18n_status' => '0', | |
27884 )) | |
27885 ->values(array( | |
27886 'lid' => '1691', | |
27887 'translation' => 'Mhlophe', | |
27888 'language' => 'zu', | |
27889 'plid' => '0', | |
27890 'plural' => '0', | |
27891 'i18n_status' => '0', | |
27892 )) | |
27893 ->values(array( | |
27894 'lid' => '1672', | |
27895 'translation' => 'fr - Type', | |
27896 'language' => 'fr', | |
27897 'plid' => '0', | |
27898 'plural' => '0', | |
27899 'i18n_status' => '0', | |
27900 )) | |
27901 ->values(array( | |
27902 'lid' => '1692', | |
27903 'translation' => 'fr - Talos IV', | |
27904 'language' => 'fr', | |
27905 'plid' => '0', | |
27906 'plural' => '0', | |
27907 'i18n_status' => '0', | |
27908 )) | |
27909 ->values(array( | |
27910 'lid' => '1693', | |
27911 'translation' => 'zu - Vulcan', | |
27912 'language' => 'zu', | |
27913 'plid' => '0', | |
27914 'plural' => '0', | |
27915 'i18n_status' => '0', | |
27916 )) | |
27917 ->values(array( | |
27918 'lid' => '1694', | |
27919 'translation' => 'zu - The home of Captain Christopher Pike.', | |
27920 'language' => 'zu', | |
27921 'plid' => '0', | |
27922 'plural' => '0', | |
27923 'i18n_status' => '0', | |
27924 )) | |
27925 ->values(array( | |
27926 'lid' => '1694', | |
27927 'translation' => 'fr - The home of Captain Christopher Pike.', | |
27928 'language' => 'fr', | |
27929 'plid' => '0', | |
27930 'plural' => '0', | |
27931 'i18n_status' => '0', | |
27932 )) | |
27933 ->values(array( | |
27934 'lid' => '1696', | |
27935 'translation' => "fr - 10\r\nfr - 20\r\nfr - 50\r\nfr - 100\r\nfr - 1000", | |
27936 'language' => 'fr', | |
27937 'plid' => '0', | |
27938 'plural' => '0', | |
27939 'i18n_status' => '0', | |
27940 )) | |
27508 ->execute(); | 27941 ->execute(); |
27509 | |
27510 $connection->schema()->createTable('menu_custom', array( | 27942 $connection->schema()->createTable('menu_custom', array( |
27511 'fields' => array( | 27943 'fields' => array( |
27512 'menu_name' => array( | 27944 'menu_name' => array( |
27513 'type' => 'varchar', | 27945 'type' => 'varchar', |
27514 'not null' => TRUE, | 27946 'not null' => TRUE, |
27553 'menu_name' => 'secondary-links', | 27985 'menu_name' => 'secondary-links', |
27554 'title' => 'Secondary links', | 27986 'title' => 'Secondary links', |
27555 'description' => 'Secondary links are often used for pages like legal notices, contact details, and other secondary navigation items that play a lesser role than primary links', | 27987 'description' => 'Secondary links are often used for pages like legal notices, contact details, and other secondary navigation items that play a lesser role than primary links', |
27556 )) | 27988 )) |
27557 ->execute(); | 27989 ->execute(); |
27558 | |
27559 $connection->schema()->createTable('menu_links', array( | 27990 $connection->schema()->createTable('menu_links', array( |
27560 'fields' => array( | 27991 'fields' => array( |
27561 'menu_name' => array( | 27992 'menu_name' => array( |
27562 'type' => 'varchar', | 27993 'type' => 'varchar', |
27563 'not null' => TRUE, | 27994 'not null' => TRUE, |
34042 'p8' => '0', | 34473 'p8' => '0', |
34043 'p9' => '0', | 34474 'p9' => '0', |
34044 'updated' => '0', | 34475 'updated' => '0', |
34045 )) | 34476 )) |
34046 ->execute(); | 34477 ->execute(); |
34047 | |
34048 $connection->schema()->createTable('menu_router', array( | 34478 $connection->schema()->createTable('menu_router', array( |
34049 'fields' => array( | 34479 'fields' => array( |
34050 'path' => array( | 34480 'path' => array( |
34051 'type' => 'varchar', | 34481 'type' => 'varchar', |
34052 'not null' => TRUE, | 34482 'not null' => TRUE, |
40592 'position' => '', | 41022 'position' => '', |
40593 'weight' => '0', | 41023 'weight' => '0', |
40594 'file' => 'sites/all/modules/i18n/i18n.admin.inc', | 41024 'file' => 'sites/all/modules/i18n/i18n.admin.inc', |
40595 )) | 41025 )) |
40596 ->values(array( | 41026 ->values(array( |
41027 'path' => 'admin/settings/language/i18n/variables', | |
41028 'load_functions' => '', | |
41029 'to_arg_functions' => '', | |
41030 'access_callback' => 'user_access', | |
41031 'access_arguments' => 'a:1:{i:0;s:29:"administer site configuration";}', | |
41032 'page_callback' => 'drupal_get_form', | |
41033 'page_arguments' => 'a:1:{i:0;s:25:"i18n_admin_variables_form";}', | |
41034 'fit' => '31', | |
41035 'number_parts' => '5', | |
41036 'tab_parent' => 'admin/settings/language/i18n', | |
41037 'tab_root' => 'admin/settings/language', | |
41038 'title' => 'Variables', | |
41039 'title_callback' => 't', | |
41040 'title_arguments' => '', | |
41041 'type' => '128', | |
41042 'block_callback' => '', | |
41043 'description' => 'Multilingual variables.', | |
41044 'position' => '', | |
41045 'weight' => '0', | |
41046 'file' => 'sites/all/modules/i18n/i18n.admin.inc', | |
41047 )) | |
41048 ->values(array( | |
40597 'path' => 'admin/settings/language/overview', | 41049 'path' => 'admin/settings/language/overview', |
40598 'load_functions' => '', | 41050 'load_functions' => '', |
40599 'to_arg_functions' => '', | 41051 'to_arg_functions' => '', |
40600 'access_callback' => 'user_access', | 41052 'access_callback' => 'user_access', |
40601 'access_arguments' => 'a:1:{i:0;s:20:"administer languages";}', | 41053 'access_arguments' => 'a:1:{i:0;s:20:"administer languages";}', |
43232 'position' => '', | 43684 'position' => '', |
43233 'weight' => '0', | 43685 'weight' => '0', |
43234 'file' => '', | 43686 'file' => '', |
43235 )) | 43687 )) |
43236 ->execute(); | 43688 ->execute(); |
43237 | |
43238 $connection->schema()->createTable('node', array( | 43689 $connection->schema()->createTable('node', array( |
43239 'fields' => array( | 43690 'fields' => array( |
43240 'nid' => array( | 43691 'nid' => array( |
43241 'type' => 'serial', | 43692 'type' => 'serial', |
43242 'not null' => TRUE, | 43693 'not null' => TRUE, |
43692 'moderate' => '0', | 44143 'moderate' => '0', |
43693 'sticky' => '0', | 44144 'sticky' => '0', |
43694 'tnid' => '12', | 44145 'tnid' => '12', |
43695 'translate' => '0', | 44146 'translate' => '0', |
43696 )) | 44147 )) |
44148 ->values(array( | |
44149 'nid' => '21', | |
44150 'vid' => '2002', | |
44151 'type' => 'employee', | |
44152 'language' => 'en', | |
44153 'title' => 'John Smith - EN', | |
44154 'uid' => '1', | |
44155 'status' => '1', | |
44156 'created' => '1534014650', | |
44157 'changed' => '1534014650', | |
44158 'comment' => '2', | |
44159 'promote' => '1', | |
44160 'moderate' => '0', | |
44161 'sticky' => '0', | |
44162 'tnid' => '21', | |
44163 'translate' => '0', | |
44164 )) | |
44165 ->values(array( | |
44166 'nid' => '22', | |
44167 'vid' => '2003', | |
44168 'type' => 'employee', | |
44169 'language' => 'fr', | |
44170 'title' => 'John Smith - FR', | |
44171 'uid' => '1', | |
44172 'status' => '1', | |
44173 'created' => '1534014687', | |
44174 'changed' => '1534014687', | |
44175 'comment' => '2', | |
44176 'promote' => '1', | |
44177 'moderate' => '0', | |
44178 'sticky' => '0', | |
44179 'tnid' => '21', | |
44180 'translate' => '0', | |
44181 )) | |
43697 ->execute(); | 44182 ->execute(); |
43698 | |
43699 $connection->schema()->createTable('node_access', array( | 44183 $connection->schema()->createTable('node_access', array( |
43700 'fields' => array( | 44184 'fields' => array( |
43701 'nid' => array( | 44185 'nid' => array( |
43702 'type' => 'int', | 44186 'type' => 'int', |
43703 'not null' => TRUE, | 44187 'not null' => TRUE, |
43764 'grant_view' => '1', | 44248 'grant_view' => '1', |
43765 'grant_update' => '0', | 44249 'grant_update' => '0', |
43766 'grant_delete' => '0', | 44250 'grant_delete' => '0', |
43767 )) | 44251 )) |
43768 ->execute(); | 44252 ->execute(); |
43769 | |
43770 $connection->schema()->createTable('node_comment_statistics', array( | 44253 $connection->schema()->createTable('node_comment_statistics', array( |
43771 'fields' => array( | 44254 'fields' => array( |
43772 'nid' => array( | 44255 'nid' => array( |
43773 'type' => 'int', | 44256 'type' => 'int', |
43774 'not null' => TRUE, | 44257 'not null' => TRUE, |
43898 'last_comment_timestamp' => '1501955803', | 44381 'last_comment_timestamp' => '1501955803', |
43899 'last_comment_name' => '', | 44382 'last_comment_name' => '', |
43900 'last_comment_uid' => '1', | 44383 'last_comment_uid' => '1', |
43901 'comment_count' => '3', | 44384 'comment_count' => '3', |
43902 )) | 44385 )) |
44386 ->values(array( | |
44387 'nid' => '21', | |
44388 'last_comment_timestamp' => '1534014729', | |
44389 'last_comment_name' => '', | |
44390 'last_comment_uid' => '1', | |
44391 'comment_count' => '1', | |
44392 )) | |
44393 ->values(array( | |
44394 'nid' => '22', | |
44395 'last_comment_timestamp' => '1534014763', | |
44396 'last_comment_name' => '', | |
44397 'last_comment_uid' => '1', | |
44398 'comment_count' => '1', | |
44399 )) | |
43903 ->execute(); | 44400 ->execute(); |
43904 | |
43905 $connection->schema()->createTable('node_counter', array( | 44401 $connection->schema()->createTable('node_counter', array( |
43906 'fields' => array( | 44402 'fields' => array( |
43907 'nid' => array( | 44403 'nid' => array( |
43908 'type' => 'int', | 44404 'type' => 'int', |
43909 'not null' => TRUE, | 44405 'not null' => TRUE, |
44033 'nid' => '19', | 44529 'nid' => '19', |
44034 'totalcount' => '4', | 44530 'totalcount' => '4', |
44035 'daycount' => '4', | 44531 'daycount' => '4', |
44036 'timestamp' => '1501955803', | 44532 'timestamp' => '1501955803', |
44037 )) | 44533 )) |
44534 ->values(array( | |
44535 'nid' => '21', | |
44536 'totalcount' => '3', | |
44537 'daycount' => '3', | |
44538 'timestamp' => '1534014729', | |
44539 )) | |
44540 ->values(array( | |
44541 'nid' => '22', | |
44542 'totalcount' => '3', | |
44543 'daycount' => '3', | |
44544 'timestamp' => '1534014763', | |
44545 )) | |
44038 ->execute(); | 44546 ->execute(); |
44039 | |
44040 $connection->schema()->createTable('node_revisions', array( | 44547 $connection->schema()->createTable('node_revisions', array( |
44041 'fields' => array( | 44548 'fields' => array( |
44042 'nid' => array( | 44549 'nid' => array( |
44043 'type' => 'int', | 44550 'type' => 'int', |
44044 'not null' => TRUE, | 44551 'not null' => TRUE, |
44120 'log' => '', | 44627 'log' => '', |
44121 'timestamp' => '1420861423', | 44628 'timestamp' => '1420861423', |
44122 'format' => '1', | 44629 'format' => '1', |
44123 )) | 44630 )) |
44124 ->values(array( | 44631 ->values(array( |
44125 'nid' => '1', | |
44126 'vid' => '2', | |
44127 'uid' => '2', | |
44128 'title' => 'Test title rev 2', | |
44129 'body' => 'body test rev 2', | |
44130 'teaser' => 'teaser test rev 2', | |
44131 'log' => 'modified rev 2', | |
44132 'timestamp' => '1390095702', | |
44133 'format' => '1', | |
44134 )) | |
44135 ->values(array( | |
44136 'nid' => '2', | 44632 'nid' => '2', |
44137 'vid' => '3', | 44633 'vid' => '3', |
44138 'uid' => '1', | 44634 'uid' => '1', |
44139 'title' => 'Test title rev 3', | 44635 'title' => 'Test title rev 3', |
44140 'body' => 'test rev 3', | 44636 'body' => 'test rev 3', |
44361 'teaser' => 'Le peuple zoulou.', | 44857 'teaser' => 'Le peuple zoulou.', |
44362 'log' => '', | 44858 'log' => '', |
44363 'timestamp' => '1520613305', | 44859 'timestamp' => '1520613305', |
44364 'format' => '1', | 44860 'format' => '1', |
44365 )) | 44861 )) |
44862 ->values(array( | |
44863 'nid' => '1', | |
44864 'vid' => '2001', | |
44865 'uid' => '2', | |
44866 'title' => 'Test title rev 2', | |
44867 'body' => 'body test rev 2', | |
44868 'teaser' => 'teaser test rev 2', | |
44869 'log' => 'modified rev 2', | |
44870 'timestamp' => '1390095702', | |
44871 'format' => '1', | |
44872 )) | |
44873 ->values(array( | |
44874 'nid' => '21', | |
44875 'vid' => '2002', | |
44876 'uid' => '1', | |
44877 'title' => 'John Smith - EN', | |
44878 'body' => 'This is an English Bio text for employee John Smith. There is also a French translation to this node. Both language versions have comments.', | |
44879 'teaser' => 'This is an English Bio text for employee John Smith. There is also a French translation to this node. Both language versions have comments.', | |
44880 'log' => '', | |
44881 'timestamp' => '1534014650', | |
44882 'format' => '1', | |
44883 )) | |
44884 ->values(array( | |
44885 'nid' => '22', | |
44886 'vid' => '2003', | |
44887 'uid' => '1', | |
44888 'title' => 'John Smith - FR', | |
44889 'body' => 'This is a French Bio text for employee John Smith. The original node is in English. Both language versions have comments.', | |
44890 'teaser' => 'This is a French Bio text for employee John Smith. The original node is in English. Both language versions have comments.', | |
44891 'log' => '', | |
44892 'timestamp' => '1534014687', | |
44893 'format' => '1', | |
44894 )) | |
44366 ->execute(); | 44895 ->execute(); |
44367 | |
44368 $connection->schema()->createTable('node_type', array( | 44896 $connection->schema()->createTable('node_type', array( |
44369 'fields' => array( | 44897 'fields' => array( |
44370 'type' => array( | 44898 'type' => array( |
44371 'type' => 'varchar', | 44899 'type' => 'varchar', |
44372 'not null' => TRUE, | 44900 'not null' => TRUE, |
44662 'modified' => '1', | 45190 'modified' => '1', |
44663 'locked' => '0', | 45191 'locked' => '0', |
44664 'orig_type' => 'test_story', | 45192 'orig_type' => 'test_story', |
44665 )) | 45193 )) |
44666 ->execute(); | 45194 ->execute(); |
44667 | |
44668 $connection->schema()->createTable('permission', array( | 45195 $connection->schema()->createTable('permission', array( |
44669 'fields' => array( | 45196 'fields' => array( |
44670 'pid' => array( | 45197 'pid' => array( |
44671 'type' => 'serial', | 45198 'type' => 'serial', |
44672 'not null' => TRUE, | 45199 'not null' => TRUE, |
44728 'rid' => '4', | 45255 'rid' => '4', |
44729 'perm' => 'migrate test role 2 test permission, use PHP for settings, administer contact forms, skip comment approval, edit own blog content, edit any blog content, delete own blog content, delete any blog content, create forum content, delete any forum content, delete own forum content, edit any forum content, edit own forum content, administer nodes', | 45256 'perm' => 'migrate test role 2 test permission, use PHP for settings, administer contact forms, skip comment approval, edit own blog content, edit any blog content, delete own blog content, delete any blog content, create forum content, delete any forum content, delete own forum content, edit any forum content, edit own forum content, administer nodes', |
44730 'tid' => '0', | 45257 'tid' => '0', |
44731 )) | 45258 )) |
44732 ->execute(); | 45259 ->execute(); |
44733 | |
44734 $connection->schema()->createTable('profile_fields', array( | 45260 $connection->schema()->createTable('profile_fields', array( |
44735 'fields' => array( | 45261 'fields' => array( |
44736 'fid' => array( | 45262 'fid' => array( |
44737 'type' => 'serial', | 45263 'type' => 'serial', |
44738 'not null' => TRUE, | 45264 'not null' => TRUE, |
44960 'register' => '0', | 45486 'register' => '0', |
44961 'visibility' => '2', | 45487 'visibility' => '2', |
44962 'autocomplete' => '0', | 45488 'autocomplete' => '0', |
44963 'options' => '', | 45489 'options' => '', |
44964 )) | 45490 )) |
45491 ->values(array( | |
45492 'fid' => '17', | |
45493 'title' => 'Number of trees', | |
45494 'name' => 'profile_count_trees', | |
45495 'explanation' => '', | |
45496 'category' => 'Personal information', | |
45497 'page' => '', | |
45498 'type' => 'selection', | |
45499 'weight' => '0', | |
45500 'required' => '0', | |
45501 'register' => '0', | |
45502 'visibility' => '2', | |
45503 'autocomplete' => '0', | |
45504 'options' => "10\r\n20\r\n50\r\n100\r\n1000", | |
45505 )) | |
44965 ->execute(); | 45506 ->execute(); |
44966 | |
44967 $connection->schema()->createTable('profile_values', array( | 45507 $connection->schema()->createTable('profile_values', array( |
44968 'fields' => array( | 45508 'fields' => array( |
44969 'fid' => array( | 45509 'fid' => array( |
44970 'type' => 'int', | 45510 'type' => 'int', |
44971 'not null' => TRUE, | 45511 'not null' => TRUE, |
45178 'fid' => '15', | 45718 'fid' => '15', |
45179 'uid' => '2', | 45719 'uid' => '2', |
45180 'value' => '1', | 45720 'value' => '1', |
45181 )) | 45721 )) |
45182 ->execute(); | 45722 ->execute(); |
45183 | |
45184 $connection->schema()->createTable('role', array( | 45723 $connection->schema()->createTable('role', array( |
45185 'fields' => array( | 45724 'fields' => array( |
45186 'rid' => array( | 45725 'rid' => array( |
45187 'type' => 'serial', | 45726 'type' => 'serial', |
45188 'not null' => TRUE, | 45727 'not null' => TRUE, |
45226 ->values(array( | 45765 ->values(array( |
45227 'rid' => '5', | 45766 'rid' => '5', |
45228 'name' => 'migrate test role 3 that is longer than thirty two characters', | 45767 'name' => 'migrate test role 3 that is longer than thirty two characters', |
45229 )) | 45768 )) |
45230 ->execute(); | 45769 ->execute(); |
45231 | |
45232 $connection->schema()->createTable('semaphore', array( | 45770 $connection->schema()->createTable('semaphore', array( |
45233 'fields' => array( | 45771 'fields' => array( |
45234 'name' => array( | 45772 'name' => array( |
45235 'type' => 'varchar', | 45773 'type' => 'varchar', |
45236 'not null' => TRUE, | 45774 'not null' => TRUE, |
46532 'schema_version' => '-1', | 47070 'schema_version' => '-1', |
46533 'weight' => '0', | 47071 'weight' => '0', |
46534 'info' => 'a:13:{s:4:"name";s:10:"Pushbutton";s:11:"description";s:52:"Tabled, multi-column theme in blue and orange tones.";s:7:"version";s:4:"6.38";s:4:"core";s:3:"6.x";s:6:"engine";s:11:"phptemplate";s:7:"project";s:6:"drupal";s:9:"datestamp";s:10:"1456343372";s:7:"regions";a:5:{s:4:"left";s:12:"Left sidebar";s:5:"right";s:13:"Right sidebar";s:7:"content";s:7:"Content";s:6:"header";s:6:"Header";s:6:"footer";s:6:"Footer";}s:8:"features";a:10:{i:0;s:20:"comment_user_picture";i:1;s:7:"favicon";i:2;s:7:"mission";i:3;s:4:"logo";i:4;s:4:"name";i:5;s:17:"node_user_picture";i:6;s:6:"search";i:7;s:6:"slogan";i:8;s:13:"primary_links";i:9;s:15:"secondary_links";}s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:9:"style.css";s:27:"themes/pushbutton/style.css";}}s:7:"scripts";a:1:{s:9:"script.js";s:27:"themes/pushbutton/script.js";}s:10:"screenshot";s:32:"themes/pushbutton/screenshot.png";s:3:"php";s:5:"4.3.5";}', | 47072 'info' => 'a:13:{s:4:"name";s:10:"Pushbutton";s:11:"description";s:52:"Tabled, multi-column theme in blue and orange tones.";s:7:"version";s:4:"6.38";s:4:"core";s:3:"6.x";s:6:"engine";s:11:"phptemplate";s:7:"project";s:6:"drupal";s:9:"datestamp";s:10:"1456343372";s:7:"regions";a:5:{s:4:"left";s:12:"Left sidebar";s:5:"right";s:13:"Right sidebar";s:7:"content";s:7:"Content";s:6:"header";s:6:"Header";s:6:"footer";s:6:"Footer";}s:8:"features";a:10:{i:0;s:20:"comment_user_picture";i:1;s:7:"favicon";i:2;s:7:"mission";i:3;s:4:"logo";i:4;s:4:"name";i:5;s:17:"node_user_picture";i:6;s:6:"search";i:7;s:6:"slogan";i:8;s:13:"primary_links";i:9;s:15:"secondary_links";}s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:9:"style.css";s:27:"themes/pushbutton/style.css";}}s:7:"scripts";a:1:{s:9:"script.js";s:27:"themes/pushbutton/script.js";}s:10:"screenshot";s:32:"themes/pushbutton/screenshot.png";s:3:"php";s:5:"4.3.5";}', |
46535 )) | 47073 )) |
46536 ->execute(); | 47074 ->execute(); |
46537 | |
46538 $connection->schema()->createTable('term_data', array( | 47075 $connection->schema()->createTable('term_data', array( |
46539 'fields' => array( | 47076 'fields' => array( |
46540 'tid' => array( | 47077 'tid' => array( |
46541 'type' => 'serial', | 47078 'type' => 'serial', |
46542 'not null' => TRUE, | 47079 'not null' => TRUE, |
46666 'description' => '', | 47203 'description' => '', |
46667 'weight' => '0', | 47204 'weight' => '0', |
46668 'language' => '', | 47205 'language' => '', |
46669 'trid' => '0', | 47206 'trid' => '0', |
46670 )) | 47207 )) |
47208 ->values(array( | |
47209 'tid' => '9', | |
47210 'vid' => '3', | |
47211 'name' => 'fr - term 4 of vocabulary 3', | |
47212 'description' => '', | |
47213 'weight' => '0', | |
47214 'language' => 'fr', | |
47215 'trid' => '1', | |
47216 )) | |
47217 ->values(array( | |
47218 'tid' => '10', | |
47219 'vid' => '3', | |
47220 'name' => 'zu - term 4 of vocabulary 3', | |
47221 'description' => '', | |
47222 'weight' => '0', | |
47223 'language' => 'zu', | |
47224 'trid' => '1', | |
47225 )) | |
47226 ->values(array( | |
47227 'tid' => '11', | |
47228 'vid' => '3', | |
47229 'name' => 'term 7 of vocabulary 3', | |
47230 'description' => '', | |
47231 'weight' => '0', | |
47232 'language' => 'en', | |
47233 'trid' => '2', | |
47234 )) | |
47235 ->values(array( | |
47236 'tid' => '12', | |
47237 'vid' => '3', | |
47238 'name' => 'fr - term 7 of vocabulary 3', | |
47239 'description' => '', | |
47240 'weight' => '0', | |
47241 'language' => 'fr', | |
47242 'trid' => '2', | |
47243 )) | |
47244 ->values(array( | |
47245 'tid' => '13', | |
47246 'vid' => '3', | |
47247 'name' => 'zu - term 7 of vocabulary 3', | |
47248 'description' => '', | |
47249 'weight' => '0', | |
47250 'language' => 'zu', | |
47251 'trid' => '2', | |
47252 )) | |
47253 ->values(array( | |
47254 'tid' => '14', | |
47255 'vid' => '5', | |
47256 'name' => 'Talos IV', | |
47257 'description' => 'The home of Captain Christopher Pike.', | |
47258 'weight' => '0', | |
47259 'language' => '', | |
47260 'trid' => '0', | |
47261 )) | |
47262 ->values(array( | |
47263 'tid' => '15', | |
47264 'vid' => '5', | |
47265 'name' => 'Vulcan', | |
47266 'description' => '', | |
47267 'weight' => '0', | |
47268 'language' => '', | |
47269 'trid' => '0', | |
47270 )) | |
46671 ->execute(); | 47271 ->execute(); |
46672 | |
46673 $connection->schema()->createTable('term_hierarchy', array( | 47272 $connection->schema()->createTable('term_hierarchy', array( |
46674 'fields' => array( | 47273 'fields' => array( |
46675 'tid' => array( | 47274 'tid' => array( |
46676 'type' => 'int', | 47275 'type' => 'int', |
46677 'not null' => TRUE, | 47276 'not null' => TRUE, |
46718 ->values(array( | 47317 ->values(array( |
46719 'tid' => '8', | 47318 'tid' => '8', |
46720 'parent' => '0', | 47319 'parent' => '0', |
46721 )) | 47320 )) |
46722 ->values(array( | 47321 ->values(array( |
47322 'tid' => '9', | |
47323 'parent' => '0', | |
47324 )) | |
47325 ->values(array( | |
47326 'tid' => '10', | |
47327 'parent' => '0', | |
47328 )) | |
47329 ->values(array( | |
47330 'tid' => '11', | |
47331 'parent' => '0', | |
47332 )) | |
47333 ->values(array( | |
47334 'tid' => '12', | |
47335 'parent' => '0', | |
47336 )) | |
47337 ->values(array( | |
47338 'tid' => '13', | |
47339 'parent' => '0', | |
47340 )) | |
47341 ->values(array( | |
47342 'tid' => '14', | |
47343 'parent' => '0', | |
47344 )) | |
47345 ->values(array( | |
47346 'tid' => '15', | |
47347 'parent' => '0', | |
47348 )) | |
47349 ->values(array( | |
46723 'tid' => '3', | 47350 'tid' => '3', |
46724 'parent' => '2', | 47351 'parent' => '2', |
46725 )) | 47352 )) |
46726 ->values(array( | 47353 ->values(array( |
46727 'tid' => '5', | 47354 'tid' => '5', |
46734 ->values(array( | 47361 ->values(array( |
46735 'tid' => '6', | 47362 'tid' => '6', |
46736 'parent' => '5', | 47363 'parent' => '5', |
46737 )) | 47364 )) |
46738 ->execute(); | 47365 ->execute(); |
46739 | |
46740 $connection->schema()->createTable('term_node', array( | 47366 $connection->schema()->createTable('term_node', array( |
46741 'fields' => array( | 47367 'fields' => array( |
46742 'nid' => array( | 47368 'nid' => array( |
46743 'type' => 'int', | 47369 'type' => 'int', |
46744 'not null' => TRUE, | 47370 'not null' => TRUE, |
46794 'vid' => '3', | 47420 'vid' => '3', |
46795 'tid' => '3', | 47421 'tid' => '3', |
46796 )) | 47422 )) |
46797 ->values(array( | 47423 ->values(array( |
46798 'nid' => '1', | 47424 'nid' => '1', |
46799 'vid' => '2', | 47425 'vid' => '2001', |
46800 'tid' => '4', | 47426 'tid' => '4', |
46801 )) | 47427 )) |
46802 ->values(array( | 47428 ->values(array( |
46803 'nid' => '1', | 47429 'nid' => '1', |
46804 'vid' => '2', | 47430 'vid' => '2001', |
46805 'tid' => '5', | 47431 'tid' => '5', |
46806 )) | 47432 )) |
46807 ->values(array( | 47433 ->values(array( |
46808 'nid' => '19', | 47434 'nid' => '19', |
46809 'vid' => '22', | 47435 'vid' => '22', |
46810 'tid' => '8', | 47436 'tid' => '8', |
46811 )) | 47437 )) |
46812 ->execute(); | 47438 ->execute(); |
46813 | |
46814 $connection->schema()->createTable('term_relation', array( | 47439 $connection->schema()->createTable('term_relation', array( |
46815 'fields' => array( | 47440 'fields' => array( |
46816 'trid' => array( | 47441 'trid' => array( |
46817 'type' => 'serial', | 47442 'type' => 'serial', |
46818 'not null' => TRUE, | 47443 'not null' => TRUE, |
46972 'description' => 'file 12-15-3', | 47597 'description' => 'file 12-15-3', |
46973 'list' => '0', | 47598 'list' => '0', |
46974 'weight' => '0', | 47599 'weight' => '0', |
46975 )) | 47600 )) |
46976 ->execute(); | 47601 ->execute(); |
46977 | |
46978 $connection->schema()->createTable('url_alias', array( | 47602 $connection->schema()->createTable('url_alias', array( |
46979 'fields' => array( | 47603 'fields' => array( |
46980 'pid' => array( | 47604 'pid' => array( |
46981 'type' => 'serial', | 47605 'type' => 'serial', |
46982 'not null' => TRUE, | 47606 'not null' => TRUE, |
47062 'src' => 'admin', | 47686 'src' => 'admin', |
47063 'dst' => 'source-noslash', | 47687 'dst' => 'source-noslash', |
47064 'language' => '', | 47688 'language' => '', |
47065 )) | 47689 )) |
47066 ->execute(); | 47690 ->execute(); |
47067 | |
47068 $connection->schema()->createTable('users', array( | 47691 $connection->schema()->createTable('users', array( |
47069 'fields' => array( | 47692 'fields' => array( |
47070 'uid' => array( | 47693 'uid' => array( |
47071 'type' => 'serial', | 47694 'type' => 'serial', |
47072 'not null' => TRUE, | 47695 'not null' => TRUE, |
47384 'pass_plain' => 'terry.saraniti', | 48007 'pass_plain' => 'terry.saraniti', |
47385 'expected_timezone' => NULL, | 48008 'expected_timezone' => NULL, |
47386 'timezone_id' => '0', | 48009 'timezone_id' => '0', |
47387 )) | 48010 )) |
47388 ->execute(); | 48011 ->execute(); |
47389 | |
47390 $connection->schema()->createTable('users_roles', array( | 48012 $connection->schema()->createTable('users_roles', array( |
47391 'fields' => array( | 48013 'fields' => array( |
47392 'uid' => array( | 48014 'uid' => array( |
47393 'type' => 'int', | 48015 'type' => 'int', |
47394 'not null' => TRUE, | 48016 'not null' => TRUE, |
47451 ->values(array( | 48073 ->values(array( |
47452 'uid' => '16', | 48074 'uid' => '16', |
47453 'rid' => '5', | 48075 'rid' => '5', |
47454 )) | 48076 )) |
47455 ->execute(); | 48077 ->execute(); |
47456 | |
47457 $connection->schema()->createTable('variable', array( | 48078 $connection->schema()->createTable('variable', array( |
47458 'fields' => array( | 48079 'fields' => array( |
47459 'name' => array( | 48080 'name' => array( |
47460 'type' => 'varchar', | 48081 'type' => 'varchar', |
47461 'not null' => TRUE, | 48082 'not null' => TRUE, |
48315 'name' => 'i18nstrings_allowed_formats', | 48936 'name' => 'i18nstrings_allowed_formats', |
48316 'value' => 'a:2:{i:0;i:1;i:1;i:2;}', | 48937 'value' => 'a:2:{i:0;i:1;i:1;i:2;}', |
48317 )) | 48938 )) |
48318 ->values(array( | 48939 ->values(array( |
48319 'name' => 'i18ntaxonomy_vocabulary', | 48940 'name' => 'i18ntaxonomy_vocabulary', |
48320 'value' => 'a:2:{i:1;s:1:"3";i:2;s:1:"2";}', | 48941 'value' => 'a:4:{i:1;s:1:"3";i:2;s:1:"2";i:3;s:1:"3";i:5;s:1:"1";}', |
48321 )) | 48942 )) |
48322 ->values(array( | 48943 ->values(array( |
48323 'name' => 'i18n_lock_node_article', | 48944 'name' => 'i18n_lock_node_article', |
48324 'value' => 'i:1;', | 48945 'value' => 'i:1;', |
48325 )) | 48946 )) |
48718 ->values(array( | 49339 ->values(array( |
48719 'name' => 'user_signatures', | 49340 'name' => 'user_signatures', |
48720 'value' => 's:1:"1";', | 49341 'value' => 's:1:"1";', |
48721 )) | 49342 )) |
48722 ->execute(); | 49343 ->execute(); |
48723 | |
48724 $connection->schema()->createTable('vocabulary', array( | 49344 $connection->schema()->createTable('vocabulary', array( |
48725 'fields' => array( | 49345 'fields' => array( |
48726 'vid' => array( | 49346 'vid' => array( |
48727 'type' => 'serial', | 49347 'type' => 'serial', |
48728 'not null' => TRUE, | 49348 'not null' => TRUE, |
48918 'module' => 'taxonomy', | 49538 'module' => 'taxonomy', |
48919 'weight' => '0', | 49539 'weight' => '0', |
48920 'language' => '', | 49540 'language' => '', |
48921 )) | 49541 )) |
48922 ->execute(); | 49542 ->execute(); |
48923 | |
48924 $connection->schema()->createTable('vocabulary_node_types', array( | 49543 $connection->schema()->createTable('vocabulary_node_types', array( |
48925 'fields' => array( | 49544 'fields' => array( |
48926 'vid' => array( | 49545 'vid' => array( |
48927 'type' => 'int', | 49546 'type' => 'int', |
48928 'not null' => TRUE, | 49547 'not null' => TRUE, |
48976 ->values(array( | 49595 ->values(array( |
48977 'vid' => '3', | 49596 'vid' => '3', |
48978 'type' => 'story', | 49597 'type' => 'story', |
48979 )) | 49598 )) |
48980 ->execute(); | 49599 ->execute(); |
48981 | |
48982 $connection->schema()->createTable('watchdog', array( | 49600 $connection->schema()->createTable('watchdog', array( |
48983 'fields' => array( | 49601 'fields' => array( |
48984 'wid' => array( | 49602 'wid' => array( |
48985 'type' => 'serial', | 49603 'type' => 'serial', |
48986 'not null' => TRUE, | 49604 'not null' => TRUE, |