Skip to content

Commit

Permalink
Add Snowflake structured data types in the unmodifiable Data Types li…
Browse files Browse the repository at this point in the history
…st to avoid incorrect result of diffChangeLog command
  • Loading branch information
LonwoLonwo committed Jan 31, 2023
1 parent 958ae65 commit 97a5d7d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ public class SnowflakeDatabase extends AbstractJdbcDatabase {

public SnowflakeDatabase() {
super.setCurrentDateTimeFunction("current_timestamp::timestamp_ntz");
super.unmodifiableDataTypes.addAll(Arrays.asList("integer", "bool", "boolean", "int4", "int8", "float4", "float8", "numeric", "bigserial", "serial", "bytea", "timestamptz"));
super.unmodifiableDataTypes.addAll(Arrays.asList("integer", "bool", "boolean", "int4", "int8", "float4", "float8", "numeric",
"bigserial", "serial", "bytea", "timestamptz", "array", "object", "variant"));
super.unquotedObjectsAreUppercased = true;
super.addReservedWords(getDefaultReservedWords());
super.defaultAutoIncrementStartWith = BigInteger.ONE;
Expand Down

0 comments on commit 97a5d7d

Please sign in to comment.