backfill for DefaultLimitPrivilegesToCourseSection
refs CORE-292 test plan - specs should pass Change-Id: I70902e30b03c5de7bf36e41b6d891aecaca42c82 Reviewed-on: https://gerrit.instructure.com/143091 Reviewed-by: Cody Cutrer <cody@instructure.com> Tested-by: Jenkins Product-Review: Rob Orton <rob@instructure.com> QA-Review: Rob Orton <rob@instructure.com>
This commit is contained in:
parent
9d16880648
commit
db1cbe95ca
|
@ -20,6 +20,7 @@ class DefaultLimitPrivilegesToCourseSection < ActiveRecord::Migration[5.0]
|
|||
|
||||
def up
|
||||
change_column_default(:enrollments, :limit_privileges_to_course_section, false)
|
||||
DataFixup::BackfillNulls.run(Enrollment, [:limit_privileges_to_course_section])
|
||||
change_column_null(:enrollments, :limit_privileges_to_course_section, false)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue