usdigitalresponse / univaf

An API hosted by USDR for recording and querying vaccine appointment availability.
https://getmyvax.org/
Apache License 2.0
7 stars 2 forks source link

Revisit data model/DB structure #53

Closed Mr0grog closed 3 years ago

Mr0grog commented 3 years ago

There are a variety of things in how we’ve modeled the data that I’m not sure I’m happy with and would appreciate some extra thought or at least gut-checking from other people on:

Mr0grog commented 3 years ago

Updates:

Other minor change: for clarity, rename the timestamps on availability.

Mr0grog commented 3 years ago

High priority for the availability schema changes (useful for #52), everything else less so.

astonm commented 3 years ago

@Mr0grog which of these ideas, if any, still remain to be implemented?

Mr0grog commented 3 years ago

Just the issues around is_public and around address fields as an object, but I’m not sure either of those are really worth messing with at this point.

There are also two changes from this old doc: https://docs.google.com/document/d/1r9OHWal5oAUIsWDHiQAMQkOcGZUFEZCsTo7gxH34HlU/edit

…but I think it’s better to make separate issues to track these; this issue is a confusing mess.

Mr0grog commented 3 years ago

(See #154 & #155 for those last ones.)