lib/ar/enum.rb in ar-enum-0.2.0 vs lib/ar/enum.rb in ar-enum-0.2.1

- old
+ new

@@ -16,5 +16,6 @@ end ActiveRecord::Migration::CommandRecorder.include AR::Enum::CommandRecorder ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.include AR::Enum::Adapter ActiveRecord::SchemaDumper.prepend AR::Enum::SchemaDumper +ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::NATIVE_DATABASE_TYPES[:enum] = {name: "character varying"}