Sha256: 61e3c468914d86ab5f1a948779a3d4b0ae26de75e7e0789684277e660e4baad2

Contents?: true

Size: 229 Bytes

Versions: 133

Compression:

Stored size: 229 Bytes

Contents

class RemoveInseeCodeUnicity < ActiveRecord::Migration[5.1]
  # Removed because insee_code isnt unique for foreign towns
  def change
    remove_index :apidae_towns, :insee_code
    add_index :apidae_towns, :insee_code
  end
end

Version data entries

133 entries across 133 versions & 1 rubygems

Version Path
apidae-1.4.13 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.4.12 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.4.11 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.4.10 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.4.9 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.4.8 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.4.7 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.4.6 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.4.5 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.4.4 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.4.3 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.2.35 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.2.34 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.2.33 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.4.2 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.4.1 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.4.0 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.2.32 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.2.31 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.2.30 db/migrate/20180519170210_remove_insee_code_unicity.rb