system/Database/Schema/ColumnDefination.php
/**
     * Indicate that the given column and foreign key should be dropped.
     *
     * @param string $column
     * @return void
     */
Indicate that the given column and foreign key should be dropped.
@param string $column
@return void
Indicate that the given column and foreign key should be dropped . @param string $column @return void
public function dropConstrainedForeignId($column) {
        $table = self::$table;
        $key = $table . "_" . $column;
        self::$dropForeignkey[] = "ALTER TABLE `$table` DROP FOREIGN KEY fk_".$key.";";
        self::$dropForeignkey[] = "ALTER TABLE `$table` DROP COLUMN ".$column.";";
    }
public function dropConstrainedForeignId ( $ column ) { $ table = self :: $ table ; $ key = $ table . " _ " . $ column ; self :: $ dropForeignkey [ ] = " ALTER TABLE ` $ table ` DROP FOREIGN KEY fk_ " . $ key . " ; " ; self :: $ dropForeignkey [ ] = " ALTER TABLE ` $ table ` DROP COLUMN  " . $ column . " ; " ; }
Indicate that the given column and foreign key should be dropped.
Indicate that the given column and foreign key should be dropped .