1
0
Fork 0
mirror of https://github.com/Oreolek/kohana-migrations.git synced 2024-06-26 03:40:54 +03:00
Commit graph

11 commits

Author SHA1 Message Date
Matt Button a584ac47ea Changing unittests to use test_minion_migrations table and also added migration for setting up the testing table 2011-01-10 15:40:22 +00:00
Matt Button 41a7392f15 Changing timestamps to be {year}{month}{day}{hour}{minute}{second}
Also added get_migration method to model and some more tests
2010-12-30 15:06:52 +00:00
Matt Button fbe91010ed Migration IDs are now {location}:{timestamp}
This should force uniqueness of migration ids
2010-12-29 03:03:00 +00:00
Matt Button c026cbb415 Limiting command line to executing a single task.
This reduces both the complexity for the end user (no pesky task namespace on config options)
and also removes a good few LOC

Minion_Master has been removed in favour of Controller_Minion + Minion_Test::factory()
2010-12-29 01:01:32 +00:00
Matt Button e64ce18a71 Changing model methods so they return an array instead of a database result 2010-12-29 00:46:07 +00:00
Matt Button 1d3e2343c9 Renaming some methods and changing get_filename_from_migration() so it doesn't prepend migrations/ 2010-12-28 23:23:01 +00:00
Matt Button 14ac8a4047 Migration model wasn't using correct target version when downgrading all locations. Adding a bugfix & test 2010-12-28 17:40:40 +00:00
Matt Button 5fd227becd Added unit tests for migration model and fixed some bugs found with the tests :) 2010-12-28 15:40:54 +00:00
Matt Button 8cadcbf309 Renaming 'module' to 'location' in migration related code, makes more sense 2010-12-28 02:47:49 +00:00
Matt Button 82ba3323d6 Added some utility methods for managing migrations, includes tests 2010-12-24 17:37:52 +00:00
Matt Button ed98d5b7c8 Initial import 2010-12-24 15:52:03 +00:00