Sha256: 49e619a66be5a3fa8d0fff1b86577112b60dfca6b9435b77f7c5cfc0a14f1d45

Contents?: true

Size: 327 Bytes

Versions: 5

Compression:

Stored size: 327 Bytes

Contents

# This migration comes from ecm_pictures_engine (originally 3)
class CreateEcmPicturesAttachedPictures < ActiveRecord::Migration
  def change
    create_table :ecm_pictures_attached_pictures do |t|
      t.references :ecm_pictures_picture
      t.references :pictureable, polymorphic: true
      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_news2_backend-1.2.1 spec/dummy/db/migrate/20160322164130_create_ecm_pictures_attached_pictures.ecm_pictures_engine.rb
ecm_news2_backend-1.2.0 spec/dummy/db/migrate/20160322164130_create_ecm_pictures_attached_pictures.ecm_pictures_engine.rb
ecm_news2_backend-1.1.3 spec/dummy/db/migrate/20160322164130_create_ecm_pictures_attached_pictures.ecm_pictures_engine.rb
ecm_news2_backend-1.1.1 spec/dummy/db/migrate/20160322164130_create_ecm_pictures_attached_pictures.ecm_pictures_engine.rb
ecm_news2_backend-1.1.0 spec/dummy/db/migrate/20160322164130_create_ecm_pictures_attached_pictures.ecm_pictures_engine.rb