Sha256: a296a7aba02819d641ac63d429c07437b7f62b5cb6b4d01901821b1ffdd3a472

Contents?: true

Size: 324 Bytes

Versions: 148

Compression:

Stored size: 324 Bytes

Contents

class CreateApidaeTowns < ActiveRecord::Migration[4.2]
  def change
    create_table :apidae_towns do |t|
      t.string :country
      t.integer :apidae_id
      t.string :insee_code
      t.string :name
      t.string :postal_code

      t.timestamps null: false

      t.index :insee_code, unique: true
    end
  end
end

Version data entries

148 entries across 148 versions & 1 rubygems

Version Path
apidae-1.2.10 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.9 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.8 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.3.2 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.29 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.3.1 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.7 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.6 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.5 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.3.0 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.4 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.3 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.2 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.28 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.27 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.1 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.0 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.1.2 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.1.1 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.1.0 db/migrate/20170513114002_create_apidae_towns.rb