11 lines
326 B
Ruby
11 lines
326 B
Ruby
class ChangeMergeErrorToText < ActiveRecord::Migration[4.2]
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
DOWNTIME = true
|
|
DOWNTIME_REASON = 'This migration requires downtime because it alters a column from varchar(255) to text.'
|
|
|
|
def change
|
|
change_column :merge_requests, :merge_error, :text, limit: 65535
|
|
end
|
|
end
|