mirror of
https://github.com/robonen/education-project.git
synced 2026-03-20 02:44:31 +00:00
Модуль Задания(fix some bugs)
This commit is contained in:
@@ -25,7 +25,7 @@ class CreateTaskFilesTable extends Migration
|
||||
|
||||
$table->foreign('task_id')->references('id')->on('tasks')
|
||||
->onDelete('cascade');
|
||||
$table->foreign('user_id')->references('id')->on('tasks')
|
||||
$table->foreign('user_id')->references('id')->on('users')
|
||||
->onDelete('cascade');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user