restore sqlite indexes on alter.