buster/packages/database/drizzle/0033_sql_evaluations_table.sql

15 lines
528 B
SQL

-- Migration: sql_evaluations_table
-- Created: 2024-12-17-180014
-- Original: 2024-12-17-180014_sql_evaluations_table
create table sql_evaluations (
id uuid primary key default uuid_generate_v4(),
evaluation_obj jsonb not null,
evaluation_summary text not null,
score text not null,
created_at timestamp with time zone not null default now(),
updated_at timestamp with time zone not null default now(),
deleted_at timestamp with time zone
);
alter table messages add column sql_evaluation_id uuid;