Skip to content

Commit c130381

Browse files
committed
Generate latest migrations
Signed-off-by: paulhenri-l <25308170+paulhenri-l@users.noreply.github.com>
1 parent f819d7c commit c130381

File tree

5 files changed

+517
-9
lines changed

5 files changed

+517
-9
lines changed

packages/world-postgres/DEV_NOTES.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/world-postgres/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ For local development, you can use the included Docker Compose configuration:
128128
docker-compose up -d
129129

130130
# Create and run migrations
131-
pnpm drizzle-kit generate
132-
pnpm drizzle-kit migrate
131+
pnpm drizzle-kit generate --dialect=postgresql --schema=./src/drizzle/schema.ts --out src/drizzle/migrations
132+
pnpm bin/setup.js
133133

134134
# Set environment variables for local development
135135
export WORKFLOW_POSTGRES_URL="postgres://world:world@localhost:5432/world"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE "workflow"."workflow_runs" DROP COLUMN "error_code";--> statement-breakpoint
2+
ALTER TABLE "workflow"."workflow_steps" DROP COLUMN "error_code";

0 commit comments

Comments
 (0)