diff --git a/app/Models/Contact.php b/app/Models/Contact.php new file mode 100644 index 0000000..98d1b44 --- /dev/null +++ b/app/Models/Contact.php @@ -0,0 +1,10 @@ +id(); + $table->string('first_name'); + $table->string('last_name'); + $table->string('email')->unique(); + $table->string('phone')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('contacts'); + } +};