Register and login and assign jwt token

This commit is contained in:
Justin xzHome
2025-07-13 23:34:43 +09:00
parent c754d1de6e
commit 346e79622d
9 changed files with 407 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ import { defineConfig } from 'drizzle-kit';
export default defineConfig({
out: './drizzle',
schema: ['./src/db/productsSchema.ts'],
schema: ['./src/db/productsSchema.ts', './src/db/usersSchema.ts'],
dialect: 'mysql',
dbCredentials: {
url: process.env.DATABASE_URL!,