Sha256: ba5cfb3cbdba08998b2331db97cdf65fbdb00fa60e1e5c13912aa66630282e60

Contents?: true

Size: 250 Bytes

Versions: 1

Compression:

Stored size: 250 Bytes

Contents

class AddAttachmentDocumentToTasks < ActiveRecord::Migration
  def self.up
    change_table :tasks_management_tasks do |t|
      t.attachment :document
    end
  end

  def self.down
    remove_attachment :tasks_management_tasks, :document
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tasks_management-0.1.4 db/migrate/20151122152006_add_attachment_document_to_tasks.rb