Sha256: 467e3ce04a29a943f087d01746472869038ff6676551413fa3798119eb028494

Contents?: true

Size: 210 Bytes

Versions: 140

Compression:

Stored size: 210 Bytes

Contents

class AddPolymorphicFieldsToAddresses < ActiveRecord::Migration
  def change
    add_column :dorsale_addresses, :addressable_id, :integer
    add_column :dorsale_addresses, :addressable_type, :string
  end
end

Version data entries

140 entries across 140 versions & 1 rubygems

Version Path
dorsale-4.0.0 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.20.0 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.19.1 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.19.0 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.18.0 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.17.0 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.16.0 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.15.0 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.14.11 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.14.10 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.14.9 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.14.8 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.14.7 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.14.6 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.14.5 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.14.4 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.14.3 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.14.2 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.14.1 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.14.0 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb