public class ClientPostgreSql extends ClientBase implements IMigrationClient
Constructor and Description |
---|
ClientPostgreSql() |
Modifier and Type | Method and Description |
---|---|
void |
alterColumn(String tableName,
String columnName,
String columnDefinition) |
void |
dropSequence(String sequenceName) |
void |
dropTable(String tableName) |
void |
renameColumn(String tableName,
String oldColumnName,
String newColumnName) |
void |
renameSequence(String sequenceName,
String newSequenceName) |
void |
renameTable(String tableName,
String newTableName) |
addColumn, createIndex, createTable, dropColumn, dropTable, executeRaw, getAdminUser, getColumnName, getDatabaseSchemaVersion, getDatabaseSchemaVersionInt, getIndexName, getRow, getRow, getRows, getRowsByQuery, getSequenceName, getTableName, hasColumn, hasTable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addColumn, createIndex, createTable, dropColumn, dropTable, executeRaw, getAdminUser, getColumnName, getDatabaseSchemaVersion, getDatabaseSchemaVersionInt, getRow, getRow, getRows, getTableName, hasColumn, hasTable
public void renameColumn(String tableName, String oldColumnName, String newColumnName) throws SQLException
renameColumn
in interface IMigrationClient
SQLException
public void alterColumn(String tableName, String columnName, String columnDefinition) throws SQLException
alterColumn
in interface IMigrationClient
SQLException
public void renameTable(String tableName, String newTableName) throws SQLException
renameTable
in interface IMigrationClient
SQLException
public void dropTable(String tableName) throws SQLException
dropTable
in interface IMigrationClient
dropTable
in class ClientBase
SQLException
public void renameSequence(String sequenceName, String newSequenceName) throws SQLException
renameSequence
in interface IMigrationClient
renameSequence
in class ClientBase
SQLException
public void dropSequence(String sequenceName) throws SQLException
dropSequence
in interface IMigrationClient
SQLException
Copyright © 2015–2019. All rights reserved.