Hermes MySQL
    Preparing search index...

    Type Alias Migration

    A change of the Hermes tables.

    MySQL commits every DDL statement at once, so a migration can stop in the middle. Write the statements so that they can run again, e.g. CREATE TABLE IF NOT EXISTS, and define the indexes in CREATE TABLE.

    type Migration = {
        name: string;
        statements: string[];
        version: number;
    }
    Index
    name: string
    statements: string[]
    version: number