This commit is contained in:
1 file changed
+2
-2
@@ -299,8 +299,8 @@ return new class extends Migration
|
||||
$table->string('id', 191)->primary();
|
||||
$table->string('businessId', 191);
|
||||
$table->string('userId', 191);
|
||||
$table->string('type');
|
||||
$table->string('channel');
|
||||
$table->string('type', 64);
|
||||
$table->string('channel', 64);
|
||||
$table->boolean('isEnabled')->default(true);
|
||||
$table->foreign('businessId')->references('id')->on('Business')->cascadeOnDelete();
|
||||
$table->foreign('userId')->references('id')->on('User')->cascadeOnDelete();
|
||||
|
||||
Reference in new issue
Block a user