Is there any way in django to generate the CREATE TABLE script for my models for a particular DB engine? (MySQL in my case)
you can use command in console
python manage.py sqlmigrate <appname> migration_name
where migration name is the name of file with migration that you need. e.g.
python manage.py sqlmigrate manager 0001_initial
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With