X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/68a6fce1f93669687c97b44d6acee44d6ca5d3f4..84339e92166acf61b28b1ff4ced3a9c706c486ba:/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)