Update 2026_09_04_000300_create_nextchair_platform_tables.php
CI / ci (push) Canceled after 0s

This commit is contained in:
Stefan Lazic committed 2026-09-05 08:55:12 +01:00
1 parent c4325018e0
commit cd6abeca6e
1 file changed
+2 -2
@@ -299,8 +299,8 @@ return new class extends Migration
$table->string('id', 191)->primary(); $table->string('id', 191)->primary();
$table->string('businessId', 191); $table->string('businessId', 191);
$table->string('userId', 191); $table->string('userId', 191);
$table->string('type'); $table->string('type', 64);
$table->string('channel'); $table->string('channel', 64);
$table->boolean('isEnabled')->default(true); $table->boolean('isEnabled')->default(true);
$table->foreign('businessId')->references('id')->on('Business')->cascadeOnDelete(); $table->foreign('businessId')->references('id')->on('Business')->cascadeOnDelete();
$table->foreign('userId')->references('id')->on('User')->cascadeOnDelete(); $table->foreign('userId')->references('id')->on('User')->cascadeOnDelete();