Skip to content

Commit

Permalink
Fix index not working
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Oct 4, 2023
1 parent 729b940 commit 5248324
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import net.perfectdreams.exposedpowerutils.sql.jsonb
import org.jetbrains.exposed.dao.id.IdTable

object CachedTwitchChannels : IdTable<Long>() {
override val id = long("twitch_user_id").uniqueIndex().entityId()
override val id = long("twitch_user_id").entityId()
val userLogin = text("user_login").uniqueIndex()
val data = jsonb("data").nullable()
val queriedAt = timestampWithTimeZone("queried_at")
Expand Down

0 comments on commit 5248324

Please sign in to comment.