view db/migrate/089_add_attachments_description.rb @ 916:e39b2060aba1 cannam_integration

These two files were renamed in the previous commit.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 02 Mar 2012 12:37:49 +0000
parents 513646585e45
children
line wrap: on
line source
class AddAttachmentsDescription < ActiveRecord::Migration
  def self.up
    add_column :attachments, :description, :string
  end

  def self.down
    remove_column :attachments, :description
  end
end