feat:google oauth
This commit is contained in:
@@ -4,7 +4,8 @@ export const user = pgTable('user', {
|
||||
id: text('id').primaryKey(),
|
||||
age: integer('age'),
|
||||
username: text('username').notNull().unique(),
|
||||
passwordHash: text('password_hash').notNull()
|
||||
passwordHash: text('password_hash'),
|
||||
googleId: text('google_id').unique()
|
||||
});
|
||||
|
||||
export const session = pgTable('session', {
|
||||
|
||||
Reference in New Issue
Block a user