removed the puts statement and simplified the execute statement
This commit is contained in:
parent
9f789364b2
commit
e470ebfe4f
@ -40,12 +40,7 @@ namespace :test do
|
|||||||
end
|
end
|
||||||
|
|
||||||
namespace :db do
|
namespace :db do
|
||||||
task :create do
|
task :create => ['mysql:build_databases', 'postgresql:build_databases']
|
||||||
puts "*** creating mysql databases now ***"
|
|
||||||
Rake::Task['mysql:build_databases'].execute
|
|
||||||
puts "*** creating postgresql databases now ***"
|
|
||||||
Rake::Task['postgresql:build_databases'].execute
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
%w( mysql mysql2 postgresql sqlite3 sqlite3_mem firebird db2 oracle sybase openbase frontbase jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb ).each do |adapter|
|
%w( mysql mysql2 postgresql sqlite3 sqlite3_mem firebird db2 oracle sybase openbase frontbase jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb ).each do |adapter|
|
||||||
|
Loading…
Reference in New Issue
Block a user