diff --git a/purge_queuer_url.drush.inc b/purge_queuer_url.drush.inc
new file mode 100644
index 0000000..f0a41c0
--- /dev/null
+++ b/purge_queuer_url.drush.inc
@@ -0,0 +1,16 @@
+<?php
+
+/**
+ * @file
+ */
+
+/**
+ * Implements hook_drush_sql_sync_sanitize().
+ */
+function purge_queuer_url_drush_sql_sync_sanitize($source) {
+  // Bootstrap drupal otherwise container will not be available.
+  drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_FULL);
+
+  // Clear the traffic registry.
+  \Drupal::service('purge_queuer_url.registry')->clear();
+}
