Hi, I was trying to setup my first project with kt...
# exposed
e
Hi, I was trying to setup my first project with ktor and exposed but I'm coming across a strange issue... I created a Users table like this:
Copy code
class Users : IntIdTable() {
    val username: Column<String> = varchar("username", 30)
    val email: Column<String> = varchar("email", 255)
    val password: Column<String> = varchar("password", 40)
}
now, if I try to invoke the functions of the Users class, Intellij gives no hints and screams about errors, for example I can't use
Users.insertAndGetId
as stated in the docs. Am I missing something?
h
Users
should be an
object
1
e
thanks, it was exactly that