Michael
d5244b9e72
Updated for Minion 3.4 - New
...
- New command will now work. As of the most recent update the _execute
function does not take arguments, and these have been removed.
2016-04-04 14:03:21 +10:00
f1ames
5d1e612515
table name with prefix also in checking query
2014-02-26 09:40:16 +01:00
f1ames
5ffab5e738
use table_prefix from database config when creating migrations table
2014-02-25 12:51:23 +01:00
Evan Purkhiser
bc28977d65
Cleanup coding style to conform to Kohana CS
...
- Added variable names to just about all @param tags
- Ensured proper alignment in doc block comments
- Ensured proper file spacing and trimmed all trailing whitespace
- Corrected improper languge construct formats (eg if () not if())
- Corrected some assignment operator alignment
- A few spelling corrections
- All classes pass `phpcs --Standard=Kohana` (asside from tests)
2012-10-24 04:08:09 -04:00
Evan Purkhiser
bc9cf3f440
Add a configuration option for the table name
2012-10-24 03:17:34 -04:00
Lorenzo Pisani
09da9b1c0e
fix migrations in 3.3.x
2012-10-23 23:45:12 -07:00
Lorenzo Pisani
526e589f3d
3.3.0 support
2012-10-23 23:06:52 -07:00
Evan Purkhiser
5e2d050247
Fix the new migration template
...
- The Kohana PHP security line now properly has a newline at the end of
it
- The new migration template view now also contains a newline at the
begining so that classes and the PHP opening line aren't all smushed
together
- Added the parameter name to the @param tag so phpcs stops complaining
2012-05-25 22:04:48 -04:00
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
cc193c43c6
filtering the files in the migrations folder (refs #18 )
2011-07-01 23:30:15 -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
b55a258760
Fix bug where migrations to +/- would not work properly. Fixes #16
2011-05-12 14:52:00 -05: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
Lorenzo Pisani
3e4edb1c0f
fixes #13 (fetch_current_versions fails when there are none that have been applied yet)
2011-03-02 14:30:30 -07: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
42001496eb
Adding tests for/fixing fetch_required_migrations() / resolve_target()
2011-02-17 23:53:15 +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