Skip to content

migrate_from_offset issue #153

@kevcam4891

Description

@kevcam4891

Getting a weird results when migrating from an offset. I want to revert to the most recent migration (-1), works great. One migration file is executed.

[root@app app]# ./vendor/bin/ruckus.php db:migrate version=-1
Started: 2015-03-04 3:11pm UTC

[db:migrate]:
        Migrating DOWN to: 20150225143350
========= TestSession2 ======== (0.02)


Finished: 2015-03-04 3:11pm UTC

Results change when doing (-2), (-3), etc...

[root@app app]# ./vendor/bin/ruckus.php db:migrate version=-2
Started: 2015-03-04 3:21pm UTC

[db:migrate]:
        Migrating DOWN to: 20150214211634
========= TestSession2 ======== (0.02)
========= TestWindow ======== (0.04)
========= ChartsPlots ======== (0.02)


Finished: 2015-03-04 3:22pm UTC

[root@app app]# dbrestore ilogic_app_bak_2015_03_04_083955_bar_data
Restoring DB...
[root@app app]# ./vendor/bin/ruckus.php db:migrate version=-3
Started: 2015-03-04 3:22pm UTC

[db:migrate]:
        Migrating DOWN to: 20150210141300
========= TestSession2 ======== (0.02)
========= TestWindow ======== (0.04)
========= ChartsPlots ======== (0.02)
========= TestsSessions ======== (0.00)
========= MatchValues ======== (0.01)


Finished: 2015-03-04 3:22pm UTC

[root@app app]# dbrestore ilogic_app_bak_2015_03_04_083955_bar_data
Restoring DB...
[root@app app]# ./vendor/bin/ruckus.php db:migrate version=-4
Started: 2015-03-04 3:28pm UTC

[db:migrate]:
        Migrating DOWN to: 20150202151132
========= TestSession2 ======== (0.02)
========= TestWindow ======== (0.04)
========= ChartsPlots ======== (0.02)
========= TestsSessions ======== (0.00)
========= MatchValues ======== (0.01)
========= Charts ======== (0.02)
========= BankLeaseExpires ======== (0.01)


Finished: 2015-03-04 3:28pm UTC

Have no problem looking into this myself and submitting pull request, but I wanted to see if this was happening elsewhere?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions