id(); $table->string('invoice_number')->unique(); $table->foreignIdFor(Client::class); $table->json('lines'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('invoices'); } };