12 lines
232 B
Ruby
12 lines
232 B
Ruby
#!/usr/bin/env ruby
|
|
|
|
require_relative "../lib/database"
|
|
|
|
Sequel.extension :migration
|
|
|
|
migrations_path = File.expand_path("../db/migrations", __dir__)
|
|
|
|
Sequel::Migrator.run(DB, migrations_path)
|
|
|
|
puts "Database schema is up to date."
|