Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-7752

Migrations status command should order migrations like migration command

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.6.0
    • None
    • None

    Description

      Currently ibexa:migrations:status displays migrations without any order.

      symfony console ibexa:migrations:status
       ----------------------------------------------------------- ----------- 
        Name                                                        Executed?  
       ----------------------------------------------------------- ----------- 
        2024_01_09_22_23_editor_permissions.yaml                    ✓          
        2023_08_11_12_40_required_billing_address.yaml              ✓          
        2023_01_05_13_00_create_customer_content_type.yml           ✓          
        2023_11_20_14_33_order_dashboard_structure.yaml             ✓          
        003_taxonomy_permissions.yml                                ✓          
        2023_04_27_10_30_corporate_account.yaml                     ✓          
        2023_04_27_11_20_storefront_user_role_update.yaml           ✓          
        2023_05_09_12_40_corporate_access_role_update.yaml          ✓          
        2023_09_23_14_15_dashboard_structure.yaml                   ✓          
        009_product_catalog.yml                                     ✓          
        002_taxonomy_content.yml                                    ✓          
        2023_11_20_21_32_product_catalog_dashboard_structure.yaml   ✓          
        2022_11_28_09_52_cart_permissions.yaml                      ✓          
        2023_04_13_13_12_create_shipment_permissions.yaml           ✓          
        2023_03_06_13_00_customer_portal.yaml                       ✓          
        2023_10_10_16_14_dashboard_permissions.yaml                 ✓          
        2023_12_04_13_34_activity_log_dashboard_structure.yaml      ✓          
        2022_11_07_22_46_application_internal_fields.yaml           ✓          
        013_assign_role_limitations.yml                             ✓          
        000_taxonomy_content_types.yml                              ✓          
        012_corporate_account_registration.yml                      ✓          
        2023_12_05_17_00_personalization_dashboard_structure.yaml   ✓          
        2023_04_26_13_12_create_order_permissions.yaml              ✓          
        2024_02_01_13_09_editor_permissions_activity_log.yaml       ✓          
        010_currencies.yml                                          ✓          
        2023_12_06_15_00_image_content_type.yaml                    ✓          
        2023_12_07_20_23_editor_content_type.yaml                   ✓          
        2022_06_23_09_39_product_categories.yaml                    ✓          
        2023_02_05_21_11_storefront_user_role.yaml                  ✓          
        001_taxonomy_sections.yml                                   ✓          
        012_corporate_account.yml                                   ✓          
       ----------------------------------------------------------- ----------- 
      

      Expected order should be the same one used by ibexa:migrations:migrate command.

      symfony console ibexa:migrations:status
       ----------------------------------------------------------- ----------- 
        Name                                                        Executed?  
       ----------------------------------------------------------- ----------- 
        000_taxonomy_content_types.yml                              ✓          
        001_taxonomy_sections.yml                                   ✓          
        002_taxonomy_content.yml                                    ✓          
        003_taxonomy_permissions.yml                                ✓          
        009_product_catalog.yml                                     ✓          
        010_currencies.yml                                          ✓          
        012_corporate_account.yml                                   ✓          
        012_corporate_account_registration.yml                      ✓          
        013_assign_role_limitations.yml                             ✓          
        2022_06_23_09_39_product_categories.yaml                    ✓          
        2022_11_07_22_46_application_internal_fields.yaml           ✓          
        2022_11_28_09_52_cart_permissions.yaml                      ✓          
        2023_01_05_13_00_create_customer_content_type.yml           ✓          
        2023_02_05_21_11_storefront_user_role.yaml                  ✓          
        2023_03_06_13_00_customer_portal.yaml                       ✓          
        2023_04_13_13_12_create_shipment_permissions.yaml           ✓          
        2023_04_26_13_12_create_order_permissions.yaml              ✓          
        2023_04_27_10_30_corporate_account.yaml                     ✓          
        2023_04_27_11_20_storefront_user_role_update.yaml           ✓          
        2023_05_09_12_40_corporate_access_role_update.yaml          ✓          
        2023_08_11_12_40_required_billing_address.yaml              ✓          
        2023_09_23_14_15_dashboard_structure.yaml                   ✓          
        2023_10_10_16_14_dashboard_permissions.yaml                 ✓          
        2023_11_20_14_33_order_dashboard_structure.yaml             ✓          
        2023_11_20_21_32_product_catalog_dashboard_structure.yaml   ✓          
        2023_12_04_13_34_activity_log_dashboard_structure.yaml      ✓          
        2023_12_05_17_00_personalization_dashboard_structure.yaml   ✓          
        2023_12_06_15_00_image_content_type.yaml                    ✓          
        2023_12_07_20_23_editor_content_type.yaml                   ✓          
        2024_01_09_22_23_editor_permissions.yaml                    ✓          
        2024_02_01_13_09_editor_permissions_activity_log.yaml       ✓          
       ----------------------------------------------------------- -----------
      

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              pawel.niedzielski@ibexa.co Paweł Niedzielski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: