system/Database/Schema/ColumnDefination.php
/**
     * Create a foreign key constraint on this column referencing the "id" column of the conventionally related table.
     *
     * @param string|null $table
     * @param string $column
     * @return \System\Database\Schema\ColumnDefination
     */
Create a foreign key constraint on this column referencing the "id" column of the conventionally related table.
@param string|null $table
@param string $column
@return \System\Database\Schema\ColumnDefination
Create a foreign key constraint on this column referencing the " id " column of the conventionally related table . @param string|null $table @param string $column @return \ System \ Database \ Schema \ ColumnDefination
public function constrained($table = null, string $column = 'id')
    {
        self::$migration .= $table . "(`$column`)  ";
        return $this;
    }
public function constrained ( $ table = null , string $ column = 'id' ) { self :: $ migration .= $ table . " (` $ column `)   " ; return $ this ; }
Create a foreign key constraint on this column referencing the "id" column of the conventionally related table.
Create a foreign key constraint on this column referencing the " id " column of the conventionally related table .