1
|
class ChangeNameLimit < ActiveRecord::Migration
|
2
|
def self.up
|
3
|
change_column :auth_sources, :name, :string, :limit => nil
|
4
|
change_column :custom_fields, :name, :string, :limit => nil
|
5
|
change_column :enumerations, :name, :string, :limit => nil
|
6
|
change_column :issue_categories, :name, :string, :limit => nil
|
7
|
change_column :issue_statuses, :name, :string, :limit => nil
|
8
|
change_column :projects, :name, :string, :limit => nil
|
9
|
change_column :roles, :name, :string, :limit => nil
|
10
|
change_column :trackers, :name, :string, :limit => nil
|
11
|
end
|
12
|
|
13
|
def self.down
|
14
|
change_column :auth_sources, :name, :string, :limit => 60
|
15
|
change_column :custom_fields, :name, :string, :limit => 30
|
16
|
change_column :enumerations, :name, :string, :limit => 30
|
17
|
change_column :issue_categories, :name, :string, :limit => 30
|
18
|
change_column :issue_statuses, :name, :string, :limit => 30
|
19
|
change_column :projects, :name, :string, :limit => 30
|
20
|
change_column :roles, :name, :string, :limit => 30
|
21
|
change_column :trackers, :name, :string, :limit => 30
|
22
|
end
|
23
|
end
|