casual-simulation / casualos

Casual Open Simulation for the Web
https://ab1.bot
MIT License
49 stars 9 forks source link

Store the S3 bucket name with file records in the Database #332

Closed KallynGowdy closed 8 months ago

KallynGowdy commented 10 months ago

We should support changing the S3 bucket for new file records while still being able to generate links for old file records. This task is to store the S3 bucket name along side each file record so that if the S3 bucket is changed, then we still have the correct bucket recorded for older file record and can still generate signed URLs for them correctly.