Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Support JDBC PostgreSQL for Rake tasks

  • Loading branch information...
commit 5ba5dfdd7f6bc66dc6a077edcccb12a177c9a887 1 parent b341e45
@francois francois authored
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
@@ -430,7 +430,7 @@ namespace :db do
when /mysql/
ActiveRecord::Base.establish_connection(:test)
ActiveRecord::Base.connection.recreate_database(abcs["test"]["database"], abcs["test"])
- when "postgresql"
+ when /postgresql/
ActiveRecord::Base.clear_active_connections!
drop_database(abcs['test'])
create_database(abcs['test'])

1 comment on commit 5ba5dfd

@AndreasWurm

already done..
c810281

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