mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 08:24:03 +00:00
removed only onDelete cascade
This commit is contained in:
parent
e608106ae2
commit
0ad091757a
2 changed files with 2 additions and 1 deletions
|
|
@ -21,6 +21,7 @@ class CreateDomainsTable extends Migration
|
|||
$table->string('tenant_id');
|
||||
|
||||
$table->timestamps();
|
||||
$table->foreign('tenant_id')->references('id')->on('tenants')->onUpdate('cascade');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue