1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: false
class ChangeWikiContentsCommentsLimitTo1024 < ActiveRecord::Migration[4.2]
def self.up
change_column :wiki_content_versions, :comments, :string, :limit => 1024, :default => ''
change_column :wiki_contents, :comments, :string, :limit => 1024, :default => ''
end
def self.down
change_column :wiki_content_versions, :comments, :string, :limit => 255, :default => ''
change_column :wiki_contents, :comments, :string, :limit => 255, :default => ''
end
end
|