Browse Source

fix bad variable

master
Richard Cagle 1 year ago
parent
commit
b9c87de27f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Rakefile

+ 1
- 1
Rakefile View File

@@ -9,7 +9,7 @@ require "sinatra"
require "sinatra/reloader" if development?

ActiveRecord::Base.logger = Logger.new("debug.log")
ActiveRecord::Base.establish_connection(configuration[ENV.fetch("APP_ENV")].merge({ database: ENV.fetch("DB_NAME") }))
ActiveRecord::Base.establish_connection(ENV.fetch("DATABASE_URL"))

task default: :migrate


Loading…
Cancel
Save