id(); $table->foreignId('product_id')->constrained('products')->cascadeOnDelete(); $table->foreignId('customer_id')->constrained('customers')->cascadeOnDelete(); $table->string('type'); $table->date('start_date')->nullable(); $table->date('end_date')->nullable(); $table->string('status')->default('active'); $table->date('printed_at')->nullable(); $table->string('signed_status')->nullable(); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('contracts'); } };