Adjust sqlite to pg for prod