feat: add last_update field to brain table (#1252)

This commit is contained in:
Mamadou DICKO 2023-09-25 11:33:23 +02:00 committed by GitHub
parent 5e2d8a6b59
commit b121d49927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,8 @@ CREATE TABLE IF NOT EXISTS brains (
max_tokens INT,
temperature FLOAT,
openai_api_key TEXT,
prompt_id UUID REFERENCES prompts(id)
prompt_id UUID REFERENCES prompts(id),
last_update TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);