You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current practice of creating database migrations, migration names are excessively long and contain unnecessary information, making them challenging to read, although still somewhat understandable. For example, the migration name 20230911.140854_0_0_default_change_asset_add_index_b59dda2670cd99c7e59d56efbcf42282_change_project_scan_alter_config_alter_input_change_asset_add_.php is quite burdensome to decipher.
Proposal
It is recommended to establish a convention where migration names primarily reflect the initial set of changes being made. Including the first couple of changes in the migration name should suffice to maintain clarity. For example, a migration name like 2022_05_20_090500_add_index_change_project_scan_in_asset_table.php conveys the primary purpose of the migration, making it more readable and comprehensible.
The text was updated successfully, but these errors were encountered:
In the current practice of creating database migrations, migration names are excessively long and contain unnecessary information, making them challenging to read, although still somewhat understandable. For example, the migration name
20230911.140854_0_0_default_change_asset_add_index_b59dda2670cd99c7e59d56efbcf42282_change_project_scan_alter_config_alter_input_change_asset_add_.php
is quite burdensome to decipher.Proposal
It is recommended to establish a convention where migration names primarily reflect the initial set of changes being made. Including the first couple of changes in the migration name should suffice to maintain clarity. For example, a migration name like
2022_05_20_090500_add_index_change_project_scan_in_asset_table.php
conveys the primary purpose of the migration, making it more readable and comprehensible.The text was updated successfully, but these errors were encountered: