mautic-enhancer icon indicating copy to clipboard operation
mautic-enhancer copied to clipboard

Need a way to check if reference table existence

Open pety-dc opened this issue 6 years ago • 1 comments

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 avatar Jan 16 '19 10:01 pety-dc

Sure, I don't see why not.

heathdutton avatar Feb 25 '19 14:02 heathdutton