You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would help us detect conflicts. The snapshot in the migration can still get into a bad state. We use that snapshot for column types currently. We'll use it for rebuilds in the future.
Although doing a rebuild but missing a column because it was added (but not synced) before you generated your migration would be a pain to debug (and maybe even notice).
Activity
rowanmiller commentedon Dec 3, 2015
@bricelam do you think we still need this now that we have model snapshot?
bricelam commentedon Dec 5, 2015
It would help us detect conflicts. The snapshot in the migration can still get into a bad state. We use that snapshot for column types currently. We'll use it for rebuilds in the future.
bricelam commentedon Dec 5, 2015
So, it will help us do better, but maybe what we have is "good enough".
bricelam commentedon Dec 5, 2015
Although doing a rebuild but missing a column because it was added (but not synced) before you generated your migration would be a pain to debug (and maybe even notice).
rowanmiller commentedon Dec 7, 2015
Ah yeah... rebuilds from the snapshot... didn't think of that. Is this trivial to just add now, or do you think it should go on backlog?
bricelam commentedon Dec 9, 2015
It's trivial to add the pointer, but it might end up being YAGNI since we won't actually do anything with it now.
bricelam commentedon Dec 9, 2015
I don't think it's a breaking change to add later either since we can just infer the parent migration from the order
rowanmiller commentedon Jul 1, 2016
We can do this if we find a feature that would use it
bricelam commentedon Jul 2, 2016
My thoughts exactly