Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(db-postgres, db-vercel-postgres): relationship migration v2-v3 dirname #9178

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

r1tsuu
Copy link
Member

@r1tsuu r1tsuu commented Nov 13, 2024

What?

This command from here:
#6339

payload migrate:create --file @payloadcms/db-postgres/relationships-v2-v3

stopped working after db-postgers and drizzle packages were separated

How?

Passes correct dirname to getPredefinedMigration

Additionally, adds support for .js files in getPredefinedMigration

@DanRibbens DanRibbens enabled auto-merge (squash) November 13, 2024 18:43
@DanRibbens DanRibbens merged commit 5b9cee6 into beta Nov 13, 2024
56 checks passed
@DanRibbens DanRibbens deleted the fix/postgers-migrations branch November 13, 2024 19:02
Copy link

🚀 This is included in version v3.0.0-beta.130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants