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

Need a way to check if reference table existence #78

Open
pety-dc opened this issue Jan 16, 2019 · 1 comment
Open

Need a way to check if reference table existence #78

pety-dc opened this issue Jan 16, 2019 · 1 comment

Comments

@pety-dc
Copy link

pety-dc commented Jan 16, 2019

We use mautic in a K8S/docker environment. I included the mautic:integration:enhancer:installcspcdata command into the entrypoint.sh to ensure that the command is run if a new instance is launched.
However it also runs whenever I upgrade versions and restart the container.

Is there a way to include a status check in the command to prevent lengthy database requests from happenning is the reference table is present and up to date?

@pety-dc pety-dc changed the title Need a way to check if reference table existanve Need a way to check if reference table existencee Jan 16, 2019
@pety-dc pety-dc changed the title Need a way to check if reference table existencee Need a way to check if reference table existence Jan 16, 2019
@heathdutton
Copy link
Member

Sure, I don't see why not.

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

No branches or pull requests

2 participants