id(); $table->foreignId('website_id')->constrained()->cascadeOnDelete(); $table->string('name'); $table->json('filters'); // [{field: "country", operator: "=", value: "DE"}, {field: "device_type", operator: "=", value: "mobile"}] $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('segments'); } };