Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete year_locality.ssbid and year_locality.ano_flate_id #5

Open
jenast opened this issue Sep 22, 2022 · 0 comments
Open

Delete year_locality.ssbid and year_locality.ano_flate_id #5

jenast opened this issue Sep 22, 2022 · 0 comments

Comments

@jenast
Copy link
Member

jenast commented Sep 22, 2022

Delete these ids since they are already present in locations.localities. Cannot simply make foreign keys since the ssbids and potentially ano_flate_ids are not unique in the localities table. (Since we might use the same locality for e.g. OkoTrond and NasIns monitoring.

Update all functions using year_locality.ano_flate_id and yl.ssbid, removing these joins. (and adding localities joins where needed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant