src/allographer/v2/schema_builder/queries/mysql/schema_utils

Procs

proc exec(rdb: MysqlConnections; queries: seq[string]) {.
    ...raises: [ValueError, Exception, OSError], tags: [TimeEffect, RootEffect,
    WriteDirEffect, ReadDirEffect, ReadIOEffect, WriteIOEffect], forbids: [].}
proc execThenSaveHistory(rdb: MysqlConnections; tableName: string;
                         queries: seq[string]; checksum: string) {.
    ...raises: [ValueError, Exception, OSError], tags: [TimeEffect, RootEffect,
    WriteDirEffect, ReadDirEffect, ReadIOEffect, WriteIOEffect], forbids: [].}
proc execThenSaveHistory(rdb: MysqlConnections; tableName: string;
                         query: string; checksum: string) {.
    ...raises: [ValueError, Exception, OSError], tags: [TimeEffect, RootEffect,
    WriteDirEffect, ReadDirEffect, ReadIOEffect, WriteIOEffect], forbids: [].}
proc notAllowedOption(option, typ, column: string) {.
    ...raises: [DbError, ValueError], tags: [], forbids: [].}
{option} is not allowed in {typ} column {column}
proc notAllowedType(typ: string) {....raises: [DbError, ValueError], tags: [],
                                   forbids: [].}
Change to {typ} type is not allowed
proc shouldRun(rdb: MysqlConnections; table: Table; checksum: string;
               isReset: bool): bool {....raises: [ValueError, Exception, OSError,
    CatchableError, KeyError], tags: [TimeEffect, RootEffect, WriteDirEffect,
                                      ReadDirEffect, ReadIOEffect, WriteIOEffect],
                                      forbids: [].}