This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
migrator /
| name | age | message | |
|---|---|---|---|
| |
.document | ||
| |
.gitignore | ||
| |
LICENSE | ||
| |
README.rdoc | ||
| |
Rakefile | ||
| |
bin/ | ||
| |
features/ | ||
| |
lib/ | ||
| |
test/ |
README.rdoc
migrator
A different way of migrating
The aim of this project is to create a migration framework that can be embedded within any project that works with SQL, regardless of whether the project’s framework supports any type of migration framework.
Also, rather than dealing with a linear progression of migrations ordered by timestamps, migrator uses a dependency tree. For example, in order to run AddBooleanToUsers, CreateUsers must have already been run (or migrator will run it first).
Instead of persisting the history of migration executions in an arbitrary database table in the target database, a dotfile is used.
This is a project still in it’s infancy, and fully backed by a series of Cucumber features.
Note on Patches/Pull Requests
- Fork the project.
- Make your feature addition or bug fix.
- Add tests for it. This is important so I don’t break it in a future version unintentionally. Tests are written in Cucumber / Test::Unit
- Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
- Send me a pull request. Bonus points for topic branches.
Copyright
Copyright © 2009 Brennan Dunn. See LICENSE for details.








