Hello guys,
Is there any way to add a new field to _User class programmatically? What I have already tried:
const userSchema = new Parse.Schema("_User");
userSchema.addString("avatar", { required: false });
await userSchema.save(); // returns "Error: Class _User already exists."
await userSchema.update(); // returns "Error: Class _User does not exist."
I was already able to add this field using parse dashboard. And now I am trying to add it programmatically in order to run my parse server unit tests locally.
Here are packages that I use:
“parse”: “2.19.0”,
“parse-server”: “4.5.0”
Best regards
Valdes