Commit Graph

3 Commits

Author SHA1 Message Date
javayhu
2ba2eebbaa chore: update database schema and enhance authentication features
- Add `username` column to the `user` table and enforce uniqueness constraint.
- Introduce new SQL migration file for the `username` addition.
- Update `schema.ts` to reflect changes in the `user`, `session`, and `account` tables.
- Enhance authentication client by integrating `usernameClient` plugin for better user management.
- Adjust session management settings for improved caching and freshness.
- Refactor metadata generation in the home page for consistency.
2025-03-15 00:54:13 +08:00
javayhu
897f906631 feat: add better auth plugin admin to support user role and user ban 2025-02-23 23:23:01 +08:00
javayhu
3f66a24a60 feat: set up authentication with Drizzle ORM and Better Auth 2025-02-22 21:15:41 +08:00