Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Database

dizider edited this page Sep 25, 2020 · 23 revisions

Firestore Collections

registrations

Key: eHRID

Attributes:

  • platform (string; android/ ios)
  • platformVersion (string; system version, e.g. 10.0.4)
  • manufacturer (string; phone manufacturer, e.g. Samsung)
  • model (string; phone model, e.g. Galaxy S7)
  • locale (string; phone language, e.g. cs_CZ)
  • createdAt (timestamp of creation)
  • lastNotificationStatus (string)
  • lastNotificationUpdatedAt (timestamp)
  • pushRegistrationToken (push token from Firebase Cloud Messaging)

verificationCodes

Key: verificationCode (string; VC)

Attributes:

notificationCounters

Key: date (DATE)

Attributes:

  • notificationCount (Int)
  • total (Int)

dailyNotificationAttemptsEhrid

Key: eHRID

Attributes:

  • date (DATE)
  • attemptCount (Int)

covidDataTotal

Key: date (DATE)

Attributes:

  • testsTotal (Int)
  • TestsIncrease (Int)
  • confirmedCasesTotal (Int)
  • confirmedCasesIncrease (Int)
  • activeCasesTotal (Int)
  • curedTotal (Int)
  • deceasedTotal (Int)
  • currentlyHospitalizedTotal (Int)
Clone this wiki locally