Re: Postgres (sqlmigrate) FK to M2M without RunPython

2017-03-08 Thread Maksym Mospanenko
+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). > > > How can I move

Re: Postgres (sqlmigrate) FK to M2M without RunPython

2017-03-08 Thread Maksym Mospanenko
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

Postgres (sqlmigrate) FK to M2M without RunPython

2017-03-06 Thread Maksym Mospanenko
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