Trying to see the SQL that syncdb would generate at the current moment in time.
After several searches the answer wasn't readily apparent -- I know you can use:
python manage.py syncdb --sqlall
returns:
Create the database tables for all apps in INSTALLED_APPS whose tables haven't already been created.
How can I output the changes that have happened for the entire database if the code has changed at all?
Is there a way to generate all of the SQL for all of the apps that need syncdb'ing at this time? Or need I just explicitly state each app? I'm not looking for all of the SQL for the entire site, just for the changes that would be implemented by a syncdb.
I've got several apps that need sql generated to describe the changes. I could explicitly list them, but is there a way for syncdb to figure this out for me ?