Update db relations

Added OneToOne relations from metadata into histogram and geolocation Changed ints to Long

Merge request reports

Loading