Converts database to postgresql for production