Skip to content

Commit 5af2cb0

Browse files
bug: schemaspy orhpan tables missing (#203)
1 parent 64ede5f commit 5af2cb0

16 files changed

+504
-497
lines changed

.github/workflows/ci.yml

-32
Original file line numberDiff line numberDiff line change
@@ -168,37 +168,6 @@ jobs:
168168
./target/release/fuel-block-committer --version
169169
PATH="$(pwd)/target/release:$PATH" cargo test --package e2e-tests --jobs 1
170170
171-
check-db-preview-updates:
172-
runs-on: ubuntu-latest
173-
steps:
174-
- name: Checkout repository
175-
uses: actions/checkout@v4
176-
177-
- uses: dtolnay/rust-toolchain@master
178-
with:
179-
toolchain: ${{ env.RUST_VERSION }}
180-
181-
- name: Install sqlx CLI
182-
run: |
183-
cargo install sqlx-cli --no-default-features --features native-tls,postgres
184-
185-
- name: Set up Docker Buildx
186-
uses: docker/setup-buildx-action@v3
187-
188-
- name: Run the 'update_db_preview.sh' script
189-
run: ./update_db_preview.sh
190-
191-
- name: Check for updated or new .dot files
192-
run: |
193-
if [[ -n "$(git status --porcelain db_preview)" ]]; then
194-
echo "Error: The 'db_preview' directory contains uncommitted changes."
195-
echo "Please run './update_db_preview.sh' and commit the updated files."
196-
git status --short db_preview
197-
exit 1
198-
else
199-
echo "No changes detected in 'db_preview'."
200-
fi
201-
202171
publish-crates-check:
203172
runs-on: ubuntu-latest
204173
steps:
@@ -369,7 +338,6 @@ jobs:
369338
publish:
370339
needs:
371340
- cargo-verifications
372-
- check-db-preview-updates
373341
- additional-check-for-published-crates
374342
- publish-crates-check
375343
- e2e-tests

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You can also use `run_tests.sh`, which takes care of building the `fuel-block-co
4242

4343
## Schema Visualization
4444

45-
![Relationships Diagram](db_preview/pngs/relationships.png)
45+
![Relationships Diagram](db_preview/relationships.svg)
4646

4747
We use [SchemaSpy](https://github.com/schemaspy/schemaspy) to generate visual representations of the database schema in both `.dot` and `.png` formats.
4848

db_preview/dots/relationships.dot

-116
This file was deleted.

db_preview/dots/tables/bundle_cost.dot

-44
This file was deleted.

db_preview/dots/tables/bundles.dot

-55
This file was deleted.

db_preview/dots/tables/l1_blob_transaction.dot

-47
This file was deleted.

0 commit comments

Comments
 (0)