feat:google oauth

This commit is contained in:
2025-10-03 17:00:21 +02:00
parent 6fddf426b6
commit 0caa5dc9d6
12 changed files with 292 additions and 1 deletions

View File

@@ -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', {