1
0
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:
ashen-1-dev
2020-12-11 01:47:33 +07:00
parent 854ffc83c8
commit 9c3874a2a0
4 changed files with 15 additions and 22 deletions

View File

@@ -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');
});
}