41 lines
617 B
Text
41 lines
617 B
Text
Users
|
|
- id
|
|
- name
|
|
|
|
(part of django auth)
|
|
|
|
GMs
|
|
- user
|
|
- campaign
|
|
|
|
# A GM is a user linked to a campaign. They get extra priovs on that campaign
|
|
|
|
Characters
|
|
- id
|
|
- owner (user-id)
|
|
- campaing (campaign id)
|
|
- game system?
|
|
|
|
Campaign
|
|
- id
|
|
- name
|
|
- game system
|
|
|
|
Campaign-Players
|
|
- campaign id
|
|
- user id
|
|
|
|
Game System
|
|
- id
|
|
- name
|
|
|
|
|
|
A character is owned by a user and is part of a campaign
|
|
|
|
A campaign has one or more gms and zero or more players
|
|
|
|
A user may view characters they own, or if they are a gm then characters that are part of one of their campaigns
|
|
|
|
|
|
Permissions
|
|
|