Mercurial > hg > isophonics-drupal-site
comparison core/modules/migrate_drupal/tests/fixtures/drupal6.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 1fec387a4317 |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
15:e200cb7efeb3 | 16:c2387f117808 |
---|---|
2715 'db_columns' => 'a:1:{s:3:"nid";a:4:{s:4:"type";s:3:"int";s:8:"unsigned";b:1;s:8:"not null";b:0;s:5:"index";b:1;}}', | 2715 'db_columns' => 'a:1:{s:3:"nid";a:4:{s:4:"type";s:3:"int";s:8:"unsigned";b:1;s:8:"not null";b:0;s:5:"index";b:1;}}', |
2716 'active' => '1', | 2716 'active' => '1', |
2717 'locked' => '0', | 2717 'locked' => '0', |
2718 )) | 2718 )) |
2719 ->values(array( | 2719 ->values(array( |
2720 'field_name' => 'field_company_2', | |
2721 'type' => 'nodereference', | |
2722 'global_settings' => 'a:1:{s:19:"referenceable_types";a:10:{s:7:"company";s:7:"company";s:7:"article";i:0;s:8:"employee";i:0;s:5:"forum";i:0;s:10:"test_event";i:0;s:9:"test_page";i:0;s:11:"test_planet";i:0;s:10:"test_story";i:0;s:7:"sponsor";i:0;s:5:"story";i:0;}}', | |
2723 'required' => '0', | |
2724 'multiple' => '0', | |
2725 'db_storage' => '1', | |
2726 'module' => 'nodereference', | |
2727 'db_columns' => 'a:1:{s:3:"nid";a:4:{s:4:"type";s:3:"int";s:8:"unsigned";b:1;s:8:"not null";b:0;s:5:"index";b:1;}}', | |
2728 'active' => '1', | |
2729 'locked' => '0', | |
2730 )) | |
2731 ->values(array( | |
2732 'field_name' => 'field_company_3', | |
2733 'type' => 'nodereference', | |
2734 'global_settings' => 'a:1:{s:19:"referenceable_types";a:10:{s:7:"company";s:7:"company";s:7:"article";i:0;s:8:"employee";i:0;s:5:"forum";i:0;s:10:"test_event";i:0;s:9:"test_page";i:0;s:11:"test_planet";i:0;s:10:"test_story";i:0;s:7:"sponsor";i:0;s:5:"story";i:0;}}', | |
2735 'required' => '0', | |
2736 'multiple' => '0', | |
2737 'db_storage' => '1', | |
2738 'module' => 'nodereference', | |
2739 'db_columns' => 'a:1:{s:3:"nid";a:4:{s:4:"type";s:3:"int";s:8:"unsigned";b:1;s:8:"not null";b:0;s:5:"index";b:1;}}', | |
2740 'active' => '1', | |
2741 'locked' => '0', | |
2742 )) | |
2743 ->values(array( | |
2720 'field_name' => 'field_multivalue', | 2744 'field_name' => 'field_multivalue', |
2721 'type' => 'number_decimal', | 2745 'type' => 'number_decimal', |
2722 'global_settings' => 'a:9:{s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:3:"min";s:0:"";s:3:"max";s:0:"";s:14:"allowed_values";s:0:"";s:18:"allowed_values_php";s:0:"";s:9:"precision";s:2:"10";s:5:"scale";s:1:"2";s:7:"decimal";s:1:".";}', | 2746 'global_settings' => 'a:9:{s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:3:"min";s:0:"";s:3:"max";s:0:"";s:14:"allowed_values";s:0:"";s:18:"allowed_values_php";s:0:"";s:9:"precision";s:2:"10";s:5:"scale";s:1:"2";s:7:"decimal";s:1:".";}', |
2723 'required' => '0', | 2747 'required' => '0', |
2724 'multiple' => '1', | 2748 'multiple' => '1', |
2725 'db_storage' => '0', | 2749 'db_storage' => '0', |
2726 'module' => 'number', | 2750 'module' => 'number', |
2727 'db_columns' => 'a:1:{s:5:"value";a:5:{s:4:"type";s:7:"numeric";s:9:"precision";s:2:"10";s:5:"scale";s:1:"2";s:8:"not null";b:0;s:8:"sortable";b:1;}}', | 2751 'db_columns' => 'a:1:{s:5:"value";a:5:{s:4:"type";s:7:"numeric";s:9:"precision";s:2:"10";s:5:"scale";s:1:"2";s:8:"not null";b:0;s:8:"sortable";b:1;}}', |
2752 'active' => '1', | |
2753 'locked' => '0', | |
2754 )) | |
2755 ->values(array( | |
2756 'field_name' => 'field_reference', | |
2757 'type' => 'nodereference', | |
2758 'global_settings' => 'a:1:{s:19:"referenceable_types";a:11:{s:4:"page";s:4:"page";s:7:"article";i:0;s:7:"company";i:0;s:8:"employee";i:0;s:5:"forum";i:0;s:10:"test_event";i:0;s:9:"test_page";i:0;s:11:"test_planet";i:0;s:10:"test_story";i:0;s:7:"sponsor";i:0;s:5:"story";i:0;}}', | |
2759 'required' => '0', | |
2760 'multiple' => '0', | |
2761 'db_storage' => '1', | |
2762 'module' => 'nodereference', | |
2763 'db_columns' => 'a:1:{s:3:"nid";a:4:{s:4:"type";s:3:"int";s:8:"unsigned";b:1;s:8:"not null";b:0;s:5:"index";b:1;}}', | |
2764 'active' => '1', | |
2765 'locked' => '0', | |
2766 )) | |
2767 ->values(array( | |
2768 'field_name' => 'field_reference_2', | |
2769 'type' => 'nodereference', | |
2770 'global_settings' => 'a:1:{s:19:"referenceable_types";a:11:{s:4:"page";s:4:"page";s:7:"article";i:0;s:7:"company";i:0;s:8:"employee";i:0;s:5:"forum";i:0;s:10:"test_event";i:0;s:9:"test_page";i:0;s:11:"test_planet";i:0;s:10:"test_story";i:0;s:7:"sponsor";i:0;s:5:"story";i:0;}}', | |
2771 'required' => '0', | |
2772 'multiple' => '0', | |
2773 'db_storage' => '1', | |
2774 'module' => 'nodereference', | |
2775 'db_columns' => 'a:1:{s:3:"nid";a:4:{s:4:"type";s:3:"int";s:8:"unsigned";b:1;s:8:"not null";b:0;s:5:"index";b:1;}}', | |
2728 'active' => '1', | 2776 'active' => '1', |
2729 'locked' => '0', | 2777 'locked' => '0', |
2730 )) | 2778 )) |
2731 ->values(array( | 2779 ->values(array( |
2732 'field_name' => 'field_test', | 2780 'field_name' => 'field_test', |
3073 'description' => '', | 3121 'description' => '', |
3074 'widget_module' => 'nodereference', | 3122 'widget_module' => 'nodereference', |
3075 'widget_active' => '1', | 3123 'widget_active' => '1', |
3076 )) | 3124 )) |
3077 ->values(array( | 3125 ->values(array( |
3126 'field_name' => 'field_company_2', | |
3127 'type_name' => 'employee', | |
3128 'weight' => '33', | |
3129 'label' => 'Company 2', | |
3130 'widget_type' => 'nodereference_buttons', | |
3131 'widget_settings' => 'a:4:{s:18:"autocomplete_match";s:8:"contains";s:4:"size";i:60;s:13:"default_value";a:1:{i:0;a:1:{s:3:"nid";s:0:"";}}s:17:"default_value_php";N;}', | |
3132 '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;}}', | |
3133 'description' => '', | |
3134 'widget_module' => 'nodereference', | |
3135 'widget_active' => '1', | |
3136 )) | |
3137 ->values(array( | |
3138 'field_name' => 'field_company_3', | |
3139 'type_name' => 'employee', | |
3140 'weight' => '34', | |
3141 'label' => 'Company 3', | |
3142 'widget_type' => 'nodereference_autocomplete', | |
3143 'widget_settings' => 'a:4:{s:18:"autocomplete_match";s:8:"contains";s:4:"size";s:2:"60";s:13:"default_value";a:1:{i:0;a:2:{s:3:"nid";N;s:14:"_error_element";s:50:"default_value_widget][field_company_3][0][nid][nid";}}s:17:"default_value_php";N;}', | |
3144 '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;}}', | |
3145 'description' => '', | |
3146 'widget_module' => 'nodereference', | |
3147 'widget_active' => '1', | |
3148 )) | |
3149 ->values(array( | |
3078 'field_name' => 'field_multivalue', | 3150 'field_name' => 'field_multivalue', |
3079 'type_name' => 'test_planet', | 3151 'type_name' => 'test_planet', |
3080 'weight' => '2', | 3152 'weight' => '2', |
3081 'label' => 'Decimal Field', | 3153 'label' => 'Decimal Field', |
3082 'widget_type' => 'number', | 3154 'widget_type' => 'number', |
3085 'description' => 'An example multi-valued decimal field.', | 3157 'description' => 'An example multi-valued decimal field.', |
3086 'widget_module' => 'number', | 3158 'widget_module' => 'number', |
3087 'widget_active' => '1', | 3159 'widget_active' => '1', |
3088 )) | 3160 )) |
3089 ->values(array( | 3161 ->values(array( |
3162 'field_name' => 'field_reference', | |
3163 'type_name' => 'page', | |
3164 'weight' => '31', | |
3165 'label' => 'Reference', | |
3166 'widget_type' => 'nodereference_select', | |
3167 'widget_settings' => 'a:4:{s:18:"autocomplete_match";s:8:"contains";s:4:"size";i:60;s:13:"default_value";a:1:{i:0;a:1:{s:3:"nid";s:0:"";}}s:17:"default_value_php";N;}', | |
3168 '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;}}', | |
3169 'description' => '', | |
3170 'widget_module' => 'nodereference', | |
3171 'widget_active' => '1', | |
3172 )) | |
3173 ->values(array( | |
3174 'field_name' => 'field_reference_2', | |
3175 'type_name' => 'page', | |
3176 'weight' => '32', | |
3177 'label' => 'Reference', | |
3178 'widget_type' => 'nodereference_select', | |
3179 'widget_settings' => 'a:4:{s:18:"autocomplete_match";s:8:"contains";s:4:"size";i:60;s:13:"default_value";a:1:{i:0;a:1:{s:3:"nid";s:0:"";}}s:17:"default_value_php";N;}', | |
3180 '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;}}', | |
3181 'description' => '', | |
3182 'widget_module' => 'nodereference', | |
3183 'widget_active' => '1', | |
3184 )) | |
3185 ->values(array( | |
3090 'field_name' => 'field_test', | 3186 'field_name' => 'field_test', |
3091 'type_name' => 'story', | 3187 'type_name' => 'story', |
3092 'weight' => '1', | 3188 'weight' => '1', |
3093 'label' => 'Text Field', | 3189 'label' => 'Text Field', |
3094 'widget_type' => 'text_textfield', | 3190 'widget_type' => 'text_textfield', |
3372 'type' => 'int', | 3468 'type' => 'int', |
3373 'not null' => FALSE, | 3469 'not null' => FALSE, |
3374 'size' => 'normal', | 3470 'size' => 'normal', |
3375 'unsigned' => TRUE, | 3471 'unsigned' => TRUE, |
3376 ), | 3472 ), |
3473 'field_company_2_nid' => array( | |
3474 'type' => 'int', | |
3475 'not null' => FALSE, | |
3476 'size' => 'normal', | |
3477 'unsigned' => TRUE, | |
3478 ), | |
3479 'field_company_3_nid' => array( | |
3480 'type' => 'int', | |
3481 'not null' => FALSE, | |
3482 'size' => 'normal', | |
3483 'unsigned' => TRUE, | |
3484 ), | |
3377 ), | 3485 ), |
3378 'primary key' => array( | 3486 'primary key' => array( |
3379 'vid', | 3487 'vid', |
3380 ), | 3488 ), |
3381 'indexes' => array( | 3489 'indexes' => array( |
3382 'nid' => array( | 3490 'nid' => array( |
3383 'nid', | 3491 'nid', |
3384 ), | 3492 ), |
3385 'field_commander_uid' => array( | 3493 'field_commander_uid' => array( |
3386 'field_commander_uid', | 3494 'field_commander_uid', |
3495 ), | |
3496 'field_company_2_nid' => array( | |
3497 'field_company_2_nid', | |
3498 ), | |
3499 'field_company_3_nid' => array( | |
3500 'field_company_3_nid', | |
3387 ), | 3501 ), |
3388 ), | 3502 ), |
3389 'mysql_character_set' => 'utf8', | 3503 'mysql_character_set' => 'utf8', |
3390 )); | 3504 )); |
3391 | 3505 |
3392 $connection->insert('content_type_employee') | 3506 $connection->insert('content_type_employee') |
3393 ->fields(array( | 3507 ->fields(array( |
3394 'vid', | 3508 'vid', |
3395 'nid', | 3509 'nid', |
3396 'field_commander_uid', | 3510 'field_commander_uid', |
3511 'field_company_2_nid', | |
3512 'field_company_3_nid', | |
3397 )) | 3513 )) |
3398 ->values(array( | 3514 ->values(array( |
3399 'vid' => '21', | 3515 'vid' => '21', |
3400 'nid' => '18', | 3516 'nid' => '18', |
3401 'field_commander_uid' => '8', | 3517 'field_commander_uid' => '8', |
3518 'field_company_2_nid' => '15', | |
3519 'field_company_3_nid' => '16', | |
3402 )) | 3520 )) |
3403 ->execute(); | 3521 ->execute(); |
3404 | 3522 |
3405 $connection->schema()->createTable('content_type_page', array( | 3523 $connection->schema()->createTable('content_type_page', array( |
3406 'fields' => array( | 3524 'fields' => array( |
3421 'field_text_field_value' => array( | 3539 'field_text_field_value' => array( |
3422 'type' => 'text', | 3540 'type' => 'text', |
3423 'not null' => FALSE, | 3541 'not null' => FALSE, |
3424 'size' => 'normal', | 3542 'size' => 'normal', |
3425 ), | 3543 ), |
3544 'field_reference_nid' => array( | |
3545 'type' => 'int', | |
3546 'not null' => FALSE, | |
3547 'size' => 'normal', | |
3548 'unsigned' => TRUE, | |
3549 ), | |
3550 'field_reference_2_nid' => array( | |
3551 'type' => 'int', | |
3552 'not null' => FALSE, | |
3553 'size' => 'normal', | |
3554 'unsigned' => TRUE, | |
3555 ), | |
3426 ), | 3556 ), |
3427 'primary key' => array( | 3557 'primary key' => array( |
3428 'vid', | 3558 'vid', |
3429 ), | 3559 ), |
3560 'indexes' => array( | |
3561 'field_reference_nid' => array( | |
3562 'field_reference_nid', | |
3563 ), | |
3564 'field_reference_2_nid' => array( | |
3565 'field_reference_2_nid', | |
3566 ), | |
3567 ), | |
3430 'mysql_character_set' => 'utf8', | 3568 'mysql_character_set' => 'utf8', |
3431 )); | 3569 )); |
3570 | |
3571 $connection->insert('content_type_page') | |
3572 ->fields(array( | |
3573 'vid', | |
3574 'nid', | |
3575 'field_text_field_value', | |
3576 'field_reference_nid', | |
3577 'field_reference_2_nid', | |
3578 )) | |
3579 ->values(array( | |
3580 'vid' => '13', | |
3581 'nid' => '10', | |
3582 'field_text_field_value' => NULL, | |
3583 'field_reference_nid' => '13', | |
3584 'field_reference_2_nid' => '13', | |
3585 )) | |
3586 ->values(array( | |
3587 'vid' => '14', | |
3588 'nid' => '11', | |
3589 'field_text_field_value' => NULL, | |
3590 'field_reference_nid' => '20', | |
3591 'field_reference_2_nid' => '20', | |
3592 )) | |
3593 ->values(array( | |
3594 'vid' => '16', | |
3595 'nid' => '13', | |
3596 'field_text_field_value' => NULL, | |
3597 'field_reference_nid' => '10', | |
3598 'field_reference_2_nid' => '10', | |
3599 )) | |
3600 ->values(array( | |
3601 'vid' => '23', | |
3602 'nid' => '20', | |
3603 'field_text_field_value' => NULL, | |
3604 'field_reference_nid' => '11', | |
3605 'field_reference_2_nid' => '11', | |
3606 )) | |
3607 ->execute(); | |
3432 | 3608 |
3433 $connection->schema()->createTable('content_type_story', array( | 3609 $connection->schema()->createTable('content_type_story', array( |
3434 'fields' => array( | 3610 'fields' => array( |
3435 'nid' => array( | 3611 'nid' => array( |
3436 'type' => 'int', | 3612 'type' => 'int', |
8624 'objectindex' => '0', | 8800 'objectindex' => '0', |
8625 'format' => '0', | 8801 'format' => '0', |
8626 )) | 8802 )) |
8627 ->values(array( | 8803 ->values(array( |
8628 'lid' => '509', | 8804 'lid' => '509', |
8629 'objectid' => 'profile_sell_address', | 8805 'objectid' => 'profile_sell_Address', |
8630 'type' => 'field', | 8806 'type' => 'field', |
8631 'property' => 'title', | 8807 'property' => 'title', |
8632 'objectindex' => '0', | 8808 'objectindex' => '0', |
8633 'format' => '0', | 8809 'format' => '0', |
8634 )) | 8810 )) |
8635 ->values(array( | 8811 ->values(array( |
8636 'lid' => '510', | 8812 'lid' => '510', |
8637 'objectid' => 'profile_sell_address', | 8813 'objectid' => 'profile_sell_Address', |
8638 'type' => 'field', | 8814 'type' => 'field', |
8639 'property' => 'explanation', | 8815 'property' => 'explanation', |
8640 'objectindex' => '0', | 8816 'objectindex' => '0', |
8641 'format' => '0', | 8817 'format' => '0', |
8642 )) | 8818 )) |
8712 'objectindex' => '0', | 8888 'objectindex' => '0', |
8713 'format' => '0', | 8889 'format' => '0', |
8714 )) | 8890 )) |
8715 ->values(array( | 8891 ->values(array( |
8716 'lid' => '520', | 8892 'lid' => '520', |
8717 'objectid' => 'profile_love_migrations', | 8893 'objectid' => 'profile_really_really_love_migrations', |
8718 'type' => 'field', | 8894 'type' => 'field', |
8719 'property' => 'title', | 8895 'property' => 'title', |
8720 'objectindex' => '0', | 8896 'objectindex' => '0', |
8721 'format' => '0', | 8897 'format' => '0', |
8722 )) | 8898 )) |
8723 ->values(array( | 8899 ->values(array( |
8724 'lid' => '521', | 8900 'lid' => '521', |
8725 'objectid' => 'profile_love_migrations', | 8901 'objectid' => 'profile_really_really_love_migrations', |
8726 'type' => 'field', | 8902 'type' => 'field', |
8727 'property' => 'explanation', | 8903 'property' => 'explanation', |
8728 'objectindex' => '0', | 8904 'objectindex' => '0', |
8729 'format' => '0', | 8905 'format' => '0', |
8730 )) | 8906 )) |
9636 'lid' => '1673', | 9812 'lid' => '1673', |
9637 'objectid' => '7', | 9813 'objectid' => '7', |
9638 'type' => 'vocabulary', | 9814 'type' => 'vocabulary', |
9639 'property' => 'name', | 9815 'property' => 'name', |
9640 'objectindex' => '7', | 9816 'objectindex' => '7', |
9817 'format' => '0', | |
9818 )) | |
9819 ->values(array( | |
9820 'lid' => '1674', | |
9821 'objectid' => '463', | |
9822 'type' => 'item', | |
9823 'property' => 'title', | |
9824 'objectindex' => '463', | |
9825 'format' => '0', | |
9826 )) | |
9827 ->values(array( | |
9828 'lid' => '1675', | |
9829 'objectid' => '463', | |
9830 'type' => 'item', | |
9831 'property' => 'description', | |
9832 'objectindex' => '463', | |
9833 'format' => '0', | |
9834 )) | |
9835 ->values(array( | |
9836 'lid' => '1676', | |
9837 'objectid' => '138', | |
9838 'type' => 'item', | |
9839 'property' => 'title', | |
9840 'objectindex' => '138', | |
9841 'format' => '0', | |
9842 )) | |
9843 ->values(array( | |
9844 'lid' => '1677', | |
9845 'objectid' => '138', | |
9846 'type' => 'item', | |
9847 'property' => 'description', | |
9848 'objectindex' => '138', | |
9849 'format' => '0', | |
9850 )) | |
9851 ->values(array( | |
9852 'lid' => '1678', | |
9853 'objectid' => 'profile_really_really_love_migrating', | |
9854 'type' => 'field', | |
9855 'property' => 'title', | |
9856 'objectindex' => '0', | |
9641 'format' => '0', | 9857 'format' => '0', |
9642 )) | 9858 )) |
9643 ->execute(); | 9859 ->execute(); |
9644 | 9860 |
9645 $connection->schema()->createTable('i18n_variable', array( | 9861 $connection->schema()->createTable('i18n_variable', array( |
13958 'source' => 'Tell people a little bit about yourself', | 14174 'source' => 'Tell people a little bit about yourself', |
13959 'version' => '1', | 14175 'version' => '1', |
13960 )) | 14176 )) |
13961 ->values(array( | 14177 ->values(array( |
13962 'lid' => '509', | 14178 'lid' => '509', |
13963 'location' => 'field:profile_sell_address:title', | 14179 'location' => 'field:profile_sell_Address:title', |
13964 'textgroup' => 'profile', | 14180 'textgroup' => 'profile', |
13965 'source' => 'Sell your email address?', | 14181 'source' => 'Sell your email address?', |
13966 'version' => '1', | 14182 'version' => '1', |
13967 )) | 14183 )) |
13968 ->values(array( | 14184 ->values(array( |
13969 'lid' => '510', | 14185 'lid' => '510', |
13970 'location' => 'field:profile_sell_address:explanation', | 14186 'location' => 'field:profile_sell_Address:explanation', |
13971 'textgroup' => 'profile', | 14187 'textgroup' => 'profile', |
13972 'source' => "If you check this box, we'll sell your address to spammers to help line the pockets of our shareholders. Thanks!", | 14188 'source' => "If you check this box, we'll sell your address to spammers to help line the pockets of our shareholders. Thanks!", |
13973 'version' => '1', | 14189 'version' => '1', |
13974 )) | 14190 )) |
13975 ->values(array( | 14191 ->values(array( |
14035 'source' => "Enter your birth date and we'll send you a coupon.", | 14251 'source' => "Enter your birth date and we'll send you a coupon.", |
14036 'version' => '1', | 14252 'version' => '1', |
14037 )) | 14253 )) |
14038 ->values(array( | 14254 ->values(array( |
14039 'lid' => '520', | 14255 'lid' => '520', |
14040 'location' => 'field:profile_love_migrations:title', | 14256 'location' => 'field:profile_really_really_love_migrations:title', |
14041 'textgroup' => 'profile', | 14257 'textgroup' => 'profile', |
14042 'source' => 'I love migrations', | 14258 'source' => 'I really, really, really love migrations', |
14043 'version' => '1', | 14259 'version' => '1', |
14044 )) | 14260 )) |
14045 ->values(array( | 14261 ->values(array( |
14046 'lid' => '521', | 14262 'lid' => '521', |
14047 'location' => 'field:profile_love_migrations:explanation', | 14263 'location' => 'field:profile_really_really_love_migrations:explanation', |
14048 'textgroup' => 'profile', | 14264 'textgroup' => 'profile', |
14049 'source' => 'If you check this box, you love migrations.', | 14265 'source' => 'If you check this box, you love migrations.', |
14050 'version' => '1', | 14266 'version' => '1', |
14051 )) | 14267 )) |
14052 ->values(array( | 14268 ->values(array( |
22102 ->values(array( | 22318 ->values(array( |
22103 'lid' => '1673', | 22319 'lid' => '1673', |
22104 'location' => 'vocabulary:7:name', | 22320 'location' => 'vocabulary:7:name', |
22105 'textgroup' => 'taxonomy', | 22321 'textgroup' => 'taxonomy', |
22106 'source' => 'Forums', | 22322 'source' => 'Forums', |
22323 'version' => '1', | |
22324 )) | |
22325 ->values(array( | |
22326 'lid' => '1674', | |
22327 'location' => 'item:463:title', | |
22328 'textgroup' => 'menu', | |
22329 'source' => 'fr - Test 1', | |
22330 'version' => '1', | |
22331 )) | |
22332 ->values(array( | |
22333 'lid' => '1675', | |
22334 'location' => 'item:463:description', | |
22335 'textgroup' => 'menu', | |
22336 'source' => 'fr - Test menu link 1', | |
22337 'version' => '1', | |
22338 )) | |
22339 ->values(array( | |
22340 'lid' => '1676', | |
22341 'location' => 'item:138:title', | |
22342 'textgroup' => 'menu', | |
22343 'source' => 'Test 1', | |
22344 'version' => '1', | |
22345 )) | |
22346 ->values(array( | |
22347 'lid' => '1677', | |
22348 'location' => 'item:138:description', | |
22349 'textgroup' => 'menu', | |
22350 'source' => 'Test menu link 1', | |
22351 'version' => '1', | |
22352 )) | |
22353 ->values(array( | |
22354 'lid' => '1678', | |
22355 'location' => 'field:profile_really_really_love_migrating:title', | |
22356 'textgroup' => 'profile', | |
22357 'source' => 'I really, really, really love migrating', | |
22107 'version' => '1', | 22358 'version' => '1', |
22108 )) | 22359 )) |
22109 ->execute(); | 22360 ->execute(); |
22110 | 22361 |
22111 $connection->schema()->createTable('locales_target', array( | 22362 $connection->schema()->createTable('locales_target', array( |
26282 'lid' => '520', | 26533 'lid' => '520', |
26283 'translation' => "J'aime les migrations", | 26534 'translation' => "J'aime les migrations", |
26284 'language' => 'fr', | 26535 'language' => 'fr', |
26285 'plid' => '0', | 26536 'plid' => '0', |
26286 'plural' => '0', | 26537 'plural' => '0', |
26287 'i18n_status' => '0', | 26538 'i18n_status' => '1', |
26288 )) | 26539 )) |
26289 ->values(array( | 26540 ->values(array( |
26290 'lid' => '521', | 26541 'lid' => '521', |
26291 'translation' => 'Si vous cochez cette case, vous aimez les migrations.', | 26542 'translation' => 'Si vous cochez cette case, vous aimez les migrations.', |
26292 'language' => 'fr', | 26543 'language' => 'fr', |
27143 'i18n_status' => '0', | 27394 'i18n_status' => '0', |
27144 )) | 27395 )) |
27145 ->values(array( | 27396 ->values(array( |
27146 'lid' => '1671', | 27397 'lid' => '1671', |
27147 'translation' => "Champ '%name' : incohérence au niveau du titre. Merci de vérifier votre sélection.", | 27398 'translation' => "Champ '%name' : incohérence au niveau du titre. Merci de vérifier votre sélection.", |
27399 'language' => 'fr', | |
27400 'plid' => '0', | |
27401 'plural' => '0', | |
27402 'i18n_status' => '0', | |
27403 )) | |
27404 ->values(array( | |
27405 'lid' => '1678', | |
27406 'translation' => 'fr - I really, really, really love migrating ', | |
27148 'language' => 'fr', | 27407 'language' => 'fr', |
27149 'plid' => '0', | 27408 'plid' => '0', |
27150 'plural' => '0', | 27409 'plural' => '0', |
27151 'i18n_status' => '0', | 27410 'i18n_status' => '0', |
27152 )) | 27411 )) |
27633 'mlid' => '138', | 27892 'mlid' => '138', |
27634 'plid' => '139', | 27893 'plid' => '139', |
27635 'link_path' => 'user/login', | 27894 'link_path' => 'user/login', |
27636 'router_path' => 'user/login', | 27895 'router_path' => 'user/login', |
27637 'link_title' => 'Test 1', | 27896 'link_title' => 'Test 1', |
27638 'options' => 'a:1:{s:10:"attributes";a:1:{s:5:"title";s:16:"Test menu link 1";}}', | 27897 'options' => 'a:2:{s:10:"attributes";a:1:{s:5:"title";s:16:"Test menu link 1";}s:8:"langcode";s:2:"en";}', |
27639 'module' => 'menu', | 27898 'module' => 'menu', |
27640 'hidden' => '0', | 27899 'hidden' => '0', |
27641 'external' => '0', | 27900 'external' => '0', |
27642 'has_children' => '1', | 27901 'has_children' => '1', |
27643 'expanded' => '0', | 27902 'expanded' => '0', |
33638 'weight' => '0', | 33897 'weight' => '0', |
33639 'depth' => '1', | 33898 'depth' => '1', |
33640 'customized' => '0', | 33899 'customized' => '0', |
33641 'p1' => '458', | 33900 'p1' => '458', |
33642 'p2' => '0', | 33901 'p2' => '0', |
33902 'p3' => '0', | |
33903 'p4' => '0', | |
33904 'p5' => '0', | |
33905 'p6' => '0', | |
33906 'p7' => '0', | |
33907 'p8' => '0', | |
33908 'p9' => '0', | |
33909 'updated' => '0', | |
33910 )) | |
33911 ->values(array( | |
33912 'menu_name' => 'primary-links', | |
33913 'mlid' => '459', | |
33914 'plid' => '0', | |
33915 'link_path' => 'node/10', | |
33916 'router_path' => 'node/%', | |
33917 'link_title' => 'The Real McCoy', | |
33918 'options' => 'a:2:{s:10:"attributes";a:1:{s:5:"title";s:0:"";}s:5:"alter";b:1;}', | |
33919 'module' => 'menu', | |
33920 'hidden' => '0', | |
33921 'external' => '0', | |
33922 'has_children' => '0', | |
33923 'expanded' => '0', | |
33924 'weight' => '0', | |
33925 'depth' => '1', | |
33926 'customized' => '1', | |
33927 'p1' => '459', | |
33928 'p2' => '0', | |
33929 'p3' => '0', | |
33930 'p4' => '0', | |
33931 'p5' => '0', | |
33932 'p6' => '0', | |
33933 'p7' => '0', | |
33934 'p8' => '0', | |
33935 'p9' => '0', | |
33936 'updated' => '0', | |
33937 )) | |
33938 ->values(array( | |
33939 'menu_name' => 'primary-links', | |
33940 'mlid' => '460', | |
33941 'plid' => '0', | |
33942 'link_path' => 'node/11', | |
33943 'router_path' => 'node/%', | |
33944 'link_title' => 'Le Vrai McCoy', | |
33945 'options' => 'a:2:{s:10:"attributes";a:1:{s:5:"title";s:0:"";}s:5:"alter";b:1;}', | |
33946 'module' => 'menu', | |
33947 'hidden' => '0', | |
33948 'external' => '0', | |
33949 'has_children' => '0', | |
33950 'expanded' => '0', | |
33951 'weight' => '0', | |
33952 'depth' => '1', | |
33953 'customized' => '1', | |
33954 'p1' => '460', | |
33955 'p2' => '0', | |
33956 'p3' => '0', | |
33957 'p4' => '0', | |
33958 'p5' => '0', | |
33959 'p6' => '0', | |
33960 'p7' => '0', | |
33961 'p8' => '0', | |
33962 'p9' => '0', | |
33963 'updated' => '0', | |
33964 )) | |
33965 ->values(array( | |
33966 'menu_name' => 'primary-links', | |
33967 'mlid' => '461', | |
33968 'plid' => '0', | |
33969 'link_path' => 'node/12', | |
33970 'router_path' => 'node/%', | |
33971 'link_title' => 'Abantu zulu', | |
33972 'options' => 'a:2:{s:10:"attributes";a:1:{s:5:"title";s:0:"";}s:5:"alter";b:1;}', | |
33973 'module' => 'menu', | |
33974 'hidden' => '0', | |
33975 'external' => '0', | |
33976 'has_children' => '0', | |
33977 'expanded' => '0', | |
33978 'weight' => '0', | |
33979 'depth' => '1', | |
33980 'customized' => '1', | |
33981 'p1' => '461', | |
33982 'p2' => '0', | |
33983 'p3' => '0', | |
33984 'p4' => '0', | |
33985 'p5' => '0', | |
33986 'p6' => '0', | |
33987 'p7' => '0', | |
33988 'p8' => '0', | |
33989 'p9' => '0', | |
33990 'updated' => '0', | |
33991 )) | |
33992 ->values(array( | |
33993 'menu_name' => 'primary-links', | |
33994 'mlid' => '462', | |
33995 'plid' => '0', | |
33996 'link_path' => 'node/13', | |
33997 'router_path' => 'node/%', | |
33998 'link_title' => 'The Zulu People', | |
33999 'options' => 'a:2:{s:10:"attributes";a:1:{s:5:"title";s:0:"";}s:5:"alter";b:1;}', | |
34000 'module' => 'menu', | |
34001 'hidden' => '0', | |
34002 'external' => '0', | |
34003 'has_children' => '0', | |
34004 'expanded' => '0', | |
34005 'weight' => '0', | |
34006 'depth' => '1', | |
34007 'customized' => '1', | |
34008 'p1' => '462', | |
34009 'p2' => '0', | |
34010 'p3' => '0', | |
34011 'p4' => '0', | |
34012 'p5' => '0', | |
34013 'p6' => '0', | |
34014 'p7' => '0', | |
34015 'p8' => '0', | |
34016 'p9' => '0', | |
34017 'updated' => '0', | |
34018 )) | |
34019 ->values(array( | |
34020 'menu_name' => 'secondary-links', | |
34021 'mlid' => '463', | |
34022 'plid' => '139', | |
34023 'link_path' => 'user/login', | |
34024 'router_path' => 'user/login', | |
34025 'link_title' => 'fr - Test 1', | |
34026 'options' => 'a:3:{s:10:"attributes";a:1:{s:5:"title";s:21:"fr - Test menu link 1";}s:8:"langcode";s:2:"fr";s:5:"alter";b:1;}', | |
34027 'module' => 'menu', | |
34028 'hidden' => '0', | |
34029 'external' => '0', | |
34030 'has_children' => '0', | |
34031 'expanded' => '0', | |
34032 'weight' => '-49', | |
34033 'depth' => '2', | |
34034 'customized' => '1', | |
34035 'p1' => '139', | |
34036 'p2' => '459', | |
33643 'p3' => '0', | 34037 'p3' => '0', |
33644 'p4' => '0', | 34038 'p4' => '0', |
33645 'p5' => '0', | 34039 'p5' => '0', |
33646 'p6' => '0', | 34040 'p6' => '0', |
33647 'p7' => '0', | 34041 'p7' => '0', |
43281 'moderate' => '0', | 43675 'moderate' => '0', |
43282 'sticky' => '0', | 43676 'sticky' => '0', |
43283 'tnid' => '0', | 43677 'tnid' => '0', |
43284 'translate' => '0', | 43678 'translate' => '0', |
43285 )) | 43679 )) |
43680 ->values(array( | |
43681 'nid' => '20', | |
43682 'vid' => '23', | |
43683 'type' => 'page', | |
43684 'language' => 'fr', | |
43685 'title' => 'Le peuple zoulou', | |
43686 'uid' => '1', | |
43687 'status' => '1', | |
43688 'created' => '1520613038', | |
43689 'changed' => '1520613305', | |
43690 'comment' => '0', | |
43691 'promote' => '1', | |
43692 'moderate' => '0', | |
43693 'sticky' => '0', | |
43694 'tnid' => '12', | |
43695 'translate' => '0', | |
43696 )) | |
43286 ->execute(); | 43697 ->execute(); |
43287 | 43698 |
43288 $connection->schema()->createTable('node_access', array( | 43699 $connection->schema()->createTable('node_access', array( |
43289 'fields' => array( | 43700 'fields' => array( |
43290 'nid' => array( | 43701 'nid' => array( |
43561 ->values(array( | 43972 ->values(array( |
43562 'nid' => '5', | 43973 'nid' => '5', |
43563 'totalcount' => '1', | 43974 'totalcount' => '1', |
43564 'daycount' => '1', | 43975 'daycount' => '1', |
43565 'timestamp' => '1478755314', | 43976 'timestamp' => '1478755314', |
43977 )) | |
43978 ->values(array( | |
43979 'nid' => '10', | |
43980 'totalcount' => '5', | |
43981 'daycount' => '1', | |
43982 'timestamp' => '1521137459', | |
43983 )) | |
43984 ->values(array( | |
43985 'nid' => '11', | |
43986 'totalcount' => '3', | |
43987 'daycount' => '1', | |
43988 'timestamp' => '1521137463', | |
43989 )) | |
43990 ->values(array( | |
43991 'nid' => '12', | |
43992 'totalcount' => '3', | |
43993 'daycount' => '0', | |
43994 'timestamp' => '1521137469', | |
43995 )) | |
43996 ->values(array( | |
43997 'nid' => '13', | |
43998 'totalcount' => '2', | |
43999 'daycount' => '1', | |
44000 'timestamp' => '1521137470', | |
43566 )) | 44001 )) |
43567 ->values(array( | 44002 ->values(array( |
43568 'nid' => '14', | 44003 'nid' => '14', |
43569 'totalcount' => '1', | 44004 'totalcount' => '1', |
43570 'daycount' => '1', | 44005 'daycount' => '1', |
43913 'title' => 'New Forum Topic', | 44348 'title' => 'New Forum Topic', |
43914 'body' => 'New Forum Body', | 44349 'body' => 'New Forum Body', |
43915 'teaser' => 'New Forum Body', | 44350 'teaser' => 'New Forum Body', |
43916 'log' => '', | 44351 'log' => '', |
43917 'timestamp' => '1501955771', | 44352 'timestamp' => '1501955771', |
44353 'format' => '1', | |
44354 )) | |
44355 ->values(array( | |
44356 'nid' => '20', | |
44357 'vid' => '23', | |
44358 'uid' => '1', | |
44359 'title' => 'Le peuple zoulou', | |
44360 'body' => 'Le peuple zoulou.', | |
44361 'teaser' => 'Le peuple zoulou.', | |
44362 'log' => '', | |
44363 'timestamp' => '1520613305', | |
43918 'format' => '1', | 44364 'format' => '1', |
43919 )) | 44365 )) |
43920 ->execute(); | 44366 ->execute(); |
43921 | 44367 |
43922 $connection->schema()->createTable('node_type', array( | 44368 $connection->schema()->createTable('node_type', array( |
44181 'body_label' => 'This is the body field label', | 44627 'body_label' => 'This is the body field label', |
44182 'min_word_count' => '0', | 44628 'min_word_count' => '0', |
44183 'custom' => '1', | 44629 'custom' => '1', |
44184 'modified' => '1', | 44630 'modified' => '1', |
44185 'locked' => '0', | 44631 'locked' => '0', |
44186 'orig_type' => 'page', | 44632 'orig_type' => 'test_page', |
44187 )) | 44633 )) |
44188 ->values(array( | 44634 ->values(array( |
44189 'type' => 'test_planet', | 44635 'type' => 'test_planet', |
44190 'name' => 'Migrate test planet', | 44636 'name' => 'Migrate test planet', |
44191 'module' => 'node', | 44637 'module' => 'node', |
44412 'options' => '', | 44858 'options' => '', |
44413 )) | 44859 )) |
44414 ->values(array( | 44860 ->values(array( |
44415 'fid' => '10', | 44861 'fid' => '10', |
44416 'title' => 'Sell your email address?', | 44862 'title' => 'Sell your email address?', |
44417 'name' => 'profile_sell_address', | 44863 'name' => 'profile_sell_Address', |
44418 'explanation' => "If you check this box, we'll sell your address to spammers to help line the pockets of our shareholders. Thanks!", | 44864 'explanation' => "If you check this box, we'll sell your address to spammers to help line the pockets of our shareholders. Thanks!", |
44419 'category' => 'Communication preferences', | 44865 'category' => 'Communication preferences', |
44420 'page' => 'People who want us to sell their address', | 44866 'page' => 'People who want us to sell their address', |
44421 'type' => 'checkbox', | 44867 'type' => 'checkbox', |
44422 'weight' => '-10', | 44868 'weight' => '-10', |
44486 'autocomplete' => '0', | 44932 'autocomplete' => '0', |
44487 'options' => '', | 44933 'options' => '', |
44488 )) | 44934 )) |
44489 ->values(array( | 44935 ->values(array( |
44490 'fid' => '15', | 44936 'fid' => '15', |
44491 'title' => 'I love migrations', | 44937 'title' => 'I really, really, really love migrations', |
44492 'name' => 'profile_love_migrations', | 44938 'name' => 'profile_really_really_love_migrations', |
44493 'explanation' => 'If you check this box, you love migrations.', | 44939 'explanation' => 'If you check this box, you love migrations.', |
44494 'category' => 'Personal information', | 44940 'category' => 'Personal information', |
44495 'page' => 'People who love migrations', | 44941 'page' => 'People who love migrations', |
44496 'type' => 'checkbox', | 44942 'type' => 'checkbox', |
44497 'weight' => '-15', | 44943 'weight' => '-15', |
44944 'required' => '0', | |
44945 'register' => '0', | |
44946 'visibility' => '2', | |
44947 'autocomplete' => '0', | |
44948 'options' => '', | |
44949 )) | |
44950 ->values(array( | |
44951 'fid' => '16', | |
44952 'title' => 'I really, really, really love migrating', | |
44953 'name' => 'profile_really_really_love_migrating', | |
44954 'explanation' => '', | |
44955 'category' => 'Personal information', | |
44956 'page' => '', | |
44957 'type' => 'checkbox', | |
44958 'weight' => '0', | |
44498 'required' => '0', | 44959 'required' => '0', |
44499 'register' => '0', | 44960 'register' => '0', |
44500 'visibility' => '2', | 44961 'visibility' => '2', |
44501 'autocomplete' => '0', | 44962 'autocomplete' => '0', |
44502 'options' => '', | 44963 'options' => '', |
44710 )) | 45171 )) |
44711 ->values(array( | 45172 ->values(array( |
44712 'fid' => '14', | 45173 'fid' => '14', |
44713 'uid' => '17', | 45174 'uid' => '17', |
44714 'value' => 'a:3:{s:5:"month";s:2:"12";s:3:"day";s:2:"18";s:4:"year";s:4:"1942";}', | 45175 'value' => 'a:3:{s:5:"month";s:2:"12";s:3:"day";s:2:"18";s:4:"year";s:4:"1942";}', |
45176 )) | |
45177 ->values(array( | |
45178 'fid' => '15', | |
45179 'uid' => '2', | |
45180 'value' => '1', | |
44715 )) | 45181 )) |
44716 ->execute(); | 45182 ->execute(); |
44717 | 45183 |
44718 $connection->schema()->createTable('role', array( | 45184 $connection->schema()->createTable('role', array( |
44719 'fields' => array( | 45185 'fields' => array( |