feat!: removed uniqueIndex from guid

This commit is contained in:
moonleay 2023-10-15 13:18:33 +02:00
parent 613d16ef62
commit 8f4585f1e9

View file

@ -22,7 +22,7 @@ import org.jetbrains.exposed.sql.Table
object RSSTable : Table(name = "rss") {
val guid = text("guid").uniqueIndex()
val guid = text("guid")
val subscriptionId = integer("subscription_id") references SubscriptionsTable.id
override val primaryKey = PrimaryKey(guid, subscriptionId, name = "PK_RSS")
}