diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-17 10:53:20 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-17 10:53:20 +0000 |
commit | d570bc5cc5ad2e04dfae94c1b2bb09cc35f61891 (patch) | |
tree | ae571adb731da0b690643853a59ccefc7c3848f3 /db/migrate | |
parent | 559b2069ac4427bb4368c0e7627590a6557cac33 (diff) | |
download | redmine-d570bc5cc5ad2e04dfae94c1b2bb09cc35f61891.tar.gz redmine-d570bc5cc5ad2e04dfae94c1b2bb09cc35f61891.zip |
Custom fields for issues can now be used as filters on issue list.
To use a custom field as a filter, check "Used as a filter" on the custom field edit screen.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@447 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/038_add_custom_field_is_filter.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/038_add_custom_field_is_filter.rb b/db/migrate/038_add_custom_field_is_filter.rb new file mode 100644 index 000000000..519ee0bd5 --- /dev/null +++ b/db/migrate/038_add_custom_field_is_filter.rb @@ -0,0 +1,9 @@ +class AddCustomFieldIsFilter < ActiveRecord::Migration + def self.up + add_column :custom_fields, :is_filter, :boolean, :null => false, :default => false + end + + def self.down + remove_column :custom_fields, :is_filter + end +end |