Revert "Update 2026_09_04_000300_create_nextchair_platform_tables.php"

This reverts commit cd6abeca6e.
This commit is contained in:
Stefan Lazic committed 2026-09-05 09:32:01 +01:00
1 parent 33fb14b773
commit 39eeb937de
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', 64); $table->string('type');
$table->string('channel', 64); $table->string('channel');
$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();