src/allographer/v2/schema_builder/queries/mysql/sub/create_column_query

Search:
Group by:

In MySQL, BLOB, TEXT, GEOMETRY or JSON column can't have a default value. BLOB/TEXT column caughn't use in key specification without a key length.

Procs

proc alterAddForeignKey(column: Column; table: Table): string {.
    ...raises: [ValueError, KeyError], tags: [], forbids: [].}
proc createColumnString(table: Table; column: Column): string {.
    ...raises: [ValueError, KeyError, DbError], tags: [], forbids: [].}
proc createForeignKey(table: Table; column: Column): string {.
    ...raises: [KeyError, ValueError], tags: [], forbids: [].}
proc createIndexString(table: Table; column: Column): string {.
    ...raises: [ValueError], tags: [], forbids: [].}