Set up data model
Rocksheep opened this issue · comments
Marinus van Velzen commented
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