File Manager Lite
Dir:
/home/codewavebd/public_html/vendor/laravel/framework/src/Illuminate/Database/Schema
Upload
[..]
Blueprint.php (55.54 KB)
Edit
Rename
Del
BlueprintState.php (7 KB)
Edit
Rename
Del
Builder.php (21.39 KB)
Edit
Rename
Del
ColumnDefinition.php (2.79 KB)
Edit
Rename
Del
ForeignIdColumnDefinition.php (1.62 KB)
Edit
Rename
Del
ForeignKeyDefinition.php (2.36 KB)
Edit
Rename
Del
Grammars/
Rename
Del
IndexDefinition.php (949 B)
Edit
Rename
Del
MariaDbBuilder.php (99 B)
Edit
Rename
Del
MySqlBuilder.php (1.21 KB)
Edit
Rename
Del
MySqlSchemaState.php (7.33 KB)
Edit
Rename
Del
SchemaState.php (3.15 KB)
Edit
Rename
Del
SqlServerBuilder.php (875 B)
Edit
Rename
Del
SqliteSchemaState.php (2.81 KB)
Edit
Rename
Del
Edit: ForeignKeyDefinition.php
<?php namespace Illuminate\Database\Schema; use Illuminate\Support\Fluent; /** * @method ForeignKeyDefinition deferrable(bool $value = true) Set the foreign key as deferrable (PostgreSQL) * @method ForeignKeyDefinition initiallyImmediate(bool $value = true) Set the default time to check the constraint (PostgreSQL) * @method ForeignKeyDefinition lock(('none'|'shared'|'default'|'exclusive') $value) Specify the DDL lock mode for the foreign key operation (MySQL) * @method ForeignKeyDefinition on(string $table) Specify the referenced table * @method ForeignKeyDefinition onDelete(string $action) Add an ON DELETE action * @method ForeignKeyDefinition onUpdate(string $action) Add an ON UPDATE action * @method ForeignKeyDefinition references(string|string[] $columns) Specify the referenced column(s) */ class ForeignKeyDefinition extends Fluent { /** * Indicate that updates should cascade. * * @return $this */ public function cascadeOnUpdate() { return $this->onUpdate('cascade'); } /** * Indicate that updates should be restricted. * * @return $this */ public function restrictOnUpdate() { return $this->onUpdate('restrict'); } /** * Indicate that updates should set the foreign key value to null. * * @return $this */ public function nullOnUpdate() { return $this->onUpdate('set null'); } /** * Indicate that updates should have "no action". * * @return $this */ public function noActionOnUpdate() { return $this->onUpdate('no action'); } /** * Indicate that deletes should cascade. * * @return $this */ public function cascadeOnDelete() { return $this->onDelete('cascade'); } /** * Indicate that deletes should be restricted. * * @return $this */ public function restrictOnDelete() { return $this->onDelete('restrict'); } /** * Indicate that deletes should set the foreign key value to null. * * @return $this */ public function nullOnDelete() { return $this->onDelete('set null'); } /** * Indicate that deletes should have "no action". * * @return $this */ public function noActionOnDelete() { return $this->onDelete('no action'); } }
Simpan