-
Notifications
You must be signed in to change notification settings - Fork 13
Description
The primary key archive_id on all archive tables uses integer instead of BigInteger. This wouldn't normally be an issue for most tables but tariff_generated_rate, dynamic_operating_envelope and site_reading have already been migrated to use BigInteger.
At a minimum, archive_tariff_generated_rate, archive_dynamic_operating_envelope and archive_site_reading need their archive_id column migrated to BigInteger. It might be prudent to do this for all archive tables (partly because singling out specific tables might be tricky with the shared ArchiveBase in envoy.server.model.archive.base)
Note: The archive_tariff_generated_rate.tariff_generated_rate_id is already BigInteger - this is specifically about the shared archive_id common to all archive tables.