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

DocumentType should have code as natural key #56

Open
WhyNotHugo opened this issue Oct 10, 2020 · 0 comments
Open

DocumentType should have code as natural key #56

WhyNotHugo opened this issue Oct 10, 2020 · 0 comments

Comments

@WhyNotHugo
Copy link
Owner

WhyNotHugo commented Oct 10, 2020

AFIP has changed the description of this, so when re-fetching metadata, one ends up with two different DocumentTypes that have the same code (code 99).

code should probably be the natural key for this table, and metadata updates should just overwrite.

@WhyNotHugo WhyNotHugo changed the title DocumentType should have code as primary key DocumentType should have code as natural key Apr 7, 2021
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