a heads up, if you drop foreign key constraints, you may need to update clear_expired_metering_data since i check for that there too.
a heads up, if you drop foreign key constraints, you may need to update clear_expired_ metering_ data since i check for that there too.