When I uninstall the module the process fails because Mysql 5.5 does not support "IF EXISTS" for "DROP FOREIGN KEY". Are you using MariaDB for development?
This is a minor problem. I propose to omit the "IF EXISTS". If you want to be shure you can additionally wrap the SQL statement into a try block and catch the exception.
Thank you for the module btw. - I works great!
| Comment | File | Size | Author |
|---|---|---|---|
| lcache_foreign_key_not_exists.patch | 324 bytes | vurt |
Comments
Comment #2
david straussIt's mostly tested against MariaDB 10.0. I'll add in the patch before the next release.
Comment #3
stevectorI moved the patch over to https://github.com/lcache/drupal-8/pull/18