MrPowerGamerBR
09/12/2021, 3:37 AMException in thread "main" org.jetbrains.exposed.exceptions.UnsupportedByDialectException: Auto-increment could be applied only to primary key column, dialect: sqlite.
Here's the table:
object Abc : LongIdTable() {
val user = long("user")
val user2 = long("user2")
override val primaryKey = PrimaryKey(id, user, user2)
}
So... is that an Exposed issue? Because I have no idea why it thinks it is a auto increment column. The only auto increment column is the "id" but it is also being included as a PrimaryKeyMrPowerGamerBR
09/12/2021, 3:40 AMAuto-increment could be applied only to a single column primary key, dialect: sqlite.
So I guess it is impossible to do this in SQLite? Because auto-increment only works in a single column primary key (which I don't have, I have multiple primary keys)Alt.ruist
09/12/2021, 10:54 AMMrPowerGamerBR
09/12/2021, 1:31 PM