Closed kmafeni04 closed 7 months ago
I'm using sqlite and this is the code:
[1] = function() create_table("users", { { "id", types.serial }, { "username", types.varchar }, { "email", types.varchar }, { "password", types.varchar }, "PRIMARY KEY (id)" })
but I get this after migrating
SQL: CREATE TABLE "users" ( "id" nil, "username" nil, "email" nil, "password" nil, PRIMARY KEY (id) )
These fields aren't meant to be nil, is there something I'm doing wrong?
I'm using sqlite and this is the code:
but I get this after migrating
These fields aren't meant to be nil, is there something I'm doing wrong?