# ushort

fun ushort(name: String, checkConstraintName: String? = null): Column<UShort>

Creates a numeric column, with the specified name, for storing 2-byte unsigned integers. An optional checkConstraintName can be passed to allow customizing the check constraint name when needed.

Note: If the database being used is not MySQL or MariaDB, this column will use the database's 4-byte integer type with a check constraint that ensures storage of only values between 0 and UShort.MAX_VALUE inclusive.