Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate ERD #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-infra-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.2.1
terraform_version: 1.4.6
terraform_wrapper: false

- uses: actions/setup-go@v3
Expand Down
2 changes: 1 addition & 1 deletion .template-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
649f17792033fd7cf917a1931d23ab7041213c9c
164e7e473d97f15295e9356cdd1be8e7cd4f451f
6 changes: 3 additions & 3 deletions bin/lint-markdown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ cd "${SCRIPT_DIR}/.." >/dev/null || exit 1

LINK_CHECK_CONFIG=".github/workflows/markdownlint-config.json"

# Recursively find all markdown files (*.md) in this directory. Pass them in as args to the lint
# command using the handy `xargs` command.
find . -name \*.md -print0 | xargs -0 -n1 npx markdown-link-check --config $LINK_CHECK_CONFIG
# Recursively find all markdown files (*.md) in the current directory, excluding node_modules and .venv subfolders.
# Pass them in as args to the lint command using the handy `xargs` command.
find . -name \*.md -not -path "*/node_modules/*" -not -path "*/.venv/*" -print0 | xargs -0 -n1 npx markdown-link-check --config $LINK_CHECK_CONFIG
294 changes: 294 additions & 0 deletions docs/app/database/schema/anomalies.html

Large diffs are not rendered by default.

Empty file.
42 changes: 42 additions & 0 deletions docs/app/database/schema/app.public.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?><database name="app" schema="public" type="PostgreSQL - 14.10">
<tables>
<table name="alembic_version" remarks="" schema="public" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="version_num" nullable="false" remarks="" size="32" type="varchar" typeCode="12"/>
<primaryKey column="version_num" sequenceNumberInPK="1"/>
<index name="alembic_version_pkc" unique="true">
<column ascending="true" name="version_num"/>
</index>
</table>
<table name="role" remarks="" schema="public" type="TABLE">
<column autoUpdated="false" defaultValue="now()" digits="6" id="0" name="created_at" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
<column autoUpdated="false" defaultValue="now()" digits="6" id="1" name="updated_at" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="user_id" nullable="false" remarks="" size="2147483647" type="uuid" typeCode="1111">
<parent column="id" foreignKey="role_user_id_user_fkey" implied="false" onDeleteCascade="true" schema="public" table="user"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="type" nullable="false" remarks="" size="5" type="varchar" typeCode="12"/>
<primaryKey column="user_id" sequenceNumberInPK="1"/>
<primaryKey column="type" sequenceNumberInPK="2"/>
<index name="role_pkey" unique="true">
<column ascending="true" name="user_id"/>
<column ascending="true" name="type"/>
</index>
</table>
<table name="user" remarks="" schema="public" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="2147483647" type="uuid" typeCode="1111">
<child column="user_id" foreignKey="role_user_id_user_fkey" implied="false" onDeleteCascade="true" schema="public" table="role"/>
</column>
<column autoUpdated="false" defaultValue="now()" digits="6" id="1" name="created_at" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
<column autoUpdated="false" defaultValue="now()" digits="6" id="2" name="updated_at" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="first_name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="middle_name" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="last_name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="phone_number" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="date_of_birth" nullable="false" remarks="" size="13" type="date" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="is_active" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="user_pkey" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
</tables>
</database>
Loading