mirror of
https://github.com/robonen/education-project.git
synced 2026-03-20 10:54:31 +00:00
общий код
This commit is contained in:
@@ -17,15 +17,11 @@ class CreateTeachersTable extends Migration
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('user_id');
|
||||
$table->string('photo')->nullable();
|
||||
$table->string('first_name')->nullable();
|
||||
$table->string('second_name')->nullable();
|
||||
$table->string('middle_name')->nullable();
|
||||
$table->date('date_of_birth')->nullable();
|
||||
$table->string('phone_number')->nullable();
|
||||
$table->string('address')->nullable();
|
||||
$table->string('passport')->nullable();
|
||||
$table->string('qualification')->nullable();
|
||||
$table->unsignedTinyInteger('experience')->nullable();
|
||||
$table->string('name')->nullable();
|
||||
$table->string('surname')->nullable();
|
||||
$table->string('patronymic')->nullable();
|
||||
$table->string('specialization')->nullable();
|
||||
$table->string('information_about_me')->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
$table->foreign('user_id')
|
||||
|
||||
Reference in New Issue
Block a user