id(); $table->foreignId('property_id')->constrained()->cascadeOnDelete(); $table->string('name'); $table->string('connector'); $table->json('settings')->nullable(); $table->string('export_token', 64)->unique(); $table->boolean('is_active')->default(true); $table->boolean('requires_manual_blocking')->default(false); $table->string('manage_url')->nullable(); $table->dateTime('last_synced_at')->nullable(); $table->dateTime('last_success_at')->nullable(); $table->text('last_error')->nullable(); $table->dateTime('alerted_at')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('channels'); } };