Skip to content
Browse files

sequel:db:reset uses :sequel_env

  • Loading branch information...
1 parent 64f0abc commit 2e76d4a03793e07b07a0b272be9e41c6c5abccb8 @pk pk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 merb_sequel/lib/merb_sequel/merbtasks.rb
View
2 merb_sequel/lib/merb_sequel/merbtasks.rb
@@ -15,7 +15,7 @@
end
desc "Drop all tables and perform migrations"
- task :reset => :merb_start do
+ task :reset => :sequel_env do
Sequel::Model.db.drop_table *Sequel::Model.db.tables
Sequel::Migrator.apply(Sequel::Model.db, "schema/migrations", ENV["VERSION"] ? ENV["VERSION"].to_i : nil)
end

0 comments on commit 2e76d4a

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