When I make changes to some models, I want to see the SQL that django will run to implement these changes to the database.
The usual way to do this is to make a "makemigrations appname". This will result in the migration, for example, "0001_someName.py". Then you can execute 'sqlmigrate 0001_someName.py'
But I want to look at sql directly, without creating intermediate migration. It can be done?
source share