1👍
Generally custom migrations are used for changing existing data. If you wanna create new data, I recommend you to put your code inside a management command and run that after all migrations.
Source:stackexchange.com
1👍
Generally custom migrations are used for changing existing data. If you wanna create new data, I recommend you to put your code inside a management command and run that after all migrations.