Skip to content

Commit

Permalink
Update DB libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
dragneelfps committed Jul 23, 2022
1 parent 3f28fe8 commit 05f2313
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions buildSrc/src/main/kotlin/Deps.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const val kotlinVersion = "1.7.10"
const val ktorVersion = "1.6.0"
const val logbackVersion = "1.2.3"
const val h2Version = "1.4.200"
const val exposedVersion = "0.32.1"
const val hikariVersion = "4.0.3"
const val h2Version = "2.1.214"
const val exposedVersion = "0.38.2"
const val hikariVersion = "5.0.1"
const val koinVersion = "3.1.0"

object Deps {
Expand Down
5 changes: 2 additions & 3 deletions src/models/Article.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ import org.jetbrains.exposed.dao.id.EntityID
import org.jetbrains.exposed.dao.id.UUIDTable
import org.jetbrains.exposed.sql.ReferenceOption
import org.jetbrains.exposed.sql.Table
import org.jetbrains.exposed.sql.`java-time`.timestamp
import org.jetbrains.exposed.sql.javatime.timestamp
import java.time.Instant
import java.util.Locale
import java.util.UUID
import java.util.*

object Articles : UUIDTable() {
val slug = varchar("slug", 255)
Expand Down
2 changes: 1 addition & 1 deletion src/models/Comments.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import org.jetbrains.exposed.dao.id.EntityID
import org.jetbrains.exposed.dao.id.IntIdTable
import org.jetbrains.exposed.sql.ReferenceOption
import org.jetbrains.exposed.sql.Table
import org.jetbrains.exposed.sql.`java-time`.timestamp
import org.jetbrains.exposed.sql.javatime.timestamp
import java.time.Instant

object Comments : IntIdTable() {
Expand Down

1 comment on commit 05f2313

@dragneelfps
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RE: #7

Please sign in to comment.