Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/svenfuchs/micro_migrations
Minimal ActiveRecord standalone migrations
https://github.com/svenfuchs/micro_migrations
Last synced: about 2 months ago
JSON representation
Minimal ActiveRecord standalone migrations
- Host: GitHub
- URL: https://github.com/svenfuchs/micro_migrations
- Owner: svenfuchs
- License: mit
- Created: 2013-08-08T14:35:48.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-22T17:19:27.000Z (about 11 years ago)
- Last Synced: 2024-10-26T22:39:40.866Z (2 months ago)
- Language: Ruby
- Size: 127 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# micro_migrations
Minimal ActiveRecord standalone migrations.
Not as minimal as it can be in Rails 4, but we need this for Rails 3 and using
a GistGem (https://gist.github.com/svenfuchs/2087829) sometimes causes hassles.## Installation
Add this line to your application's Gemfile:
```ruby
gem 'micro_migrations'
# or this if you want to use from master
# gem 'micro_migrations', github: 'svenfuchs/micro_migrations'
```And then execute:
```bash
$ bundle
```Or install it yourself as:
```bash
$ gem install micro_migrations
```## Usage
Just require it in your `Rakefile`:
```ruby
require 'micro_migrations'
```## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request## License
See the [LICENSE](https://github.com/svenfuchs/micro_migrations/blob/master/LICENSE).