swisnl / dlf-hackathon-2023

DLF Hackathon 2023

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set up data model

Rocksheep opened this issue · comments

The project requires the following tables:

  • Tenants (used to store external sites)
    • Tenant ID
    • Tenant name
    • Tenant slug
    • websiteUrl
  • Transactions (contains calculated co2 usage)
    • Transaction ID
    • Tenant ID FK
    • Account ID FK (optioneel)
  • Accounts (possibly contains user information)
    • Account ID
    • Email hash (unique)

All models must have an UUID as the ID