Skip to content

Commit 32c1104

Browse files
committed
[BAEL-8226] changelog for liquibase
1 parent abf6aae commit 32c1104

File tree

1 file changed

+36
-3
lines changed

1 file changed

+36
-3
lines changed

persistence-modules/liquibase/src/main/java/com/baeldung/liquibase/utility/LiquibaseDatatypes.java

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,45 @@ public static void main(String[] args) {
7070
}
7171

7272
private static List<LiquibaseDataType> getDataTypes() {
73-
return List.of(new BooleanType(), new TinyIntType(), new IntType(), new MediumIntType(), new BigIntType(), new FloatType(),new DoubleType(), new DecimalType(), new NumberType(), new BlobType(), new DateTimeType(), new TimeType(), new TimestampType(),new DateType(), new CharType(), new VarcharType(), new NCharType(), new NVarcharType(), new ClobType(), new CurrencyType(), new UUIDType());
73+
return List.of(
74+
new BooleanType(),
75+
new TinyIntType(),
76+
new IntType(),
77+
new MediumIntType(),
78+
new BigIntType(),
79+
new FloatType(),
80+
new DoubleType(),
81+
new DecimalType(),
82+
new NumberType(),
83+
new BlobType(),
84+
new DateTimeType(),
85+
new TimeType(),
86+
new TimestampType(),
87+
new DateType(),
88+
new CharType(),
89+
new VarcharType(),
90+
new NCharType(),
91+
new NVarcharType(),
92+
new ClobType(),
93+
new CurrencyType(),
94+
new UUIDType());
7495
}
7596

7697
private static List<AbstractJdbcDatabase> getDatabases() {
77-
return List.of(new MySQLDatabase(), new SQLiteDatabase(), new H2Database(), new PostgresDatabase(), new UnsupportedDatabase(), new DB2Database(), new MSSQLDatabase(), new OracleDatabase(), new HsqlDatabase(), new FirebirdDatabase(),
78-
new DerbyDatabase(), new InformixDatabase(), new SybaseDatabase(), new SybaseASADatabase());
98+
return List.of(
99+
new MySQLDatabase(),
100+
new SQLiteDatabase(),
101+
new H2Database(),
102+
new PostgresDatabase(),
103+
new DB2Database(),
104+
new MSSQLDatabase(),
105+
new OracleDatabase(),
106+
new HsqlDatabase(),
107+
new FirebirdDatabase(),
108+
new DerbyDatabase(),
109+
new InformixDatabase(),
110+
new SybaseDatabase(),
111+
new SybaseASADatabase());
79112
}
80113
}
81114

0 commit comments

Comments
 (0)