Skip to content

Commit 49f36c6

Browse files
marius-matheramandazhuyilan
authored andcommitted
fix: duplicated instructions in README
1 parent afc8657 commit 49f36c6

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -142,27 +142,15 @@ When the database models are changed, the database schema diagram in [`db_diagra
142142

143143
1. The `aai-backend/scripts/generate_db_diagram.py` script generates a database schema diagram from the SQLAlchemy models defined in the codebase, when a models are added, removed, or modified, the `models` module should be updated accordingly.
144144

145-
1. To generate an updated database schema diagram, run the following command:
145+
2. To generate an updated database schema diagram, run the following command:
146146

147147
```shell
148-
uv generate_db_diagram.sh
148+
bash generate_db_diagram.sh
149149
```
150150

151151
The updated diagram will be saved in [`db_diagram.svg`](./db_diagram.svg).
152152

153153

154-
### Generating the Diagram
155-
156-
The `aai-backend/scripts/generate_db_diagram.py` script generates a database schema diagram from the SQLAlchemy models defined in the codebase, when a models are added, removed, or modified, the `models` module should be updated accordingly.
157-
158-
To generate an updated database schema diagram, run the following command:
159-
160-
```shell
161-
bash generate_db_diagram.sh
162-
```
163-
164-
The updated diagram will be saved as `db_diagram.svg`.
165-
166154
## Documents to be updated
167155
Please update the following documents if there are changes to the database schema:
168156
- [AAI User Database Technical Design Document](https://docs.google.com/document/d/1xECcTqXH9ykXBCEESBSg43SOMncXT6Zayi5FwqvCT4Y/edit?tab=t.0#heading=h.sj9060dgy5fu)

0 commit comments

Comments
 (0)