Created
July 5, 2021 15:17
-
-
Save renaudmathieu/08d453ecefa984d0f6b5690dd7a58196 to your computer and use it in GitHub Desktop.
ktor_part3_TodoTable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Define a table | |
object TodoTable: UUIDTable(name = "todo", columnName = "uid") { | |
val subject: Column<String> = text(name = "subject") | |
val done: Column<Boolean> = bool(name = "done") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment