Skip to content

Keep track of migrations #8

Closed
Closed

Description

@thibaultcha

In order to have a fully working migrations system, Kong should keep track of the last migration in order to properly revert, or properly go up.

Activity

  1. self-assigned this
    on Jan 30, 2015
  2. added this to the milestone on Jan 30, 2015
  3. ahmadnassri commented on Feb 3, 2015

    @ahmadnassri

    one migration at a time (a.k.a in sequence)?

    or with migration scripts that can jump versions if needed?

    I don't have a preference, i've seen both done and find both to be equally messy.

  4. thibaultcha commented on Feb 28, 2015

    @thibaultcha
    MemberAuthor

    My idea as an MVP is that up will execute them all, rollback will revert 1 by 1 (in case a migration shouldn't have happened, that's why we need to keep track of them), and reset goes down all the way. Implementing it now.

  5. subnetmarco commented on Feb 28, 2015

    @subnetmarco
    Member

    As a side note, it would be nice if at least the first migration could be embedded in the kong start command.

  6. thibaultcha commented on Mar 2, 2015

    @thibaultcha
    MemberAuthor

    Implemented in #45.

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