Refactor drizzle and db folder

This commit is contained in:
Jared Palmer 2024-11-15 10:13:21 -05:00
parent e96dfb2d74
commit c493ac342b
31 changed files with 22 additions and 23 deletions

View file

@ -2,7 +2,7 @@
import { z } from 'zod';
import { createUser, getUser } from '@/db/queries';
import { createUser, getUser } from '@/lib/db/queries';
import { signIn } from './auth';

View file

@ -2,7 +2,7 @@ import { compare } from 'bcrypt-ts';
import NextAuth, { User, Session } from 'next-auth';
import Credentials from 'next-auth/providers/credentials';
import { getUser } from '@/db/queries';
import { getUser } from '@/lib/db/queries';
import { authConfig } from './auth.config';