Arthur POULET
5b867e3d3e
Previous db migration was a custom home-made system. Now we use proper Sequel migrations.
8 lines
172 B
Ruby
Executable File
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)
|