view db/migrate/089_add_attachments_description.rb @ 1592:72d9219f2f19 dockerise

Rejig explore page
author Chris Cannam
date Fri, 18 Aug 2017 14:46:06 +0100
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