summaryrefslogtreecommitdiffstats
path: root/db/migrate/20121026002032_add_enumerations_position_name.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-10-26 01:25:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-10-26 01:25:23 +0000
commit113f8b5cf278ff32bd55bf63aafe11c3f5a085f1 (patch)
tree0f3fc20120aa01c3f32e53874dbb89d009220921 /db/migrate/20121026002032_add_enumerations_position_name.rb
parenta679d19709cfbb935b18b66b779ac315b2d3f845 (diff)
downloadredmine-113f8b5cf278ff32bd55bf63aafe11c3f5a085f1.tar.gz
redmine-113f8b5cf278ff32bd55bf63aafe11c3f5a085f1.zip
Adds a textual css class for issue priorities (#12216).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10720 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/20121026002032_add_enumerations_position_name.rb')
-rw-r--r--db/migrate/20121026002032_add_enumerations_position_name.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20121026002032_add_enumerations_position_name.rb b/db/migrate/20121026002032_add_enumerations_position_name.rb
new file mode 100644
index 000000000..52cbe08eb
--- /dev/null
+++ b/db/migrate/20121026002032_add_enumerations_position_name.rb
@@ -0,0 +1,9 @@
+class AddEnumerationsPositionName < ActiveRecord::Migration
+ def up
+ add_column :enumerations, :position_name, :string, :limit => 30
+ end
+
+ def down
+ remove_column :enumerations, :position_name
+ end
+end