Seeds hinzugefügt, Übersetzungen für Plugins und Dashboard ergänzt

This commit is contained in:
2025-08-21 11:08:53 +02:00
parent b1de8f53c6
commit 44dd0f2867
13 changed files with 893 additions and 52 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class AiModelApiProviderSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$data = [
[
['ai_model_id' => 2, 'api_provider_id' => 1],
['ai_model_id' => 5, 'api_provider_id' => 1],
['ai_model_id' => 6, 'api_provider_id' => 1],
['ai_model_id' => 7, 'api_provider_id' => 3],
['ai_model_id' => 8, 'api_provider_id' => 1],
]
];
foreach ($data as $row) {
DB::table('ai_model_api_provider')->insert($row);
}
}
}