Sha256: 6c976562ed18fb08ac51380f04c7a3ef7f66f4e16a9d33f9cfb3c8b255778086

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

class AddAttachmentListReferenceToKnowledgeBaseSectionablesAttachments < ActiveRecord::Migration
  def change
    add_reference :knowledge_base_sectionables_attachments, :attachment_list

    add_index :knowledge_base_sectionables_attachments, :attachment_list_id,
      name: 'index_knowledge_base_attachments_on_attachment_list_id'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
knowledge_base-0.2.0 db/migrate/20140410185528_add_attachment_list_reference_to_knowledge_base_sectionables_attachments.rb