db migrate fix