I'm trying to setup migrations using 'rom/sql/rake_task'.
Here is my sample, but sadly it isn't working as it's complaining about a missing sequel adaptor. Any assistance or direction would be appreciated?
require 'sqlite3'
require 'rom-sql'
require 'rom/sql/rake_task'
namespace :db do
  task :setup do
    ROM.setup(:sql, 'sqlite_memory')
    ROM.finalize
    ROM::SQL.migration do
      change do
        create_table(:users) do
          primary_key :id
          String :name
        end
      end
    end
  end
end
 
                        
Complete example: https://github.com/gotar/sinatra-rom
after you add
to Rakefile you will get few Raketasks (rake -T) to list them,
and then
and in file it will create, you can add your migration.
Thats all