# ubyte

fun ubyte(name: String, checkConstraintName: String? = null): Column<UByte>

Creates a numeric column, with the specified name, for storing 1-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, MariaDB, or SQL Server, this column will use the database's 2-byte integer type with a check constraint that ensures storage of only values between 0 and UByte.MAX_VALUE inclusive.