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

Database

vonStichen edited this page Oct 23, 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)

notificationCounters

Key: date (YYYYMMDD DATE) and total

Attributes:

  • notificationCount (Int)

dailyNotificationAttemptsEhrid

Key: eHRID

Attributes:

  • date (DATE)
  • attemptCount (Int)

covidDataTotal

Key: date (YYYYMMDD DATE)

Attributes:

  • testsTotal (Int)
  • TestsIncrease (Int)
  • confirmedCasesTotal (Int)
  • confirmedCasesIncrease (Int)
  • activeCasesTotal (Int)
  • curedTotal (Int)
  • deceasedTotal (Int)
  • currentlyHospitalizedTotal (Int)
  • TestsIncreaseDate
  • confirmedCasesIncreaseDate (DATE)

metrics

Key: date (YYYYMMDD DATE - date of today!)

Attributes:

  • Modified (long)
  • Date (string, YYYYMMDD DATE - date of today!)
  • ActivationsYesterday (int)
  • ActivationsTotal (int)
  • KeyPublishersYesterday (int)
  • KeyPublishersTotal (int)
  • NotificationsYesterday (int)
  • NotificationsTotal (int)

Realtime DB

userCounters

Key: date (DATE) and total

Attributes:

  • usersCount (Int)
Clone this wiki locally