migrations icon indicating copy to clipboard operation
migrations copied to clipboard

Correcting getGlobalSchemaName to use the correct schema

Open challgren opened this issue 1 year ago • 3 comments

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.

challgren avatar Jul 17 '24 19:07 challgren

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

othercorey avatar Jul 17 '24 21:07 othercorey

@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.

challgren avatar Jul 17 '24 22:07 challgren

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.

challgren avatar Aug 28 '24 03:08 challgren

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

challgren avatar Aug 29 '24 04:08 challgren