feat: edit validated per-model engine start profiles (#1070)
This commit is contained in:
7
crates/nexus-store/migrations/0007_startprofile.sql
Normal file
7
crates/nexus-store/migrations/0007_startprofile.sql
Normal file
@ -0,0 +1,7 @@
|
||||
-- Ein aktives Startprofil je Modell. {} bedeutet die unveränderten
|
||||
-- Engine-/Gateway-Vorgaben; Standard wiederherstellen entfernt Überschreibungen.
|
||||
CREATE TABLE startprofil (
|
||||
model_id INTEGER PRIMARY KEY REFERENCES model(id) ON DELETE CASCADE,
|
||||
parameter TEXT NOT NULL DEFAULT '{}' CHECK(json_valid(parameter))
|
||||
) STRICT;
|
||||
INSERT INTO startprofil(model_id) SELECT id FROM model;
|
||||
Reference in New Issue
Block a user