Skip to content

Commit 46894e3

Browse files
committed
fix: update Makefile to include separate migrate-local and migrate-remote targets
1 parent b123036 commit 46894e3

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: build deploy deploy-api deploy-web dev migrate
1+
.PHONY: build deploy deploy-api deploy-web dev migrate-local migrate-remote
22

33
build:
44
pnpm run build
@@ -14,5 +14,8 @@ deploy-web:
1414
dev:
1515
pnpm run dev
1616

17-
migrate:
17+
migrate-local:
1818
cd apps/api && pnpm wrangler d1 execute tabitabi --local --file=../../migrations/0001_simple_schema.sql
19+
20+
migrate-remote:
21+
cd apps/api && pnpm wrangler d1 execute tabitabi --remote --file=../../migrations/0001_simple_schema.sql

0 commit comments

Comments
 (0)