Prompt-Inventar P1–P18: 22 Templates, Slot-System, Seed-Skript, Index-Fix

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-19 16:40:29 +00:00
parent 13bc7867cf
commit dc14bcaa2a
26 changed files with 1267 additions and 1 deletions

View File

@@ -127,7 +127,10 @@ const TABLES = [
enm('model_adapter', ['seedance', 'veo', 'sora', 'wan']), // null = kein Adapter
bool('aktiv', { default: true }),
],
indexes: [{ key: 'uq_key_version', type: 'unique', columns: ['key', 'version'] }],
// model_adapter gehört in den Index: P8 hat 5 Zeilen (Kern + 4 Adapter) je Version.
// MariaDB erlaubt mehrere NULLs im Unique-Index Eindeutigkeit der Kern-Zeilen
// (model_adapter=null) sichert das Seed-Skript (einziger Schreiber).
indexes: [{ key: 'uq_key_adapter_version', type: 'unique', columns: ['key', 'model_adapter', 'version'] }],
},
{
id: 'categories', name: 'Categories', rowSecurity: true,