redmine/db/migrate/20151021184614_change_issue_categories_name_limit_to_60.rb
Jean-Philippe Lang 05106b45ad Raises maximum length of category name to 60 (#20991).
git-svn-id: http://svn.redmine.org/redmine/trunk@14724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-21 18:52:12 +00:00

10 lines
311 B
Ruby

class ChangeIssueCategoriesNameLimitTo60 < ActiveRecord::Migration
def self.up
change_column :issue_categories, :name, :string, :limit => 60, :default => "", :null => false
end
def self.down
change_column :issue_categories, :name, :string, :limit => 30, :default => "", :null => false
end
end