UuidTable
Parameters
Table name. By default, this will be resolved from any class name with a "Table" suffix removed (if present).
Name for the primary key column. By default, "id" is used.
Identity table with a primary key consisting of an auto-generating kotlin.uuid.Uuid value.
Note The specific UUID column type used depends on the database. BY default, the stored identity value will be auto-generated on the client side, just before insertion of a new row, by calling Uuid.generateV4(). If a specific uuidVersion is set, the appropriate Uuid companion method will be called, but only for the id column. Other Uuid column(s) registered to this table will not be affected by this setting and will rely on their own specified version definition.
Parameters
Table name. By default, this will be resolved from any class name with a "Table" suffix removed (if present).
Name for the primary key column. By default, "id" is used.
The specific UuidVersion to determine which Uuid companion method to use when generating instances. Setting this parameter to UuidVersion.V4 is equivalent to instantiating UuidTable() without this argument.