Add meta info for clients to store custom data in (#113)

* Add meta info for clients to store custom data in

* PR comments

* Really update migration
This commit is contained in:
Syer10
2021-05-29 19:48:08 -04:00
committed by GitHub
parent e69dbbf418
commit 6c22fe193a
14 changed files with 167 additions and 11 deletions

View File

@@ -0,0 +1,10 @@
package suwayomi.tachidesk.model.table
import org.jetbrains.exposed.dao.id.IntIdTable
import org.jetbrains.exposed.sql.ReferenceOption
object ChapterMetaTable : IntIdTable() {
val key = varchar("key", 256)
val value = varchar("value", 4096)
val ref = reference("chapter_ref", ChapterTable, ReferenceOption.CASCADE)
}