Matt Button
8800a290de
Rethrow exception if migration fails, refs #27
2011-07-13 22:31:22 +01:00
Matt Button
0395d8f25d
Don't exit with a zero status code on migration failure, fixes #27
2011-07-13 22:28:50 +01:00
Lorenzo Pisani
5f1fecf77d
Merge branch '3.1/develop' into 3.2/develop
2011-07-01 23:32:51 -07:00
Lorenzo Pisani
307181ccc4
Moving the util methods to the model (refs #11 )
2011-07-01 23:18:05 -07:00
Lorenzo Pisani
745c40dfc9
Merge branch '3.1/develop' into 3.2/develop
2011-07-01 20:57:27 -07:00
Lorenzo Pisani
6005b85670
fixing the documentation for migrations:new
2011-07-01 20:56:12 -07:00
Lorenzo Pisani
c6e24b2d81
updating documentation (refs #11 )
2011-07-01 20:49:20 -07:00
Lorenzo Pisani
1d3f5e736c
removing the migrate-* prefix to the migrations:run options (refs #11 )
2011-07-01 20:48:30 -07:00
Lorenzo Pisani
b97efcf806
renaming the migration tasks for cleaner separation (refs #11 )
2011-07-01 20:47:01 -07:00
Lorenzo Pisani
a6fd63a035
Merge remote branch 'minion/3.1/develop' into 3.2/develop
2011-07-01 20:33:25 -07:00
Michał Matyas
fca8ccdf77
created possibility of writing generated code directly into migration
2011-06-30 14:46:58 +02:00
Michał Matyas
f30cca150b
moved generating of migration to public method so it can be used for other tasks
2011-06-30 14:40:24 +02:00
Matt Button
5a1fecabe1
Updating config for 3.2
2011-06-27 20:57:21 +01:00
Michał Matyas
b1fa2b7cb0
fixing unproperly handled lack of description
2011-06-26 11:21:18 +02:00
Lorenzo Pisani
8b38ab7025
Some better group validation and usage of Minion_CLI to clean up output code. (refs #22 )
2011-06-25 23:11:09 -07:00
Lorenzo Pisani
5d3bf345ba
refactoring some of the code to prevent some errors (refs #22 )
2011-06-25 22:55:13 -07:00
Michał Matyas
25848a26c0
making descriptions optional
2011-06-26 04:05:13 +02:00
Michał Matyas
7b0fc8bdb6
removing default path from configuration and adding support for --location
2011-06-26 03:41:52 +02:00
Michał Matyas
0eba2a0f02
Add creating directories for migrations if they don't exist
2011-06-26 01:23:17 +02:00
Michał Matyas
3fc98e5866
modified groups to work like groups and not like location
2011-06-25 19:47:13 +02:00
Jeremy Bush
e6cdf3ce32
Fix bad variable call, Fixes #15
2011-05-12 14:23:15 -05:00
Jeremy Bush
64d87e1be9
Add config option to hard prevent migrations before a certain date from running
2011-05-12 14:14:09 -05:00
Bob Eagan
483d9dac79
if target is null and down is false, then assume up is true
2011-02-18 17:49:06 -07:00
Matt Button
110e510e54
Removing syntax typo in migration manager
2011-02-18 15:45:47 +00:00
Matt Button
fbd5416594
Fixing up comment in migrate task
2011-02-18 02:23:45 +00:00
Matt Button
e42be14cc6
Refactored the migrate view & removed some var_dump calls
2011-02-18 02:20:47 +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
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
12670e28ef
Removing non-migration related files
...
In an ideal world I would've been able to simply strip out the unwanted stuff
using git filter-branch, however it seems that command is limited to only one subdirectory
2011-02-06 01:35:23 +00:00
Matt Button
8c92824af1
Adding syspath checks to files
2011-01-31 17:38:04 +00:00
Matt Button
628f2b21c3
Small typo fix in doccomment
2011-01-31 17:33:06 +00:00
Matt Button
8fc8ea440e
Updating code to follow kohana coding standards
2011-01-31 17:28:58 +00:00
Bob Eagan
f7a15027d9
fixes #15 - uses array_merge instead of + to prevent overwriting of migrations
2011-01-29 05:17:54 +08:00
Matt Button
3a0067b78e
Updated the cache:purge task to actually purge caches
2011-01-24 17:44:17 +00:00
Matt Button
fccbda3341
Moved the cahce purge task to its proper location
2011-01-24 17:30:29 +00:00
Matt Button
5648f47110
Ensure the migrations table exists before running migrations, fixes #9
2011-01-21 01:18:08 +00:00
Matt Button
f47bce9bc8
Give more helpful error messages when a migration fails
2011-01-21 00:45:35 +00:00
Matt Button
eb907da7f4
Adding db:status to report the status of migrations that have been run
2011-01-20 23:57:03 +00:00
Matt Button
f4538e6713
Moving logic for searching for available migrations into the model
...
Also added a method for getting the status of all locations, regaurdless of whether they're installed.
2011-01-20 23:53:59 +00:00
Matt Button
a6f8b15b77
Removing --environment switch for db migrations, refs #6
2011-01-10 16:04:09 +00:00
Matt Button
959d130669
Added basis for migrations deciding what db connection to use, refs #6
2011-01-10 16:01:40 +00:00
Matt Button
363576919d
Merge branch 'develop' of git://github.com/BRMatt/kohana-minion into develop
2011-01-07 15:02:43 +00:00
Matt Button
64fec1190b
Fix classname bug in db:generate when an empty location is used. fixes #3
2011-01-07 15:02:19 +00:00
Andrew Hutchings
d85ba5037b
Fix typos
2011-01-07 22:43:56 +08:00
Matt Button
f9378730ba
Fixing silly parameter miss match in db:migrate
2011-01-04 16:02:02 +00:00
Matt Button
afa54b9e4a
db:generate should use hours with leading zeros for migration timestamp
2011-01-04 15:29:04 +00:00
Matt Button
4a5cc8bcb8
Adding task to generate migration files
2010-12-31 02:04:25 +00:00
Matt Button
d463d9f873
Improving the output of db:migrate to show number of migrations run & also status of locations
2010-12-31 00:51:07 +00:00
Matt Button
e4d8c740b5
Fixing a problem where an empty input was interpretted as a set of locations
2010-12-31 00:48:33 +00:00
Matt Button
bebd8c0a92
Tasks should return their output rather than echo it
2010-12-30 04:09:25 +00:00