Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

New option to check which version the model is at

#52

Some tools to facilitate db migration check:

  • Check the current version of the model
  • Check if the model is at a specific version
  • Chack if the model is already at the last version (and return exit code 0 or 1)

Reported by Guilherme Chapiewski · June 22nd, 2009 @ 06:57 PM

State: invalid
Milestone: none
Assigned to: Bernardo Heynemann Bernardo Heynemann

Activity

  1. Bernardo Heynemann
    Bernardo Heynemann
    • Milestone order changed from 0 to 0

    Do you mean something like this:

    $ db-migrate --show-history

    Date From To
    10/10/2010 10:10 - 20101225000000
    10/10/2010 10:25 20101010084500 20101225000000
    10/10/2010 10:45 20101010084500 20101225000000

    Missing Migrations (in order):
    1 - 20101010084500
    2 - 20101010084500
    3 - 20101010084500

    July 14th, 2010 @ 05:57 PM

  2. Bernardo Heynemann
    Bernardo Heynemann
    • Assigned user changed from Guilherme Chapiewski to Bernardo Heynemann

    July 14th, 2010 @ 05:59 PM

  3. Guilherme Chapiewski
    Guilherme Chapiewski
    • Milestone order changed from 8 to 0

    When I wrote this, I wanted to have tools that allowed us to analyze the database state without actually running the commands.

    I don't remember what the exit code thing is about, sorry...

    You know, if you think some of the tickets don't make sense (like this one, which is kinda weird), feel free to erase them. IMHO it's better to have less features that make sense than thousand weird/useless features :)

    July 15th, 2010 @ 11:26 AM

  4. Wandenberg Peixoto
    Wandenberg Peixoto
    • State changed from new to invalid
    • Milestone cleared.
    • Milestone order changed from 4 to 0

    As Guilherme said, there is no reason to add this feature until this moment

    April 10th, 2012 @ 12:33 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.