peilaus alkaen
https://github.com/redmine/redmine.git
synced 2024-08-01 08:18:13 +02:00
7b12145ed9
git-svn-id: http://svn.redmine.org/redmine/trunk@14622 e93f8b46-1217-0410-a6f0-8f06a7374b81
12 rivejä
471 B
Ruby
12 rivejä
471 B
Ruby
class ChangeWikiContentsCommentsLimitTo1024 < ActiveRecord::Migration
|
|
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
|