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-0.7.6 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.15 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.14 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.13 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.12 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.11 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.10 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.9 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.8 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.7 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.6 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.5 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.4 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.3 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.2 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.9.1 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.7.3 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.8.0 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.7.2 db/migrate/20170513114002_create_apidae_towns.rb
apidae-0.7.1 db/migrate/20170513114002_create_apidae_towns.rb