Skip to content
Browse files

Merge pull request #4834 from sskirby/fix_usage_of_psql_in_db_test_pr…

…epare

Fix usage of psql in db:test:prepare
  • Loading branch information...
2 parents 04c0aea + 745fbd1 commit 957da557027e5278b80165b0cb4f48dd837045af @tenderlove tenderlove committed Feb 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/railties/databases.rake
View
2 activerecord/lib/active_record/railties/databases.rake
@@ -420,7 +420,7 @@ db_namespace = namespace :db do
end
when /postgresql/
set_psql_env(abcs[env])
- `psql -f "#{filename}" #{abcs[env]['database']} #{abcs[env]['template']}`
+ `psql -f "#{filename}" #{abcs[env]['database']}`
when /sqlite/
dbfile = abcs[env]['database']
`sqlite3 #{dbfile} < "#{filename}"`

0 comments on commit 957da55

Please sign in to comment.
Something went wrong with that request. Please try again.