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

Commit graph

  • f47bce9bc8 Give more helpful error messages when a migration fails Matt Button 2011-01-21 00:45:35 +0000
  • 95e450c43e Fixing reference to old table names in test data, references #10 Matt Button 2011-01-21 00:45:00 +0000
  • eb907da7f4 Adding db:status to report the status of migrations that have been run Matt Button 2011-01-20 23:57:03 +0000
  • f4538e6713 Moving logic for searching for available migrations into the model Matt Button 2011-01-20 23:53:59 +0000
  • 676f364ecd Fixing bug when a task doesn't have any config options Matt Button 2011-01-20 23:53:23 +0000
  • 0d433aabf4 Minion isn't part of kohana so don't put it in that location Matt Button 2011-01-20 23:44:08 +0000
  • 973a1d10ea Namespacing the migrations table, fixes #10 Matt Button 2011-01-20 23:12:06 +0000
  • 75c2c27f08 Fixing slight bug in minion bash script Matt Button 2011-01-20 22:58:01 +0000
  • a6f8b15b77 Removing --environment switch for db migrations, refs #6 Matt Button 2011-01-10 16:04:09 +0000
  • 959d130669 Added basis for migrations deciding what db connection to use, refs #6 Matt Button 2011-01-10 16:01:40 +0000
  • a584ac47ea Changing unittests to use test_minion_migrations table and also added migration for setting up the testing table Matt Button 2011-01-10 15:40:22 +0000
  • 3f7e6653e4 Fixing minion bash script to escape params passed to kohana Matt Button 2011-01-10 15:36:16 +0000
  • d9bc6f6cb7 Adding table() method to migrations model Matt Button 2011-01-10 14:15:07 +0000
  • 36646106e8 Pass the exit code back out when using the bash script Matt Button 2011-01-09 01:01:52 +0000
  • b2f9e95bb0 Corrected README ala kiall's suggestions Matt Button 2011-01-09 01:00:34 +0000
  • 010744fb84 Fixing typo in README Matt Button 2011-01-09 00:51:53 +0000
  • 69ea47f514 Forgot to add --uri option in binary\! Matt Button 2011-01-09 00:49:48 +0000
  • 65230921c6 Added binary file for easier interaction with minion Matt Button 2011-01-09 00:47:41 +0000
  • 19096e5901 Allow users to use --help and --task instead of uri Matt Button 2011-01-09 00:09:48 +0000
  • 363576919d Merge branch 'develop' of git://github.com/BRMatt/kohana-minion into develop Matt Button 2011-01-07 15:02:43 +0000
  • 64fec1190b Fix classname bug in db:generate when an empty location is used. fixes #3 Matt Button 2011-01-07 15:02:19 +0000
  • 5283d121c2 Don't fail on tasks with no command line options Andrew Hutchings 2011-01-07 16:26:37 +0800
  • d85ba5037b Fix typos Andrew Hutchings 2011-01-07 14:12:33 +0800
  • dc006ee129 Fix PHP short open tag usage Andrew Hutchings 2011-01-07 13:35:24 +0800
  • b36b2131aa Merge branch 'develop' of git://github.com/BRMatt/kohana-minion into develop Matt Button 2011-01-04 20:26:39 +0000
  • f9378730ba Fixing silly parameter miss match in db:migrate Matt Button 2011-01-04 16:02:02 +0000
  • 4c8daa7179 Migrations extend Minion_Migration_Base not Minion_Task Matt Button 2011-01-04 15:29:26 +0000
  • afa54b9e4a db:generate should use hours with leading zeros for migration timestamp Matt Button 2011-01-04 15:29:04 +0000
  • 39092409e6 Added a few lines to README Matt Button 2010-12-31 11:08:09 -0800
  • 3b16943795 Added beta note to README.md Matt Button 2010-12-31 12:39:37 +0000
  • 4a5cc8bcb8 Adding task to generate migration files Matt Button 2010-12-31 01:57:01 +0000
  • d463d9f873 Improving the output of db:migrate to show number of migrations run & also status of locations Matt Button 2010-12-31 00:51:07 +0000
  • 7ff67837b6 Refactored the migration model slightly, reduces the complexity and removes stupid code that shouldn't have been there in the first place Matt Button 2010-12-31 00:49:09 +0000
  • e4d8c740b5 Fixing a problem where an empty input was interpretted as a set of locations Matt Button 2010-12-31 00:48:33 +0000
  • 41a7392f15 Changing timestamps to be {year}{month}{day}{hour}{minute}{second} Matt Button 2010-12-30 15:04:09 +0000
  • d8f033f22a Adding schema dump for migrations table Matt Button 2010-12-30 04:27:20 +0000
  • 41ecb96fd6 Updated README. Added requirements, compatability notes, FAQ items Matt Button 2010-12-30 04:21:54 +0000
  • bebd8c0a92 Tasks should return their output rather than echo it Matt Button 2010-12-30 04:09:25 +0000
  • 8893886896 Updating README and changing controller to throw the right exception Matt Button 2010-12-30 04:08:32 +0000
  • 7794e69fe8 Fixed a bug in db:migrate where you couldn't specify FALSE as a target version Matt Button 2010-12-30 03:58:43 +0000
  • 6a90ec0c90 Adding mark_migration() method to migration model, allowing the manager to mark a migration as completed Matt Button 2010-12-30 03:51:20 +0000
  • 8406255305 Fixing a bug where the migration model gets mixed up if you pass in a numerically indexed array of locations as opposed to an associative one Matt Button 2010-12-30 03:42:03 +0000
  • 3021f5727b Removing superflous condition in migration model Matt Button 2010-12-30 03:33:16 +0000
  • 5247abc23a Fixed bug in db:migrate where it wasn't parsing input lists of locations properly Matt Button 2010-12-30 03:32:39 +0000
  • de7711942f Changing migration system so that the migration manager is responsible for organising dry-runs This makes more sense from a structural point of view, and reduces the complexity of the db:migrate code. Can now successfully do a dry run with query output :) Matt Button 2010-12-30 03:22:32 +0000
  • 09e3e57368 Changed Minion_Migration_Database so that it doesn't try and override Database::instance() Also, reset_query_stack() now returns an array of queries collected after resetting the stack Matt Button 2010-12-30 03:21:51 +0000
  • 765e4eddee Fixing a bug in the migration manager which prevented it from finding migration files Matt Button 2010-12-30 02:11:49 +0000
  • a3636f866f Fixing a bug where there are no versioned locations Matt Button 2010-12-30 02:10:08 +0000
  • e7b6911806 Outlined changes for dry run, refs #1 Matt Button 2010-12-29 04:30:25 +0000
  • e1a60f9d74 Added migration sync functionality between FS and DB table Matt Button 2010-12-29 04:29:05 +0000
  • d164f69f6a Added db/model setters to the migration manager Matt Button 2010-12-29 04:26:43 +0000
  • a127951df7 Fixing typo in function call in Migration manager Matt Button 2010-12-29 03:30:36 +0000
  • fbe91010ed Migration IDs are now {location}:{timestamp} Matt Button 2010-12-29 03:03:00 +0000
  • 181e2d7b67 Making it easier to pass data into db:migrate task outside of the cli Matt Button 2010-12-29 02:19:21 +0000
  • 0a2863ae9a Filling out the environment config option in db:migrate Matt Button 2010-12-29 01:10:11 +0000
  • 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 Matt Button 2010-12-29 01:01:32 +0000
  • e64ce18a71 Changing model methods so they return an array instead of a database result Matt Button 2010-12-29 00:46:07 +0000
  • 2bbd092572 Changing tasks so that allowed config options are stored in member variables Matt Button 2010-12-29 00:43:45 +0000
  • 114540af40 Fleshed out the manager code for running migrations Matt Button 2010-12-28 23:23:36 +0000
  • 1d3e2343c9 Renaming some methods and changing get_filename_from_migration() so it doesn't prepend migrations/ Matt Button 2010-12-28 23:23:01 +0000
  • 76f50ab4b9 Change migration manager to allow an instance of Model_Minion_Migration to be injected Matt Button 2010-12-28 17:51:17 +0000
  • 14ac8a4047 Migration model wasn't using correct target version when downgrading all locations. Adding a bugfix & test Matt Button 2010-12-28 17:40:40 +0000
  • 5fd227becd Added unit tests for migration model and fixed some bugs found with the tests :) Matt Button 2010-12-28 15:40:54 +0000
  • ae36d5d947 Added some more info to the documentation Matt Button 2010-12-28 05:24:04 +0000
  • 336c6506f3 Implemented code to parse user input on cli and pass it to migration manager Matt Button 2010-12-28 05:03:03 +0000
  • 1207916227 Updated the migration manager with some comments relevant to the previous commit Matt Button 2010-12-28 05:02:27 +0000
  • 66b3297c34 Bit of cleanup, also added a third param to specify default migration direction, and also merge targets with locations if targets is an array Matt Button 2010-12-28 05:01:22 +0000
  • 9e6cfc6a59 Fixed a few bugs and added sensible funtionality: Matt Button 2010-12-28 03:29:57 +0000
  • 8cadcbf309 Renaming 'module' to 'location' in migration related code, makes more sense Matt Button 2010-12-28 02:47:49 +0000
  • 9b0e6d7555 Updated one of the comments in the migrations model Matt Button 2010-12-25 03:21:43 +0000
  • 99046c117e Noticed a couple of bugs with query generation in the migration model, namely: Matt Button 2010-12-25 03:12:18 +0000
  • afe039fb4e Fixed a bug in the migration model where migrations that hadn't already been applied would be selected during rollback. Matt Button 2010-12-25 03:00:34 +0000
  • 76b0533072 Added migrations model for interacting with data in migrations table Matt Button 2010-12-25 02:52:51 +0000
  • 270a4e93e9 Adding a migration manger, no tests as of yet Matt Button 2010-12-24 17:52:58 +0000
  • 457321b0cc Added a note to the documentation running only minion tests Matt Button 2010-12-24 17:39:11 +0000
  • 82ba3323d6 Added some utility methods for managing migrations, includes tests Matt Button 2010-12-24 17:37:52 +0000
  • ff99409974 Modifying base migration to accept a database connection in up() and down() Matt Button 2010-12-24 17:35:17 +0000
  • ed98d5b7c8 Initial import Matt Button 2010-12-24 15:52:03 +0000