-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
[REQUIRED] Environment info
firebase-tools: 12.7.0
Platform: macOS
[REQUIRED] Test case
I'm getting there are 1 field overrides defined in your project that are not present in your firestore indexes file. To delete them, run this command with the --force flag. ? Would you like to delete these field overrides? Selecting no will continue the rest of the deployment. (y/N)
prompt when deploying firebase app with --non-interactive
flag and indexes definition in firestore.indexes.json
is different from what is deployed.
[REQUIRED] Steps to reproduce
- Have you app with indexes deployed
- Add index / field override to you deployed app via firebase console UI and do not add it into you project's
firestore.indexes.json
file. - Deploy an application with
--non-interactive
flag
[REQUIRED] Expected behavior
Deployment will fail.
[REQUIRED] Actual behavior
there are 1 field overrides defined in your project that are not present in your firestore indexes file. To delete them, run this command with the --force flag. ? Would you like to delete these field overrides? Selecting no will continue the rest of the deployment. (y/N)
prompt is displayed.