Currently in v2.x, we ensure that application code-generated UUIDs have the correct version and variant in migration_test.go, which is not ideal, because UUID generation is unrelated to migrations.
Describe the solution you'd like
Test UUID generation as part of persister_test.go.