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