You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
Right now in
load._read_db
we have two fields,country
andsource
, 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.The text was updated successfully, but these errors were encountered: