Re: Thoughts on diff-based migrations with django?

2018-05-01 Thread djrobstep
Bump! Is there a documented way to generate the from-scratch creation SQL for the currently defined models? If not, is it possible to add something that spits this out? Happy to take a look at implementing this. On Sunday, 25 February 2018 13:48:27 UTC+11, djrobstep wrote: > > Yes, I

Re: Thoughts on diff-based migrations with django?

2018-02-24 Thread djrobstep
hat really makes sense to include in Django at this > point I think. > > Andrew > > On Mon, Feb 19, 2018 at 10:05 PM, djrobstep <robert...@gmail.com > > wrote: > >> Hi all, >> >> Some thoughts on schema migrations that may interest you. By way

Re: Thoughts on diff-based migrations with django?

2018-02-20 Thread djrobstep
> > Being able to leap from one schema state to another is great, buy > typically in the life-cycle of a reusable app it's required to also > migrate old data into new schema. > > This also happens within project-specific apps. > > -- > Curtis > > > On 02/20

Thoughts on diff-based migrations with django?

2018-02-20 Thread djrobstep
Hi all, Some thoughts on schema migrations that may interest you. By way of background, I'm the author of migra (https://github.com/djrobstep/migra), a schema comparison/diff tool for Postgres. I initially wrote this tool because I wanted to be able to generate migration scripts automatically