Lavet sådan at man kan adde information til contacts databasen

This commit is contained in:
2020-06-29 11:14:07 +02:00
parent 419672a302
commit ba73440044
3 changed files with 8 additions and 3 deletions
@@ -13,9 +13,14 @@ class CreateContact extends Migration
*/
public function up()
{
Schema::create('contact', function (Blueprint $table) {
Schema::create('contacts', function (Blueprint $table) {
$table->id();
$table->timestamps();
$table->string('name_first', 255);
$table->string('name_last', 255);
$table->string('email', 255);
$table->integer('phone');
//$table->unique('email');
});
}