alterColumnDeleteRule method

List<String> alterColumnDeleteRule(
  1. SchemaTable table,
  2. SchemaColumn column
)
inherited

Implementation

List<String> alterColumnDeleteRule(SchemaTable table, SchemaColumn column) {
  var allCommands = <String>[];
  allCommands.add(
      "ALTER TABLE ONLY ${table.name} DROP CONSTRAINT ${_foreignKeyName(table.name, column)}");
  allCommands.addAll(_addConstraintsForColumn(table.name, column));
  return allCommands;
}