Skip to content

Commit

Permalink
docs: update database documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
StudyU Documenter committed Jul 30, 2023
1 parent c59debb commit 052517f
Show file tree
Hide file tree
Showing 9 changed files with 1,076 additions and 1,128 deletions.
4 changes: 1 addition & 3 deletions docs/database/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@
| [supabase_functions.hooks](supabase_functions.hooks.md) | 5 | Supabase Functions Hooks: Audit trail for triggered hooks. | BASE TABLE |
| [public.study](public.study.md) | 21 | | BASE TABLE |
| [public.study_subject](public.study_subject.md) | 7 | | BASE TABLE |
| [public.tag](public.tag.md) | 2 | | BASE TABLE |
| [public.study_tag](public.study_tag.md) | 2 | | BASE TABLE |
| [public.app_config](public.app_config.md) | 8 | Stores app config for different envs | BASE TABLE |
| [public.repo](public.repo.md) | 4 | Git repo where the generated project is stored | BASE TABLE |
| [public.study_invite](public.study_invite.md) | 3 | Study invite codes | BASE TABLE |
| [public.subject_progress](public.subject_progress.md) | 6 | | BASE TABLE |
| [public.study_progress_export](public.study_progress_export.md) | 10 | | VIEW |
| [public.user](public.user.md) | 2 | Users get automatically added, when a new user is created in auth.users | BASE TABLE |
| [public.user](public.user.md) | 3 | Users get automatically added, when a new user is created in auth.users | BASE TABLE |
| [extensions.pg_stat_statements_info](extensions.pg_stat_statements_info.md) | 2 | | VIEW |
| [extensions.pg_stat_statements](extensions.pg_stat_statements.md) | 43 | | VIEW |
| [pgsodium.key](pgsodium.key.md) | 14 | This table holds metadata for derived keys given a key_id and key_context. The raw key is never stored. | BASE TABLE |
Expand Down
29 changes: 16 additions & 13 deletions docs/database/public.repo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/database/public.study.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

| Name | Type | Default | Nullable | Children | Parents | Comment |
| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
| id | uuid | gen_random_uuid() | false | [public.study_subject](public.study_subject.md) [public.study_tag](public.study_tag.md) [public.repo](public.repo.md) [public.study_invite](public.study_invite.md) | | |
| id | uuid | gen_random_uuid() | false | [public.study_subject](public.study_subject.md) [public.repo](public.repo.md) [public.study_invite](public.study_invite.md) | | |
| contact | jsonb | | false | | | |
| title | text | | false | | | |
| description | text | | false | | | |
Expand Down
Loading

0 comments on commit 052517f

Please sign in to comment.