load the schema into the correct db
This commit is contained in:
parent
d0b5793b36
commit
cef7285621
2
Rakefile
2
Rakefile
|
@ -6,7 +6,7 @@ namespace :db do
|
|||
sh "createdb travis_#{env}" rescue nil
|
||||
sh "createdb travis_logs_#{env}" rescue nil
|
||||
sh "psql -q travis_#{env} < #{Gem.loaded_specs['travis-migrations'].full_gem_path}/db/structure.sql"
|
||||
sh "psql -q travis_#{env} < #{Gem.loaded_specs['travis-migrations'].full_gem_path}/db/travis_logs_structure.sql"
|
||||
sh "psql -q travis_logs_#{env} < #{Gem.loaded_specs['travis-migrations'].full_gem_path}/db/travis_logs_structure.sql"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user