083_add_messages_sticky.rb 198 Bytes
Newer Older
1
class AddMessagesSticky < ActiveRecord::Migration[4.2]
jplang's avatar
jplang committed
2 3 4 5 6 7 8 9
  def self.up
    add_column :messages, :sticky, :integer, :default => 0
  end

  def self.down
    remove_column :messages, :sticky
  end
end