PostgreSQL unique constraint error when setting up foreign key relation in Exposed (Kotlin)
"I am trying to setup a one-to-one relation between two tables (Users and RefreshTokens) using JetBrains' Exposed ORM library in Kotlin. I have defined the tables as follows: object Users : IdTable<UUID>() { override val id = uuid("user_id").entityId() val name…