id(); $table->foreignId('tenant_id')->constrained()->restrictOnDelete(); $table->foreignId('requisition_id')->constrained()->restrictOnDelete(); $table->foreignId('created_by')->constrained('users')->restrictOnDelete(); $table->unsignedInteger('revision'); $table->dateTime('opened_at'); $table->string('timezone', 64); $table->dateTime('submission_deadline')->nullable(); $table->string('reference', 150); $table->string('location', 300); $table->text('reason'); $table->text('notes')->nullable(); $table->json('participants'); $table->json('annexes'); $table->json('snapshot'); $table->string('basis_hash', 64); $table->timestamp('created_at'); $table->unique(['requisition_id', 'revision']); }); } public function down(): void { throw new LogicException('Preservar as actas e as suas versões.'); } };