make login/register pages work, get rid of database.db, and remove
references
This commit is contained in:
parent
7d0b833cb1
commit
70da1db833
19 changed files with 357 additions and 197 deletions
|
|
@ -4,6 +4,7 @@ export const user = sqliteTable('user', {
|
|||
id: text('id').primaryKey(),
|
||||
age: integer('age'),
|
||||
username: text('username').notNull().unique(),
|
||||
email: text('email').notNull().unique(),
|
||||
passwordHash: text('password_hash').notNull()
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue