Skip to content

Commit 5b27a2d

Browse files
committed
fix migration in workflow
1 parent af5be91 commit 5b27a2d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: pnpm install
3131

3232
- name: Migrate Database
33-
run: pnpm run workflow:migrate-db
33+
run: pnpm run migrate
3434

3535
- name: 🚀 Deploy Trigger.dev
3636
env:

drizzle.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { defineConfig } from "drizzle-kit";
2+
3+
export default defineConfig({
4+
dbCredentials: {
5+
url: process.env.DATABASE_URL!,
6+
},
7+
dialect: "postgresql",
8+
schema: "./src/lib/schema.ts",
9+
out: "./migrations",
10+
});

0 commit comments

Comments
 (0)