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

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