diff options
Diffstat (limited to 'db/migrate/20120705074331_add_trackers_fields_bits.rb')
-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 |