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

[Small Ticket] Azure SQL Database: define a "load.schema" and move there "country" and "source" #152

Open
jmargutt opened this issue Mar 12, 2024 · 0 comments

Comments

@jmargutt
Copy link
Member

Right now in load._read_db we have two fields, country and source, which are hardcoded but should not be. Also, one might want to define other fields (e.g. emergency) to be used in the database.

Therefore, we should define a "schema" in the Load class which specifies which fields have to be there in the messages to read/write from/to the database, and, if empty, fill them accordingly.

@jmargutt jmargutt changed the title [Small Ticket] Define a "load.schema" and move there "country" and "source" [Small Ticket] Azure SQL Database: define a "load.schema" and move there "country" and "source" Jun 24, 2024
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