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.3.18 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.2.29 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.3.17 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-0.9.34 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-0.9.33 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.3.16 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.3.15 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.3.14 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.3.13 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.3.12 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.3.11 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.3.10 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.3.9 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.2.28 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.3.8 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.3.7 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.2.27 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.2.26 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.2.25 db/migrate/20180519170210_remove_insee_code_unicity.rb
apidae-1.2.24 db/migrate/20180519170210_remove_insee_code_unicity.rb