Closed peterjan closed 8 hours ago
Looking good but need to make sure the migration is tested. Especially the sqlite migration to make sure we are not dropping anything unexpectedly ^^
tested migrations on SQLite and MySQL, scratch databases though but with an entry in the contracts table, seems OK
This PR adds a
usability
column to thecontracts
table. This is the first in a series of PRs that removes the notion of a contract set and replaces it with an indication the contract is good for renewal and thus can be used for uploading and downloading. It's an enum to ensure we can extend it without requiring a migration.This PR essentially introduces an unused field called
usability
. Removingcontract_sets
is slightly more involved than I thought it would be. Mostly because of slabs, buffered slabs and the whole health mechanism. I plan on removing it in 3-4 PRs.