# frozen_string_literal: true

#
# Copyright (C) 2022 - 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 ChangeContentSharesNameToText < ActiveRecord::Migration[6.0]
  tag :predeploy

  def change
    change_column :content_shares, :name, :text
  end
end

Change type of content_shares.name to text
Change type of content_shares.name to text

closes LS-3036
flag = none

Change-Id: Idf26d753b0bced34f33dc0619b693a93df8e6dd7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/286935
Tested-by: Service Cloud Jenkins <9144042a601061f88f1e1d7a1753ea3e2972119d@instructure.com>
Reviewed-by: Isaac Moore <258108225390078ef47d1319acab49ad7948abf1@instructure.com>
Reviewed-by: Robin Kuss <0b206b54367b2de0334896ea45826f0e3194bd35@instructure.com>
QA-Review: Robin Kuss <0b206b54367b2de0334896ea45826f0e3194bd35@instructure.com>
Migration-Review: Jeremy Stanley <b3f594e10a9edcf5413cf1190121d45078c62290@instructure.com>
Product-Review: Jackson Howe <318c10a818c1b1f2ec50cdcb1827b2c6c5ebd7dc@instructure.com>
