pulp_rpm icon indicating copy to clipboard operation
pulp_rpm copied to clipboard

Database schema cleanups

Open dralley opened this issue 2 years ago • 2 comments

  • UpdateCollectionPackage.sum_type shouldn't be allowed to be 0, but this seems to be the case in some ancient data. We could probably perform a migration determining sum_type based on the length of the checksum, or else wipe out the sum value if it's not of a proper length.
  • original_checksum_types should probably go away or be merged into last_sync_details

dralley avatar Jan 30 '24 23:01 dralley

Probably combine with https://github.com/pulp/pulp_rpm/issues/2580

dralley avatar Jan 31 '24 01:01 dralley

Should also include the database fields that go with https://github.com/pulp/pulp_rpm/issues/3338

Due to zero-downtime policy we can't always clean up database fields in the same PRs that we remove features.

dralley avatar Mar 18 '25 15:03 dralley