Updated create_staff_table

This commit is contained in:
Anders 2020-06-29 13:29:19 +02:00
parent b48907b523
commit b942d8c1e1
1 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,13 @@ class CreateStaffTable extends Migration
{ {
Schema::create('staff', function (Blueprint $table) { Schema::create('staff', function (Blueprint $table) {
$table->id(); $table->id();
$table->string('name_first');
$table->string('name_last');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->integer("phone")->unique();
$table->rememberToken();
$table->timestamps(); $table->timestamps();
}); });
} }