1
0
Fork 0
mirror of https://github.com/Oreolek/kohana-migrations.git synced 2024-05-19 09:28:17 +03:00
Commit graph

22 commits

Author SHA1 Message Date
Lorenzo Pisani c1c96ffde3 fixing comments in unittests 2011-07-19 11:37:34 -07:00
Lorenzo Pisani 0f201b0906 adding a test for sql files in the migrations folder (refs #18) 2011-07-01 23:32:31 -07:00
Lorenzo Pisani 0c65956d6b adjusting the old util classes to run in the model tests (refs #11) 2011-07-01 23:22:23 -07:00
Matt Button 99eca42020 Coding standards fix 2011-02-18 15:47:46 +00:00
Matt Button fd690e6494 Rewrite of the core migrations system is pretty much complete, fixes #4 2011-02-18 02:20:05 +00:00
Matt Button 42001496eb Adding tests for/fixing fetch_required_migrations() / resolve_target() 2011-02-17 23:53:15 +00:00
Matt Button 63ad3348f2 Rewriting tests for fetch_required_migrations 2011-02-17 21:16:36 +00:00
Matt Button e0fe87f443 Starting to refactor stuff.
Renaming locations -> groups
Cut down the size of fetch_required_migrations()
2011-02-17 20:43:04 +00:00
Matt Button 8b550a43d4 Chaning phpunit groups in the migration util test 2011-02-16 23:09:45 +00:00
Matt Button 17b36782e1 Changing tests to auto-create and auto-teardown the testing table fixes #5 2011-02-16 23:04:19 +00:00
Matt Button e52563165c Fixing @covers notation in util tests, fixes #19 2011-01-31 17:14:34 +00:00
Matt Button da31601428 Fixing some leftover crud, cheers Bob! 2011-01-29 10:55:34 -08:00
Matt Button 36d92858da Fixing old typo in one of the tests 2011-01-21 01:39:36 +00:00
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 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