mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 21:14:03 +00:00
revert nullable
This commit is contained in:
parent
907caa4b8b
commit
adce5f34d9
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ class CreateDomainsTable extends Migration
|
|||
Schema::create('domains', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('domain', 255)->unique();
|
||||
$table->string('tenant_id')->nullable();
|
||||
$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