refactor: rename InternshipStatus model to InternshipStatusData

This commit is contained in:
2025-11-29 12:32:43 +01:00
parent 5b86f2e355
commit b79c76d947
8 changed files with 17 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ namespace App\Http\Controllers;
use App\Models\Company;
use App\Models\User;
use App\Models\Internship;
use App\Models\InternshipStatus;
use App\Models\InternshipStatusData;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
@@ -186,7 +186,7 @@ class CompanyController extends Controller
// mazanie statusov
$internships->each(function ($internship) {
InternshipStatus::whereInternshipId($internship->id)->delete();
InternshipStatusData::whereInternshipId($internship->id)->delete();
});
// mazanie praxov