Sha256: e746e37130cf77ef3d44ac8c8daf80eb05799501c2c781134c0693fc72adb90f

Contents?: true

Size: 332 Bytes

Versions: 5

Compression:

Stored size: 332 Bytes

Contents

# This migration comes from ecm_pictures_engine (originally 3)
class CreateEcmPicturesAttachedPictures < ActiveRecord::Migration[4.2]
  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.6 spec/dummy/db/migrate/20160322164130_create_ecm_pictures_attached_pictures.ecm_pictures_engine.rb
ecm_news2_backend-1.2.5 spec/dummy/db/migrate/20160322164130_create_ecm_pictures_attached_pictures.ecm_pictures_engine.rb
ecm_news2_backend-1.2.4 spec/dummy/db/migrate/20160322164130_create_ecm_pictures_attached_pictures.ecm_pictures_engine.rb
ecm_news2_backend-1.2.3 spec/dummy/db/migrate/20160322164130_create_ecm_pictures_attached_pictures.ecm_pictures_engine.rb
ecm_news2_backend-1.2.2 spec/dummy/db/migrate/20160322164130_create_ecm_pictures_attached_pictures.ecm_pictures_engine.rb