feat(qa): add synthesis conversations with source retention (#52)
This commit is contained in:
@ -15,7 +15,7 @@ import (
|
||||
|
||||
func TestTicket39PromptBudgetMigrationAndAccountAPIIsolatedPostgres(t *testing.T) {
|
||||
db := ticket14DB(t)
|
||||
if _, err := db.Exec(`CREATE TABLE users(id UUID PRIMARY KEY,language TEXT DEFAULT 'fr',ranking_mode TEXT DEFAULT 'title',ranking_model_id UUID,summary_model_id UUID,updated_at TIMESTAMPTZ DEFAULT NOW()); INSERT INTO users(id) VALUES('00000000-0000-0000-0000-000000003901'),('00000000-0000-0000-0000-000000003902')`); err != nil {
|
||||
if _, err := db.Exec(`CREATE TABLE users(id UUID PRIMARY KEY,language TEXT DEFAULT 'fr',ranking_mode TEXT DEFAULT 'title',ranking_model_id UUID,source_article_retention_days INT NOT NULL DEFAULT 7,summary_model_id UUID,updated_at TIMESTAMPTZ DEFAULT NOW()); INSERT INTO users(id) VALUES('00000000-0000-0000-0000-000000003901'),('00000000-0000-0000-0000-000000003902')`); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
migration, err := os.ReadFile("../database/migrations/000020_summary_prompt_budget.up.sql")
|
||||
|
||||
Reference in New Issue
Block a user