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

106 commits

Author SHA1 Message Date
Matt Button afe039fb4e Fixed a bug in the migration model where migrations that hadn't already
been applied would be selected during rollback.
2010-12-25 03:00:34 +00:00
Matt Button 76b0533072 Added migrations model for interacting with data in migrations table
Can currently

* Get all migrations
* Fetch the current version for each "module"
* Get a list of migrations that need to be run to bring the db up to date
2010-12-25 02:52:51 +00:00
Matt Button 270a4e93e9 Adding a migration manger, no tests as of yet 2010-12-24 17:54:23 +00:00
Matt Button 82ba3323d6 Added some utility methods for managing migrations, includes tests 2010-12-24 17:37:52 +00:00
Matt Button ff99409974 Modifying base migration to accept a database connection in up() and down() 2010-12-24 17:35:17 +00:00
Matt Button ed98d5b7c8 Initial import 2010-12-24 15:52:03 +00:00