banned_at shouldnt be neccessary

This commit is contained in:
Kyle Drake 2014-08-11 04:26:54 -07:00
parent 7445f8006b
commit 8e161c0099
2 changed files with 2 additions and 11 deletions

View file

@ -75,7 +75,7 @@ Sequel::Migrator.apply DB, './migrations'
Stripe.api_key = $config['stripe_api_key']
Dir.glob('models/*.rb').each {|m| require File.join(DIR_ROOT, "#{m}") }
DB.loggers << Logger.new(STDOUT) if ENV['RACK_ENV'] == 'development'
#DB.loggers << Logger.new(STDOUT) if ENV['RACK_ENV'] == 'development'
if ENV['RACK_ENV'] == 'development'
# If new, throw up a random Server for development.
@ -100,4 +100,4 @@ end
Sinatra::Application.set :erb, escape_html: true
# Session fix for Internet Fucking Explorer https://github.com/rkh/rack-protection/issues/11
Sinatra::Application.set :protection, except: :session_hijacking
Sinatra::Application.set :protection, except: :session_hijacking

View file

@ -1,9 +0,0 @@
Sequel.migration do
up {
DB.add_column :sites, :banned_at, :timestamp
}
down {
DB.drop_column :sites, :banned_at
}
end