edge icon indicating copy to clipboard operation
edge copied to clipboard

Implement Schema Changes for PutObjectLockConfiguration

Open ferristocrat opened this issue 5 months ago • 2 comments

Summary

This issue is a placeholder for any work needed for making the schema change and any associated migration to support PutObjectLockConfiguration.

The satellite database's bucket_metainfos table must have the following columns (See design doc for more details):

  • default_retention_mode - A numeric column indicating the default retention mode of objects uploaded into this bucket. It should be NULL, storj.ComplianceMode (1), or storj.GovernanceMode (3).
  • default_retention_days - A numeric column indicating the default amount of time, in days, for which objects uploaded into this bucket should be retained. One or neither of this column and default_retention_years should be set.
  • default_retention_years - A numeric column indicating the default amount of time, in years, for which objects uploaded into this bucket should be retained. One or neither of this column and default_retention_days should be set.

ferristocrat avatar Sep 04 '24 18:09 ferristocrat