diff --git a/lib/odbc_adapter/type/snowflake_integer.rb b/lib/odbc_adapter/type/snowflake_integer.rb index cbedcc20..516c5c73 100644 --- a/lib/odbc_adapter/type/snowflake_integer.rb +++ b/lib/odbc_adapter/type/snowflake_integer.rb @@ -1,7 +1,7 @@ module ODBCAdapter module Type - class SnowflakeInteger < ActiveRecord::Type::Integer + class SnowflakeInteger < ActiveRecord::Type::BigInteger # In order to allow for querying of IDs, def cast(value) if value == :auto_generate