Change to mongoose schema.