krazkidd / lineup

Softball lineup editor made with Nuxt 3 (Vue.js 3)
https://lineup.app.xericode.net
GNU Affero General Public License v3.0
3 stars 2 forks source link

Deploy indexes to Firestore #21

Closed krazkidd closed 9 months ago

krazkidd commented 9 months ago

Indexes need to be added to firestore.indexes.json ~and the GitHub workflow needs to publish these at build time, just like we do for security rules in #20~.

Additionally, there should be a way to configure TTLs in the same manner. We can add this on the emotes collection as we have no need to store these after a game has completed.

krazkidd commented 9 months ago

The index on the emotes collection was added to firestore.indexes.json and a means was provided to manually deploy.

In order to add a TTL to the index, it would require upgrading to the Blaze plan and configuring billing, which I don't intend to do right now.