Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #9005 from ranjaykrishna/dbcreate

added  a db create rake task.
  • Loading branch information...
commit 5503796096eb0edbe1ed554a6c8d3fdc98314231 2 parents 74c2af5 + e470ebf
@tenderlove tenderlove authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 activerecord/Rakefile
View
4 activerecord/Rakefile
@@ -39,6 +39,10 @@ namespace :test do
end
end
+namespace :db do
+ task :create => ['mysql:build_databases', 'postgresql:build_databases']
+end
+
%w( mysql mysql2 postgresql sqlite3 sqlite3_mem firebird db2 oracle sybase openbase frontbase jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb ).each do |adapter|
Rake::TestTask.new("test_#{adapter}") { |t|
adapter_short = adapter == 'db2' ? adapter : adapter[/^[a-z0-9]+/]
Please sign in to comment.
Something went wrong with that request. Please try again.