Class DropDefaultPostgresGenerator
java.lang.Object
liquibase.sqlgenerator.core.AbstractSqlGenerator<liquibase.statement.core.DropDefaultValueStatement>
liquibase.sqlgenerator.core.DropDefaultValueGenerator
ch.tocco.nice2.dbrefactoring.impl.liquibase.DropDefaultPostgresGenerator
- All Implemented Interfaces:
liquibase.servicelocator.PrioritizedService
,liquibase.sqlgenerator.SqlGenerator<liquibase.statement.core.DropDefaultValueStatement>
public class DropDefaultPostgresGenerator
extends liquibase.sqlgenerator.core.DropDefaultValueGenerator
A
DropDefaultValueGenerator
that works with postgres.-
Field Summary
Fields inherited from class liquibase.sqlgenerator.core.DropDefaultValueGenerator
DROP_DF_MSSQL
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR
Fields inherited from interface liquibase.sqlgenerator.SqlGenerator
EMPTY_SQL, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionliquibase.sql.Sql[]
generateSql
(liquibase.statement.core.DropDefaultValueStatement statement, liquibase.database.Database database, liquibase.sqlgenerator.SqlGeneratorChain sqlGeneratorChain) int
Methods inherited from class liquibase.sqlgenerator.core.DropDefaultValueGenerator
getAffectedColumn, supports, validate
Methods inherited from class liquibase.sqlgenerator.core.AbstractSqlGenerator
generateRollbackStatementsIsVolatile, generateStatementsIsVolatile, looksLikeFunctionCall, warn
-
Constructor Details
-
DropDefaultPostgresGenerator
public DropDefaultPostgresGenerator()
-
-
Method Details
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfaceliquibase.servicelocator.PrioritizedService
- Specified by:
getPriority
in interfaceliquibase.sqlgenerator.SqlGenerator<liquibase.statement.core.DropDefaultValueStatement>
- Overrides:
getPriority
in classliquibase.sqlgenerator.core.AbstractSqlGenerator<liquibase.statement.core.DropDefaultValueStatement>
-
generateSql
public liquibase.sql.Sql[] generateSql(liquibase.statement.core.DropDefaultValueStatement statement, liquibase.database.Database database, liquibase.sqlgenerator.SqlGeneratorChain sqlGeneratorChain) - Specified by:
generateSql
in interfaceliquibase.sqlgenerator.SqlGenerator<liquibase.statement.core.DropDefaultValueStatement>
- Overrides:
generateSql
in classliquibase.sqlgenerator.core.DropDefaultValueGenerator
-