Updated create_staff_table
This commit is contained in:
parent
b48907b523
commit
b942d8c1e1
|
@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue