/** * Add foreign key * * @param \deco\essentials\database\util\ForeignKey $foreignKey */ public function addForeignKey(ForeignKey $foreignKey) { $this->foreignKeys[$foreignKey->getColumn()] = $foreignKey; }