Class DropForeignKeyConstraintCommand
- java.lang.Object
-
- com.atlassian.confluence.upgrade.ddl.DropForeignKeyConstraintCommand
-
- All Implemented Interfaces:
AlterTableCommand
public class DropForeignKeyConstraintCommand extends Object implements AlterTableCommand
-
-
Constructor Summary
Constructors Constructor Description DropForeignKeyConstraintCommand(boolean isMySQL, String constraintName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCommandName()
String
getCommandParameters()
-
-
-
Constructor Detail
-
DropForeignKeyConstraintCommand
public DropForeignKeyConstraintCommand(boolean isMySQL, String constraintName)
-
-
Method Detail
-
getCommandName
public String getCommandName()
- Specified by:
getCommandName
in interfaceAlterTableCommand
- Returns:
- The keyword/name of the current command for the current database (e.g. altering a column is "alter column" on PostgreSQL and "modify" on MySQL.
-
getCommandParameters
public String getCommandParameters()
- Specified by:
getCommandParameters
in interfaceAlterTableCommand
- Returns:
- The part that comes after the command name. E.g. "colname set not null" which would be after "alter column colname set not null"
-
-