Skip to content

Commit

Permalink
turn psych migration on for everywhere
Browse files Browse the repository at this point in the history
closes #CNVS-28848

Change-Id: Ib571832616d0c08431eab95fe6e9a53bb4c016ec
Reviewed-on: https://gerrit.instructure.com/77519
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
  • Loading branch information
maneframe committed Apr 21, 2016
1 parent 7851627 commit 5d3cafe
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions db/migrate/20160210153643_begin_psych_migration.rb
Expand Up @@ -3,16 +3,6 @@ class BeginPsychMigration < ActiveRecord::Migration

disable_ddl_transaction!

def self.runnable? # TODO: Remove when we're ready to run this everywhere
if ENV['RUN_PSYCH_MIGRATION']
true
elsif ApplicationController.respond_to?(:test_cluster?)
ApplicationController.test_cluster?
else
true
end
end

def up
DataFixup::PsychMigration.run if CANVAS_RAILS4_0 || !Rails.env.test?
end
Expand Down

0 comments on commit 5d3cafe

Please sign in to comment.