- Issue created by @au_dave
This is a follow up to
https://www.drupal.org/project/restrict_ip/issues/3080420
🐛
SQLSTATE[HY000]: General error: 1 near "-": syntax error
Fixed
In my case I had installed the restrict_ip module with the patch provided at https://www.drupal.org/project/restrict_ip/issues/3080420#comment-14862181 🐛 SQLSTATE[HY000]: General error: 1 near "-": syntax error Fixed
Which had the type_path index with the underscore in the install hook, but the update hook hadn't been included yet.
When upgrading to the latest version of the module the update hook throws an error as the index already exists.
Patch provided.
Active
4.0
Code