mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
Update contrib. guide re: migrating PG test db
This commit is contained in:
parent
c97eb17045
commit
e03d272dd7
1 changed files with 6 additions and 6 deletions
|
@ -76,12 +76,12 @@ DB=postgres bundle exec rake prepare
|
|||
# If this is the first test run ever, create databases.
|
||||
# Unlike mysql, use create/migrate instead of setup.
|
||||
cd test/dummy
|
||||
RAILS_ENV=test bundle exec rake db:create
|
||||
RAILS_ENV=test bundle exec rake db:migrate
|
||||
RAILS_ENV=foo bundle exec rake db:create
|
||||
RAILS_ENV=foo bundle exec rake db:migrate
|
||||
RAILS_ENV=bar bundle exec rake db:create
|
||||
RAILS_ENV=bar bundle exec rake db:migrate
|
||||
DB=postgres RAILS_ENV=test bundle exec rake db:create
|
||||
DB=postgres RAILS_ENV=test bundle exec rake db:migrate
|
||||
DB=postgres RAILS_ENV=foo bundle exec rake db:create
|
||||
DB=postgres RAILS_ENV=foo bundle exec rake db:migrate
|
||||
DB=postgres RAILS_ENV=bar bundle exec rake db:create
|
||||
DB=postgres RAILS_ENV=bar bundle exec rake db:migrate
|
||||
cd ../..
|
||||
|
||||
# Run tests
|
||||
|
|
Loading…
Reference in a new issue