class
Illuminate
/
Database
/
Schema
/
ForeignKeyDefinition
You are viewing an older version of the documentation. For the latest, please visit master documentation.
ForeignKeyDefinition
Extends
Methods
public
cascadeOnUpdate ( ) : $this
Indicate that updates should cascade.
public
restrictOnUpdate ( ) : $this
Indicate that updates should be restricted.
public
cascadeOnDelete ( ) : $this
Indicate that deletes should cascade.
public
restrictOnDelete ( ) : $this
Indicate that deletes should be restricted.
public
nullOnDelete ( ) : $this
Indicate that deletes should set the foreign key value to null.