##// END OF EJS Templates
Rails4: db migrate: replace "Permission.find_by_controller_and_action"...
Rails4: db migrate: replace "Permission.find_by_controller_and_action" git-svn-id: http://svn.redmine.org/redmine/trunk@12422 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9729:4cecc1beeda2
r12147:9b5ce4b7b44b
Show More
20120705074331_add_trackers_fields_bits.rb
9 lines | 207 B | text/x-ruby | RubyLexer
/ db / migrate / 20120705074331_add_trackers_fields_bits.rb
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