dbfdg bigIncrements('id'); $table->unsignedBigInteger('invoice_id'); $table->unsignedBigInteger('customer_id'); $table->date('issue_date'); $table->date('due_date'); $table->date('send_date')->nullable(); $table->integer('category_id'); $table->text('ref_number')->nullable(); $table->integer('status')->default('0'); $table->integer('shipping_display')->default('1'); $table->integer('discount_apply')->default('0'); $table->integer('created_by')->default('0'); $table->timestamps(); } ); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('invoices'); } }