Updated create_staff_table
This commit is contained in:
@@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user