summaryrefslogtreecommitdiffstats
path: root/db/migrate/082_add_messages_locked.rb
blob: 20a172565fc33b6ed2416f38d18b2a9046630776 (plain)
1
2
3
4
5
6
7
8
9
class AddMessagesLocked < ActiveRecord::Migration
  def self.up
    add_column :messages, :locked, :boolean, :default => false
  end

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