Skip to content

Commit 53b75ee

Browse files
Create erd.md
1 parent ad6b2a5 commit 53b75ee

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

erd.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Add `schemaspy.properties`:
2+
3+
4+
```
5+
# type of database. Run with -dbhelp for details
6+
schemaspy.t=pgsql
7+
# optional path to alternative jdbc drivers.
8+
#schemaspy.dp=path/to/drivers
9+
# database properties: host, port number, name user, password
10+
schemaspy.host=host.docker.internal
11+
schemaspy.port=5432
12+
schemaspy.db=development
13+
schemaspy.u=john
14+
schemaspy.p=123456
15+
# output dir to save generated files
16+
# schemaspy.o=path/to/output
17+
# db scheme for which generate diagrams
18+
schemaspy.s=public
19+
```
20+
21+
```make
22+
schemaspy:
23+
docker run -v "$(shell pwd)/schemaspy:/output" -v "$(shell pwd)/schemaspy.properties:/schemaspy.properties" schemaspy/schemaspy:snapshot
24+
```

0 commit comments

Comments
 (0)