This commit is contained in:
2022-09-09 18:17:02 +06:00
parent 7549286c84
commit 4c9b6e485f
3 changed files with 10 additions and 7 deletions

View File

@@ -97,7 +97,9 @@ class ExposedPostsRepo(
}
}
override fun insert(value: NewPost, it: InsertStatement<Number>) {}
override fun insert(value: NewPost, it: InsertStatement<Number>) {
it[createdColumn] = DateTime.now().unixMillis
}
override suspend fun deleteById(ids: List<PostId>) {
onBeforeDelete(ids)