Class PostgreSQLType
java.lang.Object
migratedb.v1.core.internal.database.base.BaseSchemaObject<D,S>
migratedb.v1.core.internal.database.base.Type<PostgreSQLDatabase,PostgreSQLSchema>
migratedb.v1.core.internal.database.postgresql.PostgreSQLType
- All Implemented Interfaces:
SchemaObject<PostgreSQLDatabase,PostgreSQLSchema>
PostgreSQL-specific type.
-
Field Summary
Fields inherited from class migratedb.v1.core.internal.database.base.BaseSchemaObject
database, jdbcTemplate, name, schema -
Constructor Summary
ConstructorsConstructorDescriptionPostgreSQLType(JdbcTemplate jdbcTemplate, PostgreSQLDatabase database, PostgreSQLSchema schema, String name) Creates a new PostgreSQL type. -
Method Summary
Methods inherited from class migratedb.v1.core.internal.database.base.BaseSchemaObject
drop, getDatabase, getName, getSchema, toString
-
Constructor Details
-
PostgreSQLType
public PostgreSQLType(JdbcTemplate jdbcTemplate, PostgreSQLDatabase database, PostgreSQLSchema schema, String name) Creates a new PostgreSQL type.- Parameters:
jdbcTemplate- The Jdbc Template for communicating with the DB.database- The database-specific support.schema- The schema this type lives in.name- The name of the type.
-
-
Method Details
-
doDrop
- Specified by:
doDropin classBaseSchemaObject<PostgreSQLDatabase,PostgreSQLSchema> - Throws:
SQLException- when the drop failed.
-