Skip to content

Conversation

@paulhenri-l
Copy link
Contributor

When trying to use the postgres world as explained in the doc the user will face two issues:

  • The database migration is missing one column
  • The storage implementation doesn't parse db results using zod schemas. Leading to type errors (string is not a date)

Storage params were also completely ignored, they are now taken into account.

This PR aims to fix these two little issues allowing users to try the postgres world while I'll work on a more stable version.

@changeset-bot
Copy link

changeset-bot bot commented Nov 11, 2025

🦋 Changeset detected

Latest commit: e4ffca9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@workflow/world-postgres Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Contributor

vercel bot commented Nov 11, 2025

@paulhenri-l is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

"created_at" timestamp DEFAULT now() NOT NULL,
"updated_at" timestamp DEFAULT now() NOT NULL
"updated_at" timestamp DEFAULT now() NOT NULL,
"retry_after" timestamp
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have an upcoming pr to move the world to drizzle migrator, it will make future schema changes much easier to maintain

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incredible ty!

Copy link
Collaborator

@pranaygp pranaygp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @paulhenri-l

looks like there's a merge conflict that needs fixing before this can be merged. It's also missing a changeset which if you can add would be awesome or I can do it for you too. just run pnpm changeset from the repo root and make sure to use patch

lastly, please just make sure you signoff the commit: https://github.com/vercel/workflow/pull/306/checks?check_run_id=55111524658

@pranaygp pranaygp self-assigned this Nov 12, 2025
Signed-off-by: paulhenri-l <25308170+paulhenri-l@users.noreply.github.com>
Signed-off-by: paulhenri-l <25308170+paulhenri-l@users.noreply.github.com>
Signed-off-by: paulhenri-l <25308170+paulhenri-l@users.noreply.github.com>
@paulhenri-l
Copy link
Contributor Author

Should be good now

@pranaygp pranaygp merged commit a6f5545 into vercel:main Nov 12, 2025
3 of 13 checks passed
@paulhenri-l paulhenri-l deleted the world-postgres-fix branch November 12, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants