From 996761b5ad7dfd026ab9dc8dd911bf6dcfa30b1d Mon Sep 17 00:00:00 2001 From: Kononnable Date: Sun, 15 Oct 2017 19:16:53 +0200 Subject: [PATCH] readme updates --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2e85bf8..4e3922f 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,8 @@ Options: -e, --engine Database engine. [choices: "mssql", "postgres", "mysql", "mariadb"] [default: "mssql"] -o, --output Where to place generated models. + -s, --schema Schema name to create model from. Only for mssql and postgres. + --ssl [boolean] [default: false] ``` ### Examples @@ -45,12 +47,12 @@ Options: ``` npx typeorm-model-generator -h localhost -d tempdb -u sa -x !Passw0rd -e mssql -o .\ ```` -* Creating model from local Postgres database +* Creating model from local Postgres database, public schema with ssl connection * Global module ``` - typeorm-model-generator -h localhost -d postgres -u postgres -x !Passw0rd -e postgres -o .\ + typeorm-model-generator -h localhost -d postgres -u postgres -x !Passw0rd -e postgres -o .\ -s public --ssl ```` * Npx Way ``` - npx typeorm-model-generator -h localhost -d postgres -u postgres -x !Passw0rd -e postgres -o .\ + npx typeorm-model-generator -h localhost -d postgres -u postgres -x !Passw0rd -e postgres -o .\ -s public --ssl ```` \ No newline at end of file