Non-null constraints for quiz_submission_events
Closes CNVS-16408 TEST PLAN ---- ---- N/A Change-Id: I798cda1bd10fd4bc7c19253bbaefd7927efe56c0 Reviewed-on: https://gerrit.instructure.com/43205 Tested-by: Jenkins <jenkins@instructure.com> Reviewed-by: Ryan Taylor <rtaylor@instructure.com> Reviewed-by: Derek DeVries <ddevries@instructure.com> QA-Review: Derek DeVries <ddevries@instructure.com> Product-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
parent
6d5e5b1ee5
commit
657f9d14ef
|
@ -0,0 +1,9 @@
|
||||||
|
class AddNonNullConstraintsToQuizSubmissionEvents < ActiveRecord::Migration
|
||||||
|
tag :predeploy
|
||||||
|
|
||||||
|
def change
|
||||||
|
change_column_null :quiz_submission_events, :event_type, false
|
||||||
|
change_column_null :quiz_submission_events, :attempt, false
|
||||||
|
change_column_null :quiz_submission_events, :created_at, false
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue