SQL Schema and migrations for ManageIQ.
See the section on plugins in the ManageIQ Developer Setup
For quick local setup run
bin/setup, which will clone the core ManageIQ repository under the spec directory and setup necessary config files. If you have already cloned it, you can run
bin/update to bring the core ManageIQ code up to date.
Unlike other ManageIQ plugins, the schema plugin uses a dummy application in spec/dummy instead of the usual spec/manageiq. This ensure that schema migrations are not dependent on any models or files in ManageIQ core.
To run the tests:
- If necessary, copy
spec/dummy/config/database.ymland modify it to access your local database
spec/dummy/config/database.ymlif it doesn't exist
- Generates random database region number
rake(Run all migration tests)
The gem is available as open source under the terms of the Apache License 2.0.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request