1
0
Fork 0
mirror of https://github.com/Oreolek/kohana-migrations.git synced 2024-06-16 23:11:06 +03:00
Commit graph

157 commits

Author SHA1 Message Date
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
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 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 a880742631 Change link to issue tracker, fixes #21 - thanks Bob! 2011-02-03 10:53:26 -08: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
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
Bob Eagan f7a15027d9 fixes #15 - uses array_merge instead of + to prevent overwriting of migrations 2011-01-29 05:17:54 +08:00
Bob Eagan 0c35486157 adding .gitignore file 2011-01-29 05:17:54 +08:00
Matt Button 34564b0283 Merge branch 'develop' of github.com:BRMatt/kohana-minion into develop 2011-01-25 05:03:18 +00: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 26208a3255 Followup to previous, just bolded the note 2011-01-23 10:34:29 -08:00
Matt Button 8a646acd6b Made "Don't pm me" message more prominent 2011-01-23 10:14:09 -08:00
Matt Button 36d92858da Fixing old typo in one of the tests 2011-01-21 01:39:36 +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 74eeb0aa3d Renaming schema.sql to minion_schema.sql 2011-01-21 01:17:14 +00:00
Matt Button f47bce9bc8 Give more helpful error messages when a migration fails 2011-01-21 00:45:35 +00:00
Matt Button 95e450c43e Fixing reference to old table names in test data, references #10 2011-01-21 00:45:00 +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 676f364ecd Fixing bug when a task doesn't have any config options 2011-01-20 23:53:23 +00:00
Matt Button 0d433aabf4 Minion isn't part of kohana so don't put it in that location 2011-01-20 23:45:43 +00:00
Matt Button 973a1d10ea Namespacing the migrations table, fixes #10 2011-01-20 23:12:06 +00:00
Matt Button 75c2c27f08 Fixing slight bug in minion bash script 2011-01-20 22:58:01 +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 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 3f7e6653e4 Fixing minion bash script to escape params passed to kohana 2011-01-10 15:36:16 +00:00
Matt Button d9bc6f6cb7 Adding table() method to migrations model 2011-01-10 14:15:07 +00:00
Matt Button 36646106e8 Pass the exit code back out when using the bash script 2011-01-09 01:01:52 +00:00
Matt Button b2f9e95bb0 Corrected README ala kiall's suggestions 2011-01-09 01:00:34 +00:00
Matt Button 010744fb84 Fixing typo in README 2011-01-09 00:51:53 +00:00
Matt Button 69ea47f514 Forgot to add --uri option in binary\! 2011-01-09 00:49:48 +00:00
Matt Button 65230921c6 Added binary file for easier interaction with minion 2011-01-09 00:47:41 +00:00
Matt Button 19096e5901 Allow users to use --help and --task instead of uri
--help will force the controller action to be help (aka --uri=minion/help/{task})
--task={task} will force the current task to be {task}

Both override uri values
2011-01-09 00:38:47 +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