summaryrefslogtreecommitdiff
path: root/schema.txt
blob: d43229e33fbd359ba9b3a6f058e7ac4b9d28cd40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
-------------------------------------------------------------------------------
|                                                                             |
|                         HKGI Database Schema                                |
|                                                                             |
-------------------------------------------------------------------------------

Plant:
    *id: UUID
    kind: enum Kind ("bbc", "hvv", "cyl", "dirt")
    statuses: String[]
    xp: Integer
    xp_multiplier: Float
    next_yield: UtcDateTime 


Stead:
    *id: UUID
    username: String
    password: String
    plants: UUID[] (Foreign Key -> Plant(id))
    inventory: JSONB
    ephemeral_statuses: