1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 18:44:03 +00:00

Remove is_primary from domain migrations

This commit is contained in:
Samuel Štancl 2020-05-09 02:49:27 +02:00
parent a602cec940
commit 7ad93adde5

View file

@ -19,7 +19,6 @@ class CreateDomainsTable extends Migration
$table->increments('id');
$table->string('domain', 255)->unique();
$table->string('tenant_id', 36);
$table->unsignedTinyInteger('is_primary')->default(false);
$table->timestamps();
$table->foreign('tenant_id')->references('id')->on('tenants')->onUpdate('cascade')->onDelete('cascade');