Skip to content

Instantly share code, notes, and snippets.

@phawxby
Created May 2, 2017 17:14
Show Gist options
  • Save phawxby/3923d08ab6c1ee6e53328833a9f96073 to your computer and use it in GitHub Desktop.
Save phawxby/3923d08ab6c1ee6e53328833a9f96073 to your computer and use it in GitHub Desktop.
Cleaning the locales_source table in Drupal 7
DELETE locales_source FROM locales_source LEFT JOIN locales_target lt USING ( lid ) WHERE lt.lid IS NULL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment