summaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20151021184614_change_issue_categories_name_limit_to_60.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20151021184614_change_issue_categories_name_limit_to_60.rb b/db/migrate/20151021184614_change_issue_categories_name_limit_to_60.rb
new file mode 100644
index 000000000..b9c971edf
--- /dev/null
+++ b/db/migrate/20151021184614_change_issue_categories_name_limit_to_60.rb
@@ -0,0 +1,9 @@
+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