Re: Ideas for migrations squashing improvements

2015-05-22 Thread Piotr Maliński
s squashing more than one app. Once I've > got my head around it, i'll write it up and poss submit a documentation > ticket to help > > On 22 May 2015 at 12:05, Piotr Maliński > > wrote: > >> It should allow squash all migrations of one app without any depen

Re: Ideas for migrations squashing improvements

2015-05-22 Thread Piotr Maliński
ay with squashing in one go while avoiding dependency > issues from other apps > > On Thursday, May 21, 2015 at 11:08:42 AM UTC+1, Piotr Maliński wrote: >> >> I made some tricky migration squashing in few projects recently. It works >> but still could be made bett

Ideas for migrations squashing improvements

2015-05-21 Thread Piotr Maliński
I made some tricky migration squashing in few projects recently. It works but still could be made better. 1. squashed migrations could have explicit flag indicating that it's a squash-initial migration. More complex squashes or optimizing squash can lead to problems when it will not fake but t