X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/68a6fce1f93669687c97b44d6acee44d6ca5d3f4..c5fc9f0e7e93088c599ae0d8540ee0117f277d6d:/lib/migrate.rb diff --git a/lib/migrate.rb b/lib/migrate.rb index b16fa523c..182a2a086 100644 --- a/lib/migrate.rb +++ b/lib/migrate.rb @@ -1,4 +1,4 @@ -module OSM +module OpenStreetMap module ActiveRecord module AbstractAdapter def add_index_options(table_name, column_name, options = {}) @@ -41,5 +41,5 @@ module OSM end end -ActiveRecord::ConnectionAdapters::AbstractAdapter.prepend(OSM::ActiveRecord::AbstractAdapter) -ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.prepend(OSM::ActiveRecord::PostgreSQLAdapter) +ActiveRecord::ConnectionAdapters::AbstractAdapter.prepend(OpenStreetMap::ActiveRecord::AbstractAdapter) +ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.prepend(OpenStreetMap::ActiveRecord::PostgreSQLAdapter)