messages: SQLiteTableWithColumns<
    {
        name: "messages";
        schema: undefined;
        columns: {
            id: SQLiteColumn<
                {
                    name: "id";
                    tableName: "messages";
                    dataType: "number";
                    columnType: "SQLiteInteger";
                    data: number;
                    driverParam: number;
                    notNull: true;
                    hasDefault: true;
                    isPrimaryKey: true;
                    isAutoincrement: false;
                    hasRuntimeDefault: false;
                    enumValues: undefined;
                    baseColumn: never;
                    identity: undefined;
                    generated: undefined;
                },
                object,
            >;
            content: SQLiteColumn<
                {
                    name: "content";
                    tableName: "messages";
                    dataType: "string";
                    columnType: "SQLiteText";
                    data: string;
                    driverParam: string;
                    notNull: true;
                    hasDefault: false;
                    isPrimaryKey: false;
                    isAutoincrement: false;
                    hasRuntimeDefault: false;
                    enumValues: [string, ...string[]];
                    baseColumn: never;
                    identity: undefined;
                    generated: undefined;
                },
                object,
            >;
            chatId: SQLiteColumn<
                {
                    name: "chatId";
                    tableName: "messages";
                    dataType: "string";
                    columnType: "SQLiteText";
                    data: string;
                    driverParam: string;
                    notNull: true;
                    hasDefault: false;
                    isPrimaryKey: false;
                    isAutoincrement: false;
                    hasRuntimeDefault: false;
                    enumValues: [string, ...string[]];
                    baseColumn: never;
                    identity: undefined;
                    generated: undefined;
                },
                object,
            >;
            messageId: SQLiteColumn<
                {
                    name: "messageId";
                    tableName: "messages";
                    dataType: "string";
                    columnType: "SQLiteText";
                    data: string;
                    driverParam: string;
                    notNull: true;
                    hasDefault: false;
                    isPrimaryKey: false;
                    isAutoincrement: false;
                    hasRuntimeDefault: false;
                    enumValues: [string, ...string[]];
                    baseColumn: never;
                    identity: undefined;
                    generated: undefined;
                },
                object,
            >;
            role: SQLiteColumn<
                {
                    name: "type";
                    tableName: "messages";
                    dataType: "string";
                    columnType: "SQLiteText";
                    data: "assistant"
                    | "user";
                    driverParam: string;
                    notNull: false;
                    hasDefault: false;
                    isPrimaryKey: false;
                    isAutoincrement: false;
                    hasRuntimeDefault: false;
                    enumValues: ["assistant", "user"];
                    baseColumn: never;
                    identity: undefined;
                    generated: undefined;
                },
                object,
            >;
            metadata: SQLiteColumn<
                {
                    name: "metadata";
                    tableName: "messages";
                    dataType: "json";
                    columnType: "SQLiteTextJson";
                    data: unknown;
                    driverParam: string;
                    notNull: false;
                    hasDefault: false;
                    isPrimaryKey: false;
                    isAutoincrement: false;
                    hasRuntimeDefault: false;
                    enumValues: undefined;
                    baseColumn: never;
                    identity: undefined;
                    generated: undefined;
                },
                object,
            >;
        };
        dialect: "sqlite";
    },
> = ...

**************** FILES INDEX & CHATS ******************