mirror of
https://github.com/robonen/education-project.git
synced 2026-03-20 02:44:31 +00:00
Получение предметов и учеников класса, классов учителя
This commit is contained in:
@@ -15,7 +15,7 @@ class CreateParentsTable extends Migration
|
||||
{
|
||||
Schema::create('parents', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('user_id');
|
||||
$table->unsignedBigInteger('user_id')->unique();
|
||||
$table->string('photo')->nullable();
|
||||
$table->string('name')->nullable();
|
||||
$table->string('surname')->nullable();
|
||||
|
||||
Reference in New Issue
Block a user