dalenguyen / firestore-backup-restore

NPM package for backup and restore Firebase Firestore

Home Page:https://firebaseopensource.com/projects/dalenguyen/firestore-backup-restore/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firestore Auto generated IDs

YassinAJDI opened this issue · comments

Is there a way to change current auto ids from using uuidv1 format: 53323bd0-b116-11eb-bbe5-ef197ba671aa
to something like default firestore Auto IDs format: YV74vPOT0cARsWK1qsqk

It's the default id generation. It can be changed by adding an option when importing (need development) or you can transform your data to include the id.

Thanks! I have decided to use hard-coded keys instead of auto IDs.

I'm gonna close this issue. Thank you!