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