Commit Graph

3 Commits

Author SHA1 Message Date
Cody Cutrer 884534ffa5 Rails 5: fix Rails version migration deprecation warning
also pins all migrations to Rails 4.2 semantics

Change-Id: I386566f7a1f3e3e8aa31675f467c87c443457aee
Reviewed-on: https://gerrit.instructure.com/95571
Reviewed-by: Simon Williams <simon@instructure.com>
Tested-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-11-17 23:46:22 +00:00
Cody Cutrer 972b3b6ac8 fix Rails 5 deprecation warnings in migrations
except for CleanseTheSyckness, where serialized_attributes has been
removed without replacement

Change-Id: Ie0d81c17effa4b40b285f5d7108fa2586a8ce9ab
Reviewed-on: https://gerrit.instructure.com/89330
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-08-31 22:09:34 +00:00
Spencer Olson 5fe8e3bd14 set up grading_period model, migration, and tests
closes CNVS-15906

test plan:
-run rake db:migrate
-verify the migration successfully runs, creating the grading_periods table and adding the index for course_id and account_id

Change-Id: If991a00fc79bc4aecabe8189a43432e2158709c8
Reviewed-on: https://gerrit.instructure.com/42161
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Reviewed-by: Josh Simpson <jsimpson@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Spencer Olson <solson@instructure.com>
2014-10-06 20:26:00 +00:00