tabelle ai_model_api_provider entfernt

This commit is contained in:
2025-08-29 14:09:01 +02:00
parent 9b1f6a479f
commit d271f256b7
11 changed files with 47 additions and 103 deletions

View File

@@ -23,8 +23,9 @@ class AiModelApiProviderSeeder extends Seeder
]
];
// Update existing AI models with their API provider IDs
foreach ($data as $row) {
DB::table('ai_model_api_provider')->insert($row);
\App\Models\AiModel::where('id', $row['ai_model_id'])->update(['api_provider_id' => $row['api_provider_id']]);
}
}
}