Sha256: 56eda15a5fc5721bf27d542307d0989ebdcc8dffc40dc1ada44655c903159ead

Contents?: true

Size: 235 Bytes

Versions: 18

Compression:

Stored size: 235 Bytes

Contents

class CreateGeoLocations < ActiveRecord::Migration
  def change
    create_table :geo_locations do |t|
      t.integer :address_id
      t.string :content

      t.timestamps
    end
    add_index :geo_locations, :address_id
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
poly_belongs_to-1.0.0 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.3.0 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.2.9 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.2.8 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.2.7 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.2.6 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.2.5 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.2.4 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.2.3 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.2.2 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.2.1 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.2.0 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.1.10 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.1.9 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.1.8 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.1.7 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.1.6 test/dummy/db/migrate/20150220213422_create_geo_locations.rb
poly_belongs_to-0.1.5 test/dummy/db/migrate/20150220213422_create_geo_locations.rb