mysql / sqlite drop index compatibility