Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Krzysztof Rewak <[email protected]>
  • Loading branch information
kamilpiech97 and krzysztofrewak authored Oct 9, 2023
1 parent 67ef895 commit 79aa571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function up(): void
$table->string("name");
$table->string("form");
$table->string("course_semester_id")->nullable();
$table->foreign("course_semester_id")->references("id")->on("course_semester")->onDelete("set null");
$table->foreign("course_semester_id")->references("id")->on("course_semester")->onDelete("SET NULL");
$table->timestamps();
});
}
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Layouts/DashboardLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const navigation = [
title: 'Uczelnia',
elements: [
{ name: 'Studenci', href: '/dashboard/students', icon: UsersIcon, current: false },
{ name: 'Kursy w semestrze', href: '/dashboard/course-semester', icon: BookmarkSquareIcon, current: false },
{ name: 'Kursy w semestrze', href: '/dashboard/semester-courses', icon: BookmarkSquareIcon, current: false },
],
},
{
Expand Down

0 comments on commit 79aa571

Please sign in to comment.