Recreating indexes after dropping database