socialforge/db/migrate/20120705074331_add_trackers...

10 lines
207 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
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