Skip to content

Commit

Permalink
feat(v2): switch to mysql with Planetscale database & better schema
Browse files Browse the repository at this point in the history
Turso resulted in too many problems and not being able to use SQL was annoying.
  • Loading branch information
jkrumm committed Jan 19, 2024
1 parent 26ecd63 commit 8b54207
Show file tree
Hide file tree
Showing 37 changed files with 1,246 additions and 2,840 deletions.
6 changes: 2 additions & 4 deletions drizzle.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ import { defineConfig } from "drizzle-kit";

export default defineConfig({
schema: "./src/server/db/schema.ts",
out: "./src/server/db/migrations",
driver: "turso",
driver: "mysql2",
dbCredentials: {
url: process.env.TURSO_URL!,
authToken: process.env.TURSO_TOKEN!,
uri: process.env.DATABASE_URL!,
},
strict: true,
verbose: true,
Expand Down
Loading

0 comments on commit 8b54207

Please sign in to comment.