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-3.1.1 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.1.0 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.0.3 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.0.2 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.0.1 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-3.0.0 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.7.3 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.7.2 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.7.1 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.7.0 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.6.8 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.6.7 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.6.6 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.6.5 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.6.4 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.6.3 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.6.2 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.6.1 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.6.0 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb
dorsale-2.5.0 db/migrate/20141014072756_add_polymorphic_fields_to_addresses.rb