Skip to content

Instantly share code, notes, and snippets.

@heathdutton
Created November 15, 2018 02:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heathdutton/2f8448279ad6c697925f998f7325d408 to your computer and use it in GitHub Desktop.
Save heathdutton/2f8448279ad6c697925f998f7325d408 to your computer and use it in GitHub Desktop.
Delete ancient notifications from Mautic.
DELETE FROM notifications WHERE date_added < DATE_SUB(NOW(), INTERVAL 7 DAY);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment