File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/odbc_adapter/adapters Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module Adapters
33 # Overrides specific to PostgreSQL. Mostly taken from
44 # ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
55 class PostgreSQLODBCAdapter < ActiveRecord ::ConnectionAdapters ::ODBCAdapter
6- BOOLEAN_TYPE = 'bool ' . freeze
6+ BOOLEAN_TYPE = 'boolean ' . freeze
77 PRIMARY_KEY = 'SERIAL PRIMARY KEY' . freeze
88 VARIANT_TYPE = 'VARIANT' . freeze
99 DATE_TYPE = 'DATE' . freeze
@@ -13,7 +13,7 @@ class PostgreSQLODBCAdapter < ActiveRecord::ConnectionAdapters::ODBCAdapter
1313
1414 # Override to handle booleans appropriately
1515 def native_database_types
16- @native_database_types ||= super . merge ( boolean : { name : 'bool ' } )
16+ @native_database_types ||= super . merge ( boolean : { name : 'boolean ' } )
1717 end
1818
1919 def arel_visitor
You can’t perform that action at this time.
0 commit comments