1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-27 19:24:52 +09:00
vervis/migrations/2019_06_07.model
fr33domlover 090c562553 Add an Inbox table in DB, make inbox related tables use it instead of Person
This allows the inbox system to be separate from Person, allowing other kinds
of objects to have inboxes too. Much like there's FollowerSet which works
separately from Tickets, and will allow to have follower sets for projects,
users, etc. too.

Inboxes are made independent from Person users because I'm going to give
Projects inboxes too.
2019-06-09 13:16:32 +00:00

36 lines
783 B
Text

Person
ident Int64
login Text
passphraseHash ByteString
email Text
verified Bool
verifiedKey Text
verifiedKeyCreated UTCTime
resetPassKey Text
resetPassKeyCreated UTCTime
about Text
inbox InboxId
UniquePersonIdent ident
UniquePersonLogin login
UniquePersonEmail email
Inbox
InboxItemLocal
person PersonId
inbox InboxId
activity Int64
item Int64
UniqueInboxItemLocal person activity
UniqueInboxItemLocalItem item
InboxItemRemote
person PersonId
inbox InboxId
activity Int64
item Int64
UniqueInboxItemRemote person activity
UniqueInboxItemRemoteItem item