Class DropUniqueConstraintByColumnsCommand

java.lang.Object
com.atlassian.confluence.upgrade.ddl.DropUniqueConstraintByColumnsCommand
All Implemented Interfaces:
AlterTableCommand

public class DropUniqueConstraintByColumnsCommand extends Object implements AlterTableCommand
Drops a unique constraint by column name. This operation is presently only supported for Oracle.
Since:
6.1
  • Constructor Details

    • DropUniqueConstraintByColumnsCommand

      public DropUniqueConstraintByColumnsCommand(String[] columnNames)
  • Method Details

    • getCommandName

      public String getCommandName()
      Specified by:
      getCommandName in interface AlterTableCommand
      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 interface AlterTableCommand
      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"