Change notes columns
This commit is contained in:
@@ -7,5 +7,5 @@ object Notes : Table<Note>("Notes") {
|
||||
val id by int("id").primaryKey().bindTo { it.id }
|
||||
val title by varchar("title").bindTo { it.title }
|
||||
val user by int("user_id").references(Users) { it.user }
|
||||
val lastViewed by datetime("last_viewed").bindTo { it.lastViewed }
|
||||
val updatedAt by datetime("last_viewed").bindTo { it.updatedAt }
|
||||
}
|
||||
Reference in New Issue
Block a user