view .svn/pristine/58/58e6527d4086f1819267e25b6b03c3312d2d52cf.svn-base @ 1539:22d57b0e0a77 live

OK, this script works now, but it should be using the API
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 21 May 2015 17:31:06 +0100
parents cbb26bc654de
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