diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-05 12:20:07 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-05 12:20:07 +0000 |
commit | 4cecc1beeda2337f50090d9fc0fe1d54fb8d54e2 (patch) | |
tree | ae525d4ae044a57c48e01462eb76e34e485ed6e3 /db | |
parent | 51a1bf90dda6bc22b29b3801fbb7139b891376e5 (diff) | |
download | redmine-4cecc1beeda2337f50090d9fc0fe1d54fb8d54e2.tar.gz redmine-4cecc1beeda2337f50090d9fc0fe1d54fb8d54e2.zip |
Ability to disable standard fields on a per tracker basis (#1091).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9912 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20120705074331_add_trackers_fields_bits.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20120705074331_add_trackers_fields_bits.rb b/db/migrate/20120705074331_add_trackers_fields_bits.rb new file mode 100644 index 000000000..5d8458382 --- /dev/null +++ b/db/migrate/20120705074331_add_trackers_fields_bits.rb @@ -0,0 +1,9 @@ +class AddTrackersFieldsBits < ActiveRecord::Migration + def self.up + add_column :trackers, :fields_bits, :integer, :default => 0 + end + + def self.down + remove_column :trackers, :fields_bits + end +end |