Sha256: f8a972b1c6937b29e729cf00fcce85abcf505e2be4b7aee72acbeab49a350b8f

Contents?: true

Size: 236 Bytes

Versions: 2

Compression:

Stored size: 236 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

2 entries across 2 versions & 1 rubygems

Version Path
apidae-0.7.5 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-0.7.4 db/migrate/20180519170210_remove_insee_code_unicity.rb