feat(qa): add synthesis conversations with source retention (#52)
This commit is contained in:
@ -17,7 +17,7 @@ import (
|
||||
func TestTicket49RankingPreferenceMigrationValidationResolutionPostgres(t *testing.T) {
|
||||
db := ticket14DB(t)
|
||||
for _, q := range []string{
|
||||
`CREATE TABLE users(id UUID PRIMARY KEY,language TEXT DEFAULT 'fr',ranking_mode TEXT DEFAULT 'title',summary_prompt_token_budget INT DEFAULT 250000,summary_model_id UUID,updated_at TIMESTAMPTZ DEFAULT NOW())`,
|
||||
`CREATE TABLE users(id UUID PRIMARY KEY,language TEXT DEFAULT 'fr',ranking_mode TEXT DEFAULT 'title',summary_prompt_token_budget INT DEFAULT 250000,source_article_retention_days INT NOT NULL DEFAULT 7,summary_model_id UUID,updated_at TIMESTAMPTZ DEFAULT NOW())`,
|
||||
`CREATE TABLE ai_providers(id UUID PRIMARY KEY,name TEXT,endpoint TEXT,api_key_encrypted TEXT)`,
|
||||
`CREATE TABLE ai_provider_models(id UUID PRIMARY KEY,provider_id UUID REFERENCES ai_providers(id),model TEXT,enabled BOOLEAN)`,
|
||||
`INSERT INTO users(id) VALUES('` + ticket14UserA + `'),('` + ticket14UserB + `')`,
|
||||
|
||||
Reference in New Issue
Block a user