uselagoon / lagoon

Lagoon, the developer-focused application delivery platform
https://docs.lagoon.sh/
Apache License 2.0
552 stars 149 forks source link

fix: use Float for restore size #3633

Closed shreddedbacon closed 6 months ago

shreddedbacon commented 6 months ago

General Checklist

Database Migrations

Changes the return type from Int to Float, based on discussion in #3629

Other services in the API that store information related to storage size use Float, and these values would very likely see sizes into the GB if not TB of sizes that a restore would also see. https://github.com/uselagoon/lagoon/blob/v2.17.0/services/api/src/typeDefs.js#L941 https://github.com/uselagoon/lagoon/blob/v2.17.0/services/api/src/typeDefs.js#L947

Closing issues

closes #3629