-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/github_actions/dot-github/workflo…
…ws/github_actions-393ff94d45
- Loading branch information
Showing
29 changed files
with
1,462 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# This workflow generates database documentation and ERD files. | ||
# | ||
name: Generate dbdocs | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- .github/workflows/dbdocs.yml | ||
- db/migrations | ||
|
||
jobs: | ||
generate-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Generate DB docs | ||
run: make dbdocs | ||
|
||
- uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4 | ||
with: | ||
add: dbdocs | ||
message: "Generate dbdocs" | ||
default_author: github_actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# bcda | ||
|
||
## Tables | ||
|
||
| Name | Columns | Comment | Type | | ||
| ---- | ------- | ------- | ---- | | ||
| [public.schema_migrations](public.schema_migrations.md) | 2 | | BASE TABLE | | ||
| [public.blacklist_entries](public.blacklist_entries.md) | 7 | | BASE TABLE | | ||
| [public.encryption_keys](public.encryption_keys.md) | 7 | | BASE TABLE | | ||
| [public.groups](public.groups.md) | 7 | | BASE TABLE | | ||
| [public.secrets](public.secrets.md) | 6 | | BASE TABLE | | ||
| [public.systems](public.systems.md) | 12 | | BASE TABLE | | ||
| [public.ips](public.ips.md) | 6 | | BASE TABLE | | ||
| [public.client_tokens](public.client_tokens.md) | 8 | | BASE TABLE | | ||
| [public.root_keys](public.root_keys.md) | 8 | | BASE TABLE | | ||
|
||
## Relations | ||
|
||
 | ||
|
||
--- | ||
|
||
> Generated by [tbls](https://github.com/k1LoW/tbls) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# public.blacklist_entries | ||
|
||
## Description | ||
|
||
## Columns | ||
|
||
| Name | Type | Default | Nullable | Children | Parents | Comment | | ||
| ---- | ---- | ------- | -------- | -------- | ------- | ------- | | ||
| id | integer | nextval('blacklist_entries_id_seq'::regclass) | false | | | | | ||
| created_at | timestamp with time zone | | true | | | | | ||
| updated_at | timestamp with time zone | | true | | | | | ||
| deleted_at | timestamp with time zone | | true | | | | | ||
| key | text | | false | | | | | ||
| entry_date | bigint | | false | | | | | ||
| cache_expiration | bigint | | false | | | | | ||
|
||
## Constraints | ||
|
||
| Name | Type | Definition | | ||
| ---- | ---- | ---------- | | ||
| blacklist_entries_pkey | PRIMARY KEY | PRIMARY KEY (id) | | ||
|
||
## Indexes | ||
|
||
| Name | Definition | | ||
| ---- | ---------- | | ||
| blacklist_entries_pkey | CREATE UNIQUE INDEX blacklist_entries_pkey ON public.blacklist_entries USING btree (id) | | ||
| idx_blacklist_entries_deleted_at | CREATE INDEX idx_blacklist_entries_deleted_at ON public.blacklist_entries USING btree (deleted_at) | | ||
|
||
## Relations | ||
|
||
 | ||
|
||
--- | ||
|
||
> Generated by [tbls](https://github.com/k1LoW/tbls) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# public.client_tokens | ||
|
||
## Description | ||
|
||
## Columns | ||
|
||
| Name | Type | Default | Nullable | Children | Parents | Comment | | ||
| ---- | ---- | ------- | -------- | -------- | ------- | ------- | | ||
| id | integer | nextval('client_tokens_id_seq'::regclass) | false | | | | | ||
| created_at | timestamp with time zone | | true | | | | | ||
| updated_at | timestamp with time zone | | true | | | | | ||
| deleted_at | timestamp with time zone | | true | | | | | ||
| label | text | | true | | | | | ||
| uuid | text | | false | | | | | ||
| system_id | integer | | true | | | | | ||
| expires_at | timestamp with time zone | | true | | | | | ||
|
||
## Constraints | ||
|
||
| Name | Type | Definition | | ||
| ---- | ---- | ---------- | | ||
| client_tokens_uuid_key | UNIQUE | UNIQUE (uuid) | | ||
|
||
## Indexes | ||
|
||
| Name | Definition | | ||
| ---- | ---------- | | ||
| client_tokens_uuid_key | CREATE UNIQUE INDEX client_tokens_uuid_key ON public.client_tokens USING btree (uuid) | | ||
|
||
## Relations | ||
|
||
 | ||
|
||
--- | ||
|
||
> Generated by [tbls](https://github.com/k1LoW/tbls) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# public.encryption_keys | ||
|
||
## Description | ||
|
||
## Columns | ||
|
||
| Name | Type | Default | Nullable | Children | Parents | Comment | | ||
| ---- | ---- | ------- | -------- | -------- | ------- | ------- | | ||
| id | integer | nextval('encryption_keys_id_seq'::regclass) | false | | | | | ||
| created_at | timestamp with time zone | | true | | | | | ||
| updated_at | timestamp with time zone | | true | | | | | ||
| deleted_at | timestamp with time zone | | true | | | | | ||
| body | text | | true | | | | | ||
| system_id | integer | | true | | [public.systems](public.systems.md) | | | ||
| uuid | text | | true | | | | | ||
|
||
## Constraints | ||
|
||
| Name | Type | Definition | | ||
| ---- | ---- | ---------- | | ||
| encryption_keys_pkey | PRIMARY KEY | PRIMARY KEY (id) | | ||
| encryption_keys_system_id_systems_id_foreign | FOREIGN KEY | FOREIGN KEY (system_id) REFERENCES systems(id) ON UPDATE RESTRICT ON DELETE RESTRICT | | ||
|
||
## Indexes | ||
|
||
| Name | Definition | | ||
| ---- | ---------- | | ||
| encryption_keys_pkey | CREATE UNIQUE INDEX encryption_keys_pkey ON public.encryption_keys USING btree (id) | | ||
| idx_encryption_keys_deleted_at | CREATE INDEX idx_encryption_keys_deleted_at ON public.encryption_keys USING btree (deleted_at) | | ||
|
||
## Relations | ||
|
||
 | ||
|
||
--- | ||
|
||
> Generated by [tbls](https://github.com/k1LoW/tbls) |
Oops, something went wrong.