[ ] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated
[ ] PR title is ready for inclusion in changelog
Database Migrations
[ ] If your PR contains a database migation, it MUST be the latest in date order alphabetically
Just a refactor to the restore query that adds the field restoreSize: Int that reports the ContentLength of the file, which is reported by the S3 client when the HEAD request to check the file exists is executed.
This would allow for the button in the UI to display the size of the file
Closing issues
partially #3152 (only for retrieved backups, not all)
General Checklist
Database Migrations
Just a refactor to the restore query that adds the field
restoreSize: Int
that reports theContentLength
of the file, which is reported by the S3 client when theHEAD
request to check the file exists is executed.This would allow for the button in the UI to display the size of the file![image](https://github.com/uselagoon/lagoon/assets/9973880/457d376c-a075-4f40-b052-8f0f18814336)
Closing issues
partially #3152 (only for retrieved backups, not all)