##// 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:

r913:29b3614bcb75
r12147:9b5ce4b7b44b
Show More
083_add_messages_sticky.rb
9 lines | 193 B | text/x-ruby | RubyLexer
/ db / migrate / 083_add_messages_sticky.rb
class AddMessagesSticky < ActiveRecord::Migration
def self.up
add_column :messages, :sticky, :integer, :default => 0
end
def self.down
remove_column :messages, :sticky
end
end