Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hph/farfugl
Run old Rails migrations without code dependence problems
https://github.com/hph/farfugl
Last synced: 10 days ago
JSON representation
Run old Rails migrations without code dependence problems
- Host: GitHub
- URL: https://github.com/hph/farfugl
- Owner: hph
- License: mit
- Created: 2014-01-18T17:13:16.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-28T03:41:54.000Z (over 10 years ago)
- Last Synced: 2024-10-13T07:22:08.416Z (25 days ago)
- Language: Ruby
- Homepage:
- Size: 184 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Farfugl
=======[![Gem Version](https://badge.fury.io/rb/farfugl.png)](http://badge.fury.io/rb/farfugl)
Migrating an old database with old migrations can be a pain because the
migrations often depend on code that doesn't exist in the latest version of the
application. The simplest solution is to checkout to the commit where each
migration was introduced (or last modified) and run each migration from there,
but this can be time-consuming and tedious. **Farfugl** automates this process.### Setup
You can install **Farfugl** on your system like any other gem:
gem install farfugl
You can also add `gem 'farfugl'` to your Rails application's Gemfile and run
`bundle`.### Usage
Please note that **Farfugl** is still under development and *may* not be
completely stable; always create backups of your database before using it.Running **Farfugl** is simple:
rake farfugl:migrate