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.4.13 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.4.12 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.4.11 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.4.10 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.4.9 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.4.8 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.4.7 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.4.6 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.4.5 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.4.4 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.4.3 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.35 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.34 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.33 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.4.2 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.4.1 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.4.0 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.32 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.31 db/migrate/20170513114002_create_apidae_towns.rb
apidae-1.2.30 db/migrate/20170513114002_create_apidae_towns.rb