Closed gittmaekawa closed 7 years ago
I changed the rake task and could avoid this problem:
#sequel-rails-0.9.14/lib/sequel_rails/railties/database.rake:
task :migrate => 'migrate:load' do
unless Dir[Rails.root.to_s + "/db/migrate/*"].blank?
SequelRails::Migrations.migrate_up!(ENV['VERSION'] ? ENV['VERSION'].to_i : nil)
Rake::Task["#{sequel_rails_namespace}:dump"].invoke if SequelRails.configuration.schema_dump
end
end
I encountered an error at
rake db:migrate
I stepped into with debugger and found a possibility that this happens when there is no file in db/migrate.