id(); $table->foreignId('site_id')->constrained()->cascadeOnDelete(); $table->string('name'); $table->string('starts_md', 5)->nullable(); $table->string('ends_md', 5)->nullable(); $table->unsignedSmallInteger('priority')->default(0); $table->boolean('is_default')->default(false); $table->boolean('is_active')->default(true); $table->json('tokens')->nullable(); $table->json('overrides')->nullable(); $table->foreignId('hero_photo_id')->nullable()->constrained('photos')->nullOnDelete(); $table->foreignId('featured_offer_id')->nullable()->constrained('special_offers')->nullOnDelete(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('appearances'); } };