diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-25 17:13:58 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-25 17:13:58 +0000 |
commit | 8db9ecef08ee8afe600bdb2d95ead0162b8b43d4 (patch) | |
tree | ecf477a4dd955203267a82331cfca67b090b781a /lib/redmine/default_data | |
parent | 9fb40b1a2f700ce6e5bd31438fe9c9ef737555ab (diff) | |
download | redmine-8db9ecef08ee8afe600bdb2d95ead0162b8b43d4.tar.gz redmine-8db9ecef08ee8afe600bdb2d95ead0162b8b43d4.zip |
Removes column opt in enumerations table.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3240 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/default_data')
-rw-r--r-- | lib/redmine/default_data/loader.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/redmine/default_data/loader.rb b/lib/redmine/default_data/loader.rb index a88466727..7baeb976c 100644 --- a/lib/redmine/default_data/loader.rb +++ b/lib/redmine/default_data/loader.rb @@ -160,17 +160,17 @@ module Redmine } # Enumerations - DocumentCategory.create!(:opt => "DCAT", :name => l(:default_doc_category_user), :position => 1) - DocumentCategory.create!(:opt => "DCAT", :name => l(:default_doc_category_tech), :position => 2) + DocumentCategory.create!(:name => l(:default_doc_category_user), :position => 1) + DocumentCategory.create!(:name => l(:default_doc_category_tech), :position => 2) - IssuePriority.create!(:opt => "IPRI", :name => l(:default_priority_low), :position => 1) - IssuePriority.create!(:opt => "IPRI", :name => l(:default_priority_normal), :position => 2, :is_default => true) - IssuePriority.create!(:opt => "IPRI", :name => l(:default_priority_high), :position => 3) - IssuePriority.create!(:opt => "IPRI", :name => l(:default_priority_urgent), :position => 4) - IssuePriority.create!(:opt => "IPRI", :name => l(:default_priority_immediate), :position => 5) + IssuePriority.create!(:name => l(:default_priority_low), :position => 1) + IssuePriority.create!(:name => l(:default_priority_normal), :position => 2, :is_default => true) + IssuePriority.create!(:name => l(:default_priority_high), :position => 3) + IssuePriority.create!(:name => l(:default_priority_urgent), :position => 4) + IssuePriority.create!(:name => l(:default_priority_immediate), :position => 5) - TimeEntryActivity.create!(:opt => "ACTI", :name => l(:default_activity_design), :position => 1) - TimeEntryActivity.create!(:opt => "ACTI", :name => l(:default_activity_development), :position => 2) + TimeEntryActivity.create!(:name => l(:default_activity_design), :position => 1) + TimeEntryActivity.create!(:name => l(:default_activity_development), :position => 2) end true end |