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 Handle missing tables in postgres on flush #483

Merged

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Jul 6, 2022

Issue silverstripe/gha-ci#11

Example https://github.com/creative-commoners/silverstripe-admin/runs/7194459625?check_suite_focus=true

Fixes postgres missing table errors on flush - meaning it's OK to have a missing table when graphql runs flush. Currently MySQL works fine with this, though the error message from postgres does not seem to be on the bottom line of the message, so this PR makes it so the whole message is scanned.

Targeting 3.7 as that's what's used by recipe-cms 4.10, which is the lowest version github actions ci is targeting

Note: travis failure is due to it being unable to no longer run on anything but the latest minor version because it trys to use installer 4.11.x-dev, which is not compatible with this old version of graphql 3.7

CI run is instead done here - emteknetnz#2

@emteknetnz emteknetnz force-pushed the pulls/3.7/postgres-flush branch from 5fc5a8c to dff7d5d Compare July 6, 2022 08:07
@GuySartorelli GuySartorelli merged commit 3766fd0 into silverstripe:3.7 Jul 6, 2022
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