add root_account_ids to learning_outcomes

refs OUT-3641
flag=none

Change-Id: If12ee39e323e0f7b36f403595f66af1176de229d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/240474
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
This commit is contained in:
Michael Brewer-Davis 2020-06-17 12:32:09 -05:00 committed by Michael Brewer-Davis
parent 9373400817
commit 2b054eb5d4
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
#
# Copyright (C) 2020 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
class AddRootAccountIdsToLearningOutcomes < ActiveRecord::Migration[5.2]
tag :predeploy
disable_ddl_transaction!
def change
add_column :learning_outcomes, :root_account_ids, :bigint, array: true, if_not_exists: true
end
end