feat(qa): add synthesis conversations with source retention (#52)
This commit is contained in:
@ -53,7 +53,7 @@ func TestPreferencesPersistPerUserPostgres(t *testing.T) {
|
||||
if _, err = db.Exec(string(migration)); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if _, err = db.Exec(`ALTER TABLE users ADD COLUMN ranking_model_id UUID, ADD COLUMN summary_model_id UUID NULL, ADD COLUMN summary_prompt_token_budget INT NOT NULL DEFAULT 250000`); err != nil {
|
||||
if _, err = db.Exec(`ALTER TABLE users ADD COLUMN source_article_retention_days INT NOT NULL DEFAULT 7, ADD COLUMN ranking_model_id UUID, ADD COLUMN summary_model_id UUID NULL, ADD COLUMN summary_prompt_token_budget INT NOT NULL DEFAULT 250000`); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
// The two accounts predate migration 11: defaults must backfill both,
|
||||
|
||||
Reference in New Issue
Block a user