Commit Graph

2 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 8a37bba8a8 drop columns in a postdeploy, not a predeploy
also when dropping columns, you either need to specify full arguments so
that the inferred down works, or add an explicit down (in this case,
explicit because the conditional may interfere with generation of the
inferred down)

Change-Id: I314b1b17bfee973182827303575b3662a04bbc47
Reviewed-on: https://gerrit.instructure.com/51541
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-04-03 16:00:09 +00:00