Sha256: 27c2bb6c8c1c2c4f8a0c2540e03f5acdf3374097a4b8f3063d807c17a4ffa0a6

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

# This migration comes from tasks_management (originally 20151122152006)
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 test/dummy/db/migrate/20151122152258_add_attachment_document_to_tasks.tasks_management.rb