From 8e161c009939b967494ff8e543f1672b4fa9cc4c Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Mon, 11 Aug 2014 04:26:54 -0700 Subject: [PATCH] banned_at shouldnt be neccessary --- environment.rb | 4 ++-- migrations/039_add_banned_at.rb | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 migrations/039_add_banned_at.rb diff --git a/environment.rb b/environment.rb index a5da18a3..f94c4110 100644 --- a/environment.rb +++ b/environment.rb @@ -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 \ No newline at end of file diff --git a/migrations/039_add_banned_at.rb b/migrations/039_add_banned_at.rb deleted file mode 100644 index 2dfe5fac..00000000 --- a/migrations/039_add_banned_at.rb +++ /dev/null @@ -1,9 +0,0 @@ -Sequel.migration do - up { - DB.add_column :sites, :banned_at, :timestamp - } - - down { - DB.drop_column :sites, :banned_at - } -end \ No newline at end of file