Sha256: 441c97ba70961dc99fc640b7a7cb823459f7b0a9ba83874aaba8a95a3ae77f01

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

class AddAttachmentToContentType < ActiveRecord::Migration[5.0]
  def change
    add_column :content_types, :attachment_id, :string
    add_column :content_types, :attachment_filename, :string
    add_column :content_types, :attachment_size, :integer
    add_column :content_types, :attachment_content_type, :string
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.4 spec/dummy/db/migrate/20150420145420_add_attachment_to_content_type.rb