Skip to content

Conversation

@arnaud-morvan
Copy link
Contributor

  • Add field admindiv.gaul
  • Do not use TRUNCATE CASCADE
  • Use UPSERT strategy for admindivs
  • Maintain contacts and recommandations relations using GAUL
  • Add class docstring

@arnaud-morvan
Copy link
Contributor Author

@ronitjadhav
I handled all relations properly. Don't hesitate to contact me by chat if something is not clear or if it desserve some comments, explanations.

- Add field admindiv.gaul
- Do not use TRUNCATE CASCADE
- Use UPSERT strategy for admindivs
- Maintain contacts and recommandations relations using GAUL
- Add class docstring
@arnaud-morvan arnaud-morvan force-pushed the import-geopackage-upsert branch from ffa73b4 to 2b96e9b Compare December 19, 2025 20:51
@ronitjadhav
Copy link
Collaborator

@arnaud-morvan
Got it, so we keep the admin div links (no truncation), swap codes via GAUL, and rely on the upsert to add/update rows as needed.

@arnaud-morvan arnaud-morvan merged commit 5b08086 into import-geopackage Jan 5, 2026
1 check passed
@arnaud-morvan arnaud-morvan deleted the import-geopackage-upsert branch January 5, 2026 09:36
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.

3 participants