Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

Update data for existing instances #16

Open
quorth0n opened this issue Mar 3, 2019 · 2 comments
Open

Update data for existing instances #16

quorth0n opened this issue Mar 3, 2019 · 2 comments

Comments

@quorth0n
Copy link
Member

quorth0n commented Mar 3, 2019

No description provided.

@MiklerGM
Copy link
Contributor

MiklerGM commented Mar 4, 2019

It's more about updating data (rank, location, label) in already populated tables.

We have an unique constraint on wikidata_id + event_type, so we won't get any duplicates anyway

@quorth0n quorth0n changed the title Upsert CD entities to avoid duplicates Update data for existing instances Mar 9, 2019
@MiklerGM
Copy link
Contributor

MiklerGM commented Mar 27, 2019

For updating Political Relations for Territorial Entity we should perform validation, that we are not keeping PRs which were removed from wikidata.
PRs added by human can be overwritten (there is not need of keeping user_created flag if this PR is present on wikidata)

UDP: PRs should be updated automatically only for first unique TE in the list

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

No branches or pull requests

3 participants