java.lang.Object
org.jooq.MigrationConfiguration
A configuration type for use with the various
Meta.migrateTo(Meta)
methods.
This is EXPERIMENTAL functionality and subject to change in future jOOQ versions.
- Author:
- Lukas Eder
-
Constructor Summary
ConstructorDescriptionCreate a new default export configuration instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
WhetherALTER TABLE
statements should add multiple columns and constraints in a single statement where supported.alterTableAddMultiple(boolean newAlterTableAddMultiple)
WhetherALTER TABLE
statements should add multiple columns and constraints in a single statement where supported.boolean
WhetherALTER TABLE ..
alterTableDropCascade(boolean newAlterTableDropCascade)
WhetherALTER TABLE ..
boolean
WhetherALTER TABLE
statements should add multiple columns and constraints in a single statement where supported.alterTableDropMultiple(boolean newAlterTableDropMultiple)
WhetherALTER TABLE
statements should drop multiple columns and constraints in a single statement where supported.boolean
Whether the views should be (create-or-)replaced or dropped and re-created.createOrReplaceView(boolean newCreateOrReplaceView)
Whether the views should be (create-or-)replaced or dropped and re-created.boolean
WhetherDROP SCHEMA
statements should have aCASCADE
clause where supported.dropSchemaCascade(boolean newDropSchemaCascade)
WhetherDROP SCHEMA
statements should have aCASCADE
clause where supported.boolean
WhetherDROP TABLE
statements should have aCASCADE [ CONSTRAINTS ]
clause where supported.dropTableCascade(boolean newDropTableCascade)
WhetherDROP TABLE
statements should have aCASCADE [ CONSTRAINTS ]
clause where supported.boolean
Whether the column order should be respected in a migration.respectColumnOrder(boolean newRespectColumnOrder)
Whether the column order should be respected in a migration.
-
Constructor Details
-
MigrationConfiguration
public MigrationConfiguration()Create a new default export configuration instance.
-
-
Method Details
-
alterTableAddMultiple
public final boolean alterTableAddMultiple()WhetherALTER TABLE
statements should add multiple columns and constraints in a single statement where supported. -
alterTableAddMultiple
WhetherALTER TABLE
statements should add multiple columns and constraints in a single statement where supported. -
alterTableDropMultiple
public final boolean alterTableDropMultiple()WhetherALTER TABLE
statements should add multiple columns and constraints in a single statement where supported. -
alterTableDropMultiple
WhetherALTER TABLE
statements should drop multiple columns and constraints in a single statement where supported. -
dropSchemaCascade
public final boolean dropSchemaCascade()WhetherDROP SCHEMA
statements should have aCASCADE
clause where supported. -
dropSchemaCascade
WhetherDROP SCHEMA
statements should have aCASCADE
clause where supported. -
dropTableCascade
public final boolean dropTableCascade()WhetherDROP TABLE
statements should have aCASCADE [ CONSTRAINTS ]
clause where supported. -
dropTableCascade
WhetherDROP TABLE
statements should have aCASCADE [ CONSTRAINTS ]
clause where supported. -
alterTableDropCascade
public final boolean alterTableDropCascade()WhetherALTER TABLE .. DROP
statements should have aCASCADE [ CONSTRAINTS ]
clause where supported. -
alterTableDropCascade
WhetherALTER TABLE .. DROP
statements should have aCASCADE [ CONSTRAINTS ]
clause where supported. -
createOrReplaceView
public final boolean createOrReplaceView()Whether the views should be (create-or-)replaced or dropped and re-created. -
createOrReplaceView
Whether the views should be (create-or-)replaced or dropped and re-created. -
respectColumnOrder
public final boolean respectColumnOrder()Whether the column order should be respected in a migration. -
respectColumnOrder
Whether the column order should be respected in a migration.
-