commit
526ecec749
@ -5,7 +5,7 @@
|
||||
[](https://codecov.io/gh/Kononnable/typeorm-model-generator)
|
||||
|
||||
Generates models for TypeORM from existing databases.
|
||||
Suported db engines:
|
||||
Supported db engines:
|
||||
* Microsoft SQL Server
|
||||
* PostgreSQL
|
||||
* MySQL
|
||||
@ -21,7 +21,7 @@ To install module globally simply type `npm i -g typeorm-model-generator` in you
|
||||
Thanks to npx you can use npm modules without polluting global installs. So nothing to do here :)
|
||||
>To use `npx` you need to use npm at version at least 5.2.0. Try updating your npm by `npm i -g npm`
|
||||
### Database drivers
|
||||
All database drivers except oracle are installed by default. To use typeorm-model-generator with oracle databese you need to install driver with `npm i oracledb` and configure [oracle install client](http://www.oracle.com/technetwork/database/database-technologies/instant-client/overview/index.html) on your machine.
|
||||
All database drivers except oracle are installed by default. To use typeorm-model-generator with oracle database you need to install driver with `npm i oracledb` and configure [oracle install client](http://www.oracle.com/technetwork/database/database-technologies/instant-client/overview/index.html) on your machine.
|
||||
|
||||
## Usage
|
||||
|
||||
@ -32,7 +32,7 @@ Usage: typeorm-model-generator -h <host> -d <database> -p [port] -u <user> -x
|
||||
Options:
|
||||
--help Show help [boolean]
|
||||
--version Show version number [boolean]
|
||||
-h, --host IP adress/Hostname for database server
|
||||
-h, --host IP address/Hostname for database server
|
||||
[default: "127.0.0.1"]
|
||||
-d, --database Database name(or path for sqlite) [required]
|
||||
-u, --user Username for database server
|
||||
|
@ -56,7 +56,7 @@ function GetUtilParametersByArgs() {
|
||||
.option("h", {
|
||||
alias: "host",
|
||||
default: "127.0.0.1",
|
||||
describe: "IP adress/Hostname for database server"
|
||||
describe: "IP address/Hostname for database server"
|
||||
})
|
||||
.option("d", {
|
||||
alias: "database",
|
||||
@ -223,7 +223,7 @@ async function GetUtilParametersByInquirer() {
|
||||
const answ: any = await inquirer.prompt([
|
||||
{
|
||||
default: "localhost",
|
||||
message: "Database adress:",
|
||||
message: "Database address:",
|
||||
name: "host",
|
||||
type: "input"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user