class
Illuminate
/
Database
/
Schema
/
ForeignKeyDefinition
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
ForeignKeyDefinition
Extends
-
Illuminate\...\Fluent
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.
public
noActionOnDelete ( ) : $this
Indicate that deletes should have "no action".