Sha256: 1161aa5c8b2b186da4942f7ec808db12414b6e79c1e34b28559fba5cef4a3035

Contents?: true

Size: 216 Bytes

Versions: 73

Compression:

Stored size: 216 Bytes

Contents

class PolymorphAsset < ActiveRecord::Migration[4.2]
  def change
    change_table(:scaptimony_assets) do |t|
      t.references :assetable, :polymorphic => true, :index => true
      t.remove :name
    end
  end
end

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
foreman_openscap-10.1.0 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-10.0.3 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-10.0.2 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-10.0.1 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-10.0.0 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-9.0.4 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-9.0.3 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-9.0.2 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-9.0.1 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-9.0.0 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-8.0.0 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-7.1.1 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-7.1.0 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-7.0.0 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-6.0.0 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-5.2.3 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-5.2.2 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-5.1.1 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-5.2.1 db/migrate/20150111085317_polymorph_asset.rb
foreman_openscap-5.2.0 db/migrate/20150111085317_polymorph_asset.rb