Skip to content

Instantly share code, notes, and snippets.

@puranjayjain
Created February 10, 2020 09:23
Show Gist options
  • Select an option

  • Save puranjayjain/4c0c9da6c92657e77e9093e3e0a06fa6 to your computer and use it in GitHub Desktop.

Select an option

Save puranjayjain/4c0c9da6c92657e77e9093e3e0a06fa6 to your computer and use it in GitHub Desktop.

Revisions

  1. puranjayjain created this gist Feb 10, 2020.
    3 changes: 3 additions & 0 deletions DeleteFirestoreIndexes
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    # Delete all firestore composite indexes

    gcloud firestore indexes composite list --uri | xargs -I{} gcloud firestore indexes composite delete {} --quiet