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

Correcting getGlobalSchemaName to use the correct schema #728

Merged
merged 3 commits into from
Aug 29, 2024

Conversation

challgren
Copy link
Contributor

When using CakePHP 5.0.9 and Migrations 4.3.1, if you are using Postgres and try to run the seeds on a schema other than public the seed will fail.

@othercorey
Copy link
Member

@markstory might be already out for CakeFest. I will check this out if he's not available for a long time.

@challgren
Copy link
Contributor Author

@markstory might be already out for CakeFest. I will check this out if he's not available for a long time.

Thanks! I'll use my branch for now until a solution can be found or this is merged.

@markstory markstory added this to the 4.x (CakePHP 5) milestone Jul 18, 2024
@markstory markstory mentioned this pull request Jul 18, 2024
3 tasks
@challgren
Copy link
Contributor Author

I simplified the test as per the advice, I did also update to the latest 4.x branch and will be testing it on production shortly.

@markstory markstory merged commit 0716a4b into cakephp:4.x Aug 29, 2024
17 of 18 checks passed
@challgren
Copy link
Contributor Author

Did about 15 deploys on production and demo. No issues with seeding non-public schemas.

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.

3 participants