-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from danihengeveld/79-use-drizzlekit
Replaced Prisma and Kysely with Drizzle/DrizzleKit
- Loading branch information
Showing
18 changed files
with
843 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import type { Config } from "drizzle-kit"; | ||
|
||
import * as dotenv from 'dotenv' | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call | ||
dotenv.config({path: ".env.development.local"}) | ||
|
||
export default { | ||
schema: "./src/db/schema.ts", | ||
driver: "mysql2", | ||
dbCredentials: { | ||
connectionString: process.env.DATABASE_URL as string, | ||
}, | ||
} satisfies Config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
a518180
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
shurtle-ts – ./
shurtle-ts-danihengeveld.vercel.app
shurtle-ts.vercel.app
shurtle-ts-git-main-danihengeveld.vercel.app
shurtle.app
www.shurtle.app