Skip to content

Commit 5cc9dd0

Browse files
authored
Merge branch 'master' into patch-1
2 parents d473676 + 8fc12fb commit 5cc9dd0

35 files changed

+343
-361
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
node-version: ${{ matrix.node-version }}
2626

2727
- name: 'Cache dependencies'
28-
uses: 'actions/cache@v2'
28+
uses: 'actions/cache@v2.1.4'
2929
with:
3030
path: '**/node_modules'
3131
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: 'actions/checkout@v2'
1414

1515
- name: 'Cache dependencies'
16-
uses: 'actions/cache@v2'
16+
uses: 'actions/cache@v2.1.4'
1717
with:
1818
path: '**/node_modules'
1919
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Decorators and some other features for sequelize (v6).
2626
- [Indexes](#indexes)
2727
- [`@Index` API](#index)
2828
- [`createIndexDecorator()` API](#createindexdecorator)
29-
- [Repository mode](#repository-mode)
29+
- [Repository mode](#repository-mode-1)
3030
- [How to enable repository mode?](#how-to-enable-repository-mode)
3131
- [How to use repository mode?](#how-to-use-repository-mode)
3232
- [How to use associations with repository mode?](#how-to-use-associations-with-repository-mode)
@@ -135,11 +135,11 @@ For `sequelize@4` & `sequelize@3` use `[email protected]`.
135135

136136
### Breaking Changes
137137
All breaking changes of `sequelize@5` are also valid for `sequelize-typescript@1`.
138-
See [Upgrade to v5](https://github.com/sequelize/sequelize/blob/master/docs/upgrade-to-v5.md) for details.
138+
See [Upgrade to v5](https://sequelize.org/v5/manual/upgrade-to-v5.html) for details.
139139

140140
#### Official Sequelize Typings
141141
sequelize-typescript now uses the official typings bundled with sequelize
142-
(See [this](https://github.com/sequelize/sequelize/blob/master/docs/upgrade-to-v5.md#typescript-support)).
142+
(See [this](https://sequelize.org/v5/manual/upgrade-to-v5.html#typescript-support)).
143143
Please note the following details:
144144
- Most of the sequelize-typescript interfaces of the previous version are replaced by the official ones
145145
- `@types/sequelize` is no longer used
@@ -163,7 +163,7 @@ instead of deprecated way:
163163
```
164164

165165
### Repository Mode
166-
With `sequelize-typescript@1` comes a repository mode. See [docs](#repository-mode) for details.
166+
With `sequelize-typescript@1` comes a repository mode. See [docs](#repository-mode-1) for details.
167167

168168

169169
## Model definition
@@ -285,6 +285,7 @@ Design type | Sequelize data type
285285
`string` | `STRING`
286286
`boolean` | `BOOLEAN`
287287
`number` | `INTEGER`
288+
`bigint` | `BIGINT`
288289
`Date` | `DATE`
289290
`Buffer` | `BLOB`
290291

@@ -930,7 +931,7 @@ this issue.
930931
## Recommendations and limitations
931932

932933
### One Sequelize instance per model (without repository mode)
933-
Unless you are using the [repository mode](#repository-mode), you won't be able to add one and the same model to multiple
934+
Unless you are using the [repository mode](#repository-mode-1), you won't be able to add one and the same model to multiple
934935
Sequelize instances with differently configured connections. So that one model will only work for one connection.
935936

936937
### One model class per file

0 commit comments

Comments
 (0)