Skip to content

Migrations: Track Parent Migrations #1911

Closed as not planned
Closed as not planned

Description

@bricelam

This would allow us to better detect conflicts, but we would also need some way to merge.

Activity

  1. added this to the 7.0.0 milestone on Mar 30, 2015
  2. added and removed on Jul 1, 2015
  3. rowanmiller commented on Dec 3, 2015

    @rowanmiller
    Contributor

    @bricelam do you think we still need this now that we have model snapshot?

  4. bricelam commented on Dec 5, 2015

    @bricelam
    ContributorAuthor

    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.

  5. bricelam commented on Dec 5, 2015

    @bricelam
    ContributorAuthor

    So, it will help us do better, but maybe what we have is "good enough".

  6. bricelam commented on Dec 5, 2015

    @bricelam
    ContributorAuthor

    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).

  7. rowanmiller commented on Dec 7, 2015

    @rowanmiller
    Contributor

    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?

  8. bricelam commented on Dec 9, 2015

    @bricelam
    ContributorAuthor

    It's trivial to add the pointer, but it might end up being YAGNI since we won't actually do anything with it now.

  9. bricelam commented on Dec 9, 2015

    @bricelam
    ContributorAuthor

    I don't think it's a breaking change to add later either since we can just infer the parent migration from the order

  10. modified the milestones: 1.0.0, 1.0.1 on May 13, 2016
  11. removed this from the 1.1.0 milestone on Jul 1, 2016
  12. rowanmiller commented on Jul 1, 2016

    @rowanmiller
    Contributor

    We can do this if we find a feature that would use it

  13. bricelam commented on Jul 2, 2016

    @bricelam
    ContributorAuthor

    My thoughts exactly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions