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

Use identifier to reference sources #100

Open
nesnoj opened this issue Sep 20, 2019 · 0 comments
Open

Use identifier to reference sources #100

nesnoj opened this issue Sep 20, 2019 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@nesnoj
Copy link
Member

nesnoj commented Sep 20, 2019

There's a problem with the source ids in meta app:

When I create sources locally, they get an auto id (postgres serial) in my local DB which can be equal to an existing (different) one in the WAM DB.
We reference sources by those ids (example) which must be manually changed on deployment to match the WAM DB ones.

Current state
In the current state, the WAM's meta tables must dumped and restored locally every time a source is added in the WAM (never restore the locally amended meta tables on the WAM as sources from other apps are is likely to get overwritten!).

Future
In rl-institut/WAM#86 I proposed an additional column holding an unique identifier such as "bgr_mun_2018" which can be clearly referenced to. StEmp ABW must be changed accordingly in MasterDetailView as soon as rl-institut/WAM#86 is done.

@nesnoj nesnoj added the enhancement New feature or request label Sep 20, 2019
@nesnoj nesnoj added this to the nice_to_have milestone Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant