I need a simple extension to Liquibase to add a distribution clause to a postgresql variant. I've created a project with a database that extends PostgresDatabase, a CreateTableGeneratorX that extends CreateTableGenerator and implements generateSql and a CreateTableStatementX that adds the properties that I need to set for the distribution clause. The generated SQL should look something like:
- CREATE TABLE MYTABLE(columns...) distribute by HASH(column1);
I want to add the "distribute by" to the changleLog, XML or SQL DSL. Can anyone tell me how to do this last part and test it? The documentation for extension still seems fairly outdated.