Closed herbdool closed 3 years ago
The fatal error interrupts the update hooks. And the schema version ends up staying at -1 in the system table so it can't run the updates at all.
Seems like checking for existing table need to be added to installer.
Trying resolve it as core issue
Thanks for doing that @findlabnet. You can probably close this issue then. (In retrospect I could have just renamed the table if I wanted to keep the data.)
Resolved with new release
If old table exists when this module install, it will be renamed to blocked_ips_d7
, then on status report page you can see info about it.
@herbdool , thanks for your help.
Not sure how to avoid this when there's a schema in the install file. Somehow need to check if the table already exists.