mautic-enhancer
mautic-enhancer copied to clipboard
Need a way to check if reference table existence
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?
Sure, I don't see why not.