make old migration a post_deploy

fixes CORE-1170
fixes gh-1260

test plan
 - check out a copy of Canvas from early 2016
 - create a developer key
 - update to latest master
 - migrations should run

Change-Id: I455fcc3ace5c9f24096842f0bb4726d6e62a1b77
Reviewed-on: https://gerrit.instructure.com/144426
Reviewed-by: Omar Khan <okhan@instructure.com>
Tested-by: Jenkins
Product-Review: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
This commit is contained in:
Rob Orton 2018-03-21 17:01:43 -06:00
parent 9b576140cc
commit 175a541792
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
# with this program. If not, see <http://www.gnu.org/licenses/>.
class AddRedirectUrisToDeveloperKeys < ActiveRecord::Migration[4.2]
tag :predeploy
tag :postdeploy
def change
add_column :developer_keys, :redirect_uris, :string, array: true, default: [], null: false