RubyUtils/bin/db_migrate

8 lines
172 B
Ruby
Executable File

#!/usr/bin/env ruby
$LOAD_PATH << File.join(Dir.pwd, "lib")
require "app"
sequel_command = "bundle exec sequel -E -m db/migrations #{ENV['DB_URL']}"
exec(sequel_command)