https://github.com/errm/slodd
Schema Loading On Dependent Databases
https://github.com/errm/slodd
Last synced: about 1 year ago
JSON representation
Schema Loading On Dependent Databases
- Host: GitHub
- URL: https://github.com/errm/slodd
- Owner: errm
- License: mit
- Created: 2013-07-19T09:51:40.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2017-12-12T13:20:57.000Z (over 8 years ago)
- Last Synced: 2024-04-24T16:04:48.064Z (about 2 years ago)
- Language: Ruby
- Size: 59.6 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Schema Loading On Dependent Databases
=====================================
[](https://travis-ci.org/errm/slodd)
[](http://badge.fury.io/rb/slodd)
[](https://codeclimate.com/github/errm/slodd)
[](https://codeclimate.com/github/errm/slodd)
Slodd is a lightweight tool for loading an activerecord schema.rb into a database, like rake db:schema:load but more awesome.
## Examples:
### Loading schema from github:
`slodd -g errm/awesome_rails_app -t my-secret-oauth-token -d "awesome_app awesome_test"`
or from a specific branch:
`slodd -g errm/awesome_rails_app -t my-secret-oauth-token -r my-brillant-branch -d "awesome_app awesome_test"`
### Loading schema from a file (defaults to db/schema.rb):
`slodd -d awesome_test`
or
`slodd -f db/second_database.schema.rb -d awesome_test`
### Downloading a schema (or any text file) from github
`gurl -g errm/awesome_rails_app -t my-secret-oauth-token -r my-fancy-branch`
## Licence
[MIT](LICENCE)