cyberia/research/mimi/sql/migrations/000002_llm_chat.sql

-- +goose Up
-- +goose StatementBegin
CREATE TABLE IF NOT EXISTS llm_chat (
    telegram_id bigint PRIMARY KEY,
    messages jsonb NOT NULL
);
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
DROP TABLE IF EXISTS llm_chat;
-- +goose StatementEnd

Graph