lib/merb_sequel/merbtasks.rb in merb_sequel-0.9.2 vs lib/merb_sequel/merbtasks.rb in merb_sequel-0.9.3

- old
+ new

@@ -9,10 +9,10 @@ namespace :db do desc "Perform migration using migrations in schema/migrations" task :migrate => :merb_start do - Sequel::Migrator.apply(Merb::Orms::Sequel.connect, "schema/migrations", ENV["VERSION"] ? ENV["VERSION"].to_i : nil) + Sequel::Migrator.apply(Sequel::Model.db, "schema/migrations", ENV["VERSION"] ? ENV["VERSION"].to_i : nil) end end namespace :sessions do