feat!: removed uniqueIndex from guid
This commit is contained in:
parent
613d16ef62
commit
8f4585f1e9
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ import org.jetbrains.exposed.sql.Table
|
||||||
|
|
||||||
|
|
||||||
object RSSTable : Table(name = "rss") {
|
object RSSTable : Table(name = "rss") {
|
||||||
val guid = text("guid").uniqueIndex()
|
val guid = text("guid")
|
||||||
val subscriptionId = integer("subscription_id") references SubscriptionsTable.id
|
val subscriptionId = integer("subscription_id") references SubscriptionsTable.id
|
||||||
override val primaryKey = PrimaryKey(guid, subscriptionId, name = "PK_RSS")
|
override val primaryKey = PrimaryKey(guid, subscriptionId, name = "PK_RSS")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue