increments('id'); $table->unsignedInteger('project_id'); $table->string('number', 8)->unique(); $table->date('date'); $table->date('due_date')->nullable(); $table->text('items'); $table->unsignedInteger('amount'); $table->string('notes')->nullable(); $table->unsignedTinyInteger('status_id'); $table->unsignedInteger('creator_id'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('invoices'); } }