A person with an account. Created together with their canonical player, their self ghost player and their three privacy settings (PROFILE, MATCH_HISTORY, MATCH_DETAILS, all PRIVATE).
| Name |
Type |
Definition |
| app_user_pkey |
PRIMARY KEY |
PRIMARY KEY (id) |
| uq_app_user_public_id |
UNIQUE |
UNIQUE (public_id) |
| uq_app_user_canonical_player_id |
UNIQUE |
UNIQUE (canonical_player_id) |
| fk_app_user_canonical_player_id |
FOREIGN KEY |
FOREIGN KEY (canonical_player_id) REFERENCES canonical_player(id) |
| Name |
Definition |
| app_user_pkey |
CREATE UNIQUE INDEX app_user_pkey ON public.app_user USING btree (id) |
| uq_app_user_public_id |
CREATE UNIQUE INDEX uq_app_user_public_id ON public.app_user USING btree (public_id) |
| uq_app_user_canonical_player_id |
CREATE UNIQUE INDEX uq_app_user_canonical_player_id ON public.app_user USING btree (canonical_player_id) |
| ix_app_user_email |
CREATE INDEX ix_app_user_email ON public.app_user USING btree (email) |

Generated by tbls