fix migration

Change-Id: Ib22e5063de8c48f5699a9ae491743035b3d6ef87
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/265806
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
Rob Orton 2021-05-26 10:42:06 -06:00
parent 7e8a2f019e
commit d5a8d185c9
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@
class CreateMentions < ActiveRecord::Migration[6.0]
tag :predeploy
disable_ddl_transaction!
def up
unless table_exists? :mentions