[1.7.x] Fixed #23153: Properly recreate spatialite triggers on alter table