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

Added district config in export to exploitation db #509

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

antoineludeau
Copy link
Member

@antoineludeau antoineludeau commented Dec 17, 2024

Context

In order to correctly activate the certificate for the district that have activated it, we need to have more information in our exploitation db (mongo), coming from our main db (postgresql).

Enhancement

this PR adds :

  • district config on all items transferred from our main db (postgresql) to our exploitation DB (mongodb) : address, common toponym and district in our
  • flag withBanId on all items transferred from our main db (postgresql) to our exploitation DB (mongodb) : address, common toponym (it was already exported on district items).

This PR also adds the config district in the field returned by the lookup

@antoineludeau antoineludeau self-assigned this Dec 17, 2024
@antoineludeau antoineludeau force-pushed the antoineludeau/export-district-config branch from c7a7347 to 1b171f1 Compare December 19, 2024 15:01
@antoineludeau antoineludeau force-pushed the antoineludeau/export-district-config branch from 1b171f1 to a004b59 Compare December 19, 2024 15:04
@antoineludeau antoineludeau merged commit ec3b087 into master Dec 19, 2024
1 check passed
@antoineludeau antoineludeau deleted the antoineludeau/export-district-config branch December 19, 2024 15:22
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

Successfully merging this pull request may close these issues.

2 participants