view db/migrate/082_add_messages_locked.rb @ 1425:cd304b50908c cannam

Merge from branch "biblio_alt_search_auth"
author Chris Cannam
date Mon, 07 Oct 2013 15:09:10 +0100
parents 513646585e45
children
line wrap: on
line source
class AddMessagesLocked < ActiveRecord::Migration
  def self.up
    add_column :messages, :locked, :boolean, :default => false
  end

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