view db/migrate/083_add_messages_sticky.rb @ 749:3f28aebc5fc1 feature_14

started building the project's tag filtering interface.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 08 Nov 2011 17:12:52 +0000
parents 513646585e45
children
line wrap: on
line source
class AddMessagesSticky < ActiveRecord::Migration
  def self.up
    add_column :messages, :sticky, :integer, :default => 0
  end

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