ForeignKeyDefinition.php 718 B

12345678910111213141516171819
  1. <?php
  2. namespace Illuminate\Database\Schema;
  3. use Illuminate\Support\Fluent;
  4. /**
  5. * @method ForeignKeyDefinition references(string|array $columns) Specify the referenced column(s)
  6. * @method ForeignKeyDefinition on(string $table) Specify the referenced table
  7. * @method ForeignKeyDefinition onDelete(string $action) Add an ON DELETE action
  8. * @method ForeignKeyDefinition onUpdate(string $action) Add an ON UPDATE action
  9. * @method ForeignKeyDefinition deferrable(bool $value = true) Set the foreign key as deferrable (PostgreSQL)
  10. * @method ForeignKeyDefinition initiallyImmediate(bool $value = true) Set the default time to check the constraint (PostgreSQL)
  11. */
  12. class ForeignKeyDefinition extends Fluent
  13. {
  14. //
  15. }