view db/migrate/20110303152903_add_active_column_to_attachments.rb @ 1253:29dd06e01be3 redmine-2.2-integration

renamed scope like for projects.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 05 Apr 2013 15:07:40 +0100
parents 82caabe96ad4
children
line wrap: on
line source
class AddActiveColumnToAttachments < ActiveRecord::Migration
  def self.up
    add_column :attachments, :active, :boolean
  end

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