Remove rake
This commit is contained in:
1 parent
cde8e13705
commit
9a554a764a
5 files changed
+14
-39
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require "dotenv/load" if ENV.fetch("RACK_ENV", "development") == "development"
|
||||
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."
|
||||
Reference in new issue
Block a user