added auto_inc to id in styles table

fixed a bug in the ai-model edit form
switched to sqlite
This commit is contained in:
2025-08-06 13:39:36 +02:00
parent 57f3dbc402
commit 573661825b
6 changed files with 48 additions and 82 deletions

View File

@@ -51,9 +51,8 @@ class AiModelResource extends Resource
->label(__('filament.resource.ai_model.form.parameters'))
->nullable()
->rows(15)
->json()
->json(JSON_PRETTY_PRINT)
->helperText(__('filament.resource.ai_model.form.parameters_help'))
->formatStateUsing(fn (?array $state): ?string => $state ? json_encode($state, JSON_PRETTY_PRINT) : null),
]);
}