40
loading...
This website collects cookies to deliver better user experience
python manage.py migrate
? Did you find yourself opening the migration files to find out what they contained? Everybody probably will at some point. --name
that can be used to make migrations more readable and easy on the eyes. 0005_auto_20210608_2154
. 0005_person_email_and_opt_out
? Even for someone unfamiliar with the project will probably be able to figure out what that migration contains.0001_initial
0002_auto_20210608_2147
0003_auto_20210608_2149
0004_person_phone_number
0005_auto_20210608_2154
0006_auto_20210608_2155
--name
flag included in the makemigrations
command:0001_initial
0002_business_address_fields
0003_business_owner_and_person
0004_person_phone_number
0005_person_email_and_opt_out
0006_business_description_and_services
admin
0001_initial
0002_logentry_remove_auto_add
0003_logentry_add_action_flag_choices
auth
0001_initial
0002_alter_permission_name_max_length
0003_alter_user_email_max_length
0004_alter_user_username_opts
0005_alter_user_last_login_null
0006_require_contenttypes_0002
0007_alter_validators_add_error_messages
0008_alter_user_username_max_length
0009_alter_user_last_name_max_length
0010_alter_group_name_max_length
0011_update_proxy_permissions
0012_alter_user_first_name_max_length
contenttypes
0001_initial
0002_remove_content_type_name