Skip to content

Commit a302324

Browse files
authored
Merge pull request #73 from kosuri-indu/add/typeORM-prisma-support
[DOC]: Added typeORM and prisma support in documentation
2 parents 8190f85 + 7e448de commit a302324

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
A cli tool for visualising your database schemas. db-drawer checks the data model schemas of your project ("./models") folder and visualises by running on localhost in node environment. it attaches to your project as an npm package.
55

6-
Currently, we have support only for sequelize and mongoose.
6+
Currently, we have support for Sequelize, Mongoose, TypeORM, and Prisma.
77

88
Refer to Learn.md for building the project: <a href="https://github.com/Bhanu-code/db-drawer/blob/main/Learn.md">Learn.md</a>
99

@@ -27,6 +27,12 @@ npx db-draw s
2727

2828
//For mongoose
2929
npx db-draw m
30+
31+
//For TypeORM
32+
npx db-draw t
33+
34+
//For Prisma
35+
npx db-draw p
3036
```
3137

3238
### Global installation
@@ -41,6 +47,12 @@ db-draw s
4147

4248
//For mongoose
4349
db-draw m
50+
51+
//For TypeORM
52+
db-draw t
53+
54+
//For Prisma
55+
db-draw p
4456
```
4557
After executing the command, it will run localhost where you can see your schema, relationship and constraints in a tablular format
4658

@@ -77,6 +89,11 @@ db-draw s
7789
//Run the command for mongoose
7890
db-draw m
7991

92+
//Run the command for TypeORM
93+
db-draw t
94+
95+
//Run the command for Prisma
96+
db-draw p
8097
```
8198

8299
Hit enter and it will run localhost where you can see your schema, relationship and constraints in a tablular format

0 commit comments

Comments
 (0)