id(); $table->foreignId('supplier_id')->constrained(); $table->string('invoice_number'); $table->date('issue_date'); $table->date('due_date')->nullable(); $table->string('invoice_type_code')->default('380'); $table->string('currency_code')->default('EUR'); $table->decimal('net'); $table->decimal('gross'); $table->decimal('tax'); $table->date('pay_date')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('incomings'); } };