Yes but I have to run on db server directly (via export sqlmigrate). 
Djando's manage.py can generate sql only for schema migrations - not for 
RunPython data migrations. 

вівторок, 7 березня 2017 р. 13:14:31 UTC+2 користувач Daniel Roseman 
написав:
>
> Schema migrations don't run on the database server, they run on the app 
> server with the rest of your Django code and communicate with the database 
> in exactly the same way. If you can run Django, you can run migrations.
> -- 
> DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/020dca84-25e5-4c36-8d27-1c83579544be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to