Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation typos #575

Merged
merged 1 commit into from
Aug 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions www/docs/configuration/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You can specify database credentials as as a connection string or a [TypeORM con
The following approaches are exactly equivalent:

```js
database: 'mysql://username:password@127.0.0.1:3306/database_name'
database: 'mysql://nextauth:password@127.0.0.1:3306/database_name'
```

```js
Expand All @@ -37,7 +37,7 @@ database: {
port: 3306,
username: 'nextauth',
password: 'password',
database: 'nextauth'
database: 'database_name'
}
```

Expand All @@ -47,7 +47,7 @@ You can pass in any valid [TypeORM configuration option](https://github.com/type
*e.g. To set a prefix for all table names you can use the **entityPrefix** option as connection string parameter:*

```js
'mysql://username:password@127.0.0.1:3306/database_name?entityPrefix=nextauth_'
'mysql://nextauth:password@127.0.0.1:3306/database_name?entityPrefix=nextauth_'
```

*…or as a database configuration object:*
Expand All @@ -59,7 +59,7 @@ database: {
port: 3306,
username: 'nextauth',
password: 'password',
database: 'nextauth'
database: 'database_name'
entityPrefix: 'nextauth_'
}
```
Expand All @@ -81,7 +81,7 @@ _If you are running SQLite, MongoDB or a Document database you can skip this ste
Alternatively, you can also have your database configured automatically using the `synchronize: true` option:

```js
database: 'mysql://username:password@127.0.0.1:3306/database_name?synchronize=true'
database: 'mysql://nextauth:password@127.0.0.1:3306/database_name?synchronize=true'
```

```js
Expand All @@ -91,7 +91,7 @@ database: {
port: 3306,
username: 'nextauth',
password: 'password',
database: 'nextauth',
database: 'database_name',
synchronize: true
}
```
Expand Down