Hello! I want to migrate data with schema migrations but I can't run any
python code on database server - only raw sql (postgres).
How can I move fk column data to m2m table's fk column?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubs
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
р. 11:18:01 UTC+2 користувач Melvyn Sopacua
написав:
>
> On Monday 06 March 2017 15:40:55 Maksym Mospanenko wrote:
>
> > Hello! I want to migrate data with schema migrations but I can't run
>
> > any python code on database server - only raw sql (postgres).
>
>
3 matches
Mail list logo