view db/migrate/082_add_messages_locked.rb @ 1558:a0c46d6fe7bc feature_1136

Add hgtags export
author Chris Cannam
date Thu, 14 Jan 2016 09:56:38 +0000
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