Unique Indexed in new Schema Migration?

Hey there,

I just wanted to know if it’s possible to add unique indexed according to the new schema migration features. Since there is no proper documentation yet, and according to the recent merge, I think it should be possible in some way.

Issue :- https://github.com/parse-community/parse-server/pull/7418

Extension of the above issue : Allow to create unique indexes · Issue #7289 · parse-community/parse-server · GitHub

Thanks for the help!

Hi @RahulLanjewar93 unfortunately “unique indexes” through DefinedSchema are not currently supported.

We will be happy, if you have some time to push a little PR to support unique indexes through DefinedSchema.