mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-21 04:27:47 +01:00
add migrating db
This commit is contained in:
parent
7ad1a9fb53
commit
0dfe4ffa57
1 changed files with 2 additions and 1 deletions
|
@ -3,4 +3,5 @@ rvm: 2.1
|
|||
before_script:
|
||||
- psql -c 'create database justask_test;' -U postgres
|
||||
- cp config/database.yml.postgres config/database.yml
|
||||
- cp config/justask.yml.example config/justask.yml
|
||||
- cp config/justask.yml.example config/justask.yml
|
||||
- bundle exec rake:db migrate
|
Loading…
Reference in a new issue