diff --git a/app/Project.php b/app/Project.php new file mode 100644 index 0000000..bda679c --- /dev/null +++ b/app/Project.php @@ -0,0 +1,10 @@ +increments('id'); + + // Name of the project + $table->string('name'); + + // Start and end date of the project + $table->date('start_date'); + $table->date('end_date'); + + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('projects'); + } +}