fix migrations for production