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

150 commits

Author SHA1 Message Date
Lorenzo Pisani 3d412dd2aa Merge pull request #34 from EvanPurkhiser/template-CS-corrections
Template coding standards corrections
2012-06-05 01:52:03 -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
Lorenzo Pisani 916268f2cb Merge branch '3.1/develop' into 3.2/develop 2011-09-12 14:26:19 -07:00
Lorenzo Pisani 01f49c5676 Merge pull request #29 from d4rky-pl/fix/database-schema
Changed minion_migrations table to use utf-8 rather than latin1
thanks :)
2011-09-12 14:24:35 -07:00
Michał Matyas 2431f23c06 Changed minion_migrations table to use utf-8 rather than latin1 2011-09-12 23:17:51 +02:00
Lorenzo Pisani 238bb4373a Merge branch '3.1/develop' into 3.2/develop 2011-07-19 11:38:05 -07:00
Lorenzo Pisani c1c96ffde3 fixing comments in unittests 2011-07-19 11:37:34 -07:00
Matt Button b2e1af6b71 Rethrow exception if migration fails, refs #27 2011-07-13 22:31:36 +01: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
Matt Button 981b81c43d Don't exit with a zero status code on migration failure, fixes #27 2011-07-13 14:19:13 -07:00
Lorenzo Pisani 5f1fecf77d Merge branch '3.1/develop' into 3.2/develop 2011-07-01 23:32:51 -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 cc193c43c6 filtering the files in the migrations folder (refs #18) 2011-07-01 23:30:15 -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
Lorenzo Pisani 307181ccc4 Moving the util methods to the model (refs #11) 2011-07-01 23:18:05 -07:00
Lorenzo Pisani 04172692df Merge branch '3.1/develop' into 3.2/develop 2011-07-01 21:01:01 -07:00
Lorenzo Pisani 48df2fe47e missed a reference to db:status (refs #11) 2011-07-01 21:00:49 -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
Matt Button 212b525b6b Merge pull request #26 from d4rky-pl/mod/db-migrate
Refactors the migrate:generate task to allow separate tasks to generate migrations with custom up/down code. Thanks Michał!
2011-06-30 13:46:05 -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
Lorenzo Pisani 3c8d16ce55 Merge pull request #23 from d4rky-pl/fix/descriptions
fixing unproperly handled lack of description
2011-06-29 21:53:59 -07: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
Lorenzo Pisani 2cb4566e96 Merge remote branch 'remotes/d4rky/develop' into develop 2011-06-25 22:40:37 -07:00
Michał Matyas 25848a26c0 making descriptions optional 2011-06-26 04:05:13 +02:00
Michał Matyas 67bdc628e7 removed default path from configuration 2011-06-26 03:49:49 +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 f7b1b1151e fixed default path in configuration file 2011-06-26 01:18:42 +02:00
Michał Matyas 3fc98e5866 modified groups to work like groups and not like location 2011-06-25 19:47:13 +02:00
Matt Button 89932a9417 Merge pull request #20 from sittercity/develop
Add config option to hard prevent migrations before a certain date from r
2011-05-13 07:56:27 -07: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 99eca42020 Coding standards fix 2011-02-18 15:47:46 +00: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