Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 5047bda1
authored
Sep 19, 2019
by
Felix Wehnert
Committed by
Sushant
Sep 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: fix typo (#11444)
1 parent
d5e4a10f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
docs/data-types.md
docs/data-types.md
View file @
5047bda
...
@@ -184,13 +184,13 @@ sequelizeAdditions(Sequelize)
...
@@ -184,13 +184,13 @@ sequelizeAdditions(Sequelize)
// In this exmaple a Sequelize instance is created and exported
// In this exmaple a Sequelize instance is created and exported
const
sequelize
=
new
Sequelize
(
sequelizeConfig
)
const
sequelize
=
new
Sequelize
(
sequelizeConfig
)
module
s
.
exports
=
sequelize
module
.
exports
=
sequelize
```
```
```
js
```
js
// myproject/lib/sequelize-additions.js
// myproject/lib/sequelize-additions.js
module
s
.
exports
=
function
sequelizeAdditions
(
Sequelize
)
{
module
.
exports
=
function
sequelizeAdditions
(
Sequelize
)
{
DataTypes
=
Sequelize
.
DataTypes
DataTypes
=
Sequelize
.
DataTypes
...
@@ -254,7 +254,7 @@ Let's say the name of the new datatype is `pg_new_type` in the postgres database
...
@@ -254,7 +254,7 @@ Let's say the name of the new datatype is `pg_new_type` in the postgres database
```
js
```
js
// myproject/lib/sequelize-additions.js
// myproject/lib/sequelize-additions.js
module
s
.
exports
=
function
sequelizeAdditions
(
Sequelize
)
{
module
.
exports
=
function
sequelizeAdditions
(
Sequelize
)
{
DataTypes
=
Sequelize
.
DataTypes
DataTypes
=
Sequelize
.
DataTypes
...
@@ -300,7 +300,7 @@ In this example the name of the postgres range type is `newtype_range` and the n
...
@@ -300,7 +300,7 @@ In this example the name of the postgres range type is `newtype_range` and the n
```
js
```
js
// myproject/lib/sequelize-additions.js
// myproject/lib/sequelize-additions.js
module
s
.
exports
=
function
sequelizeAdditions
(
Sequelize
)
{
module
.
exports
=
function
sequelizeAdditions
(
Sequelize
)
{
DataTypes
=
Sequelize
.
DataTypes
DataTypes
=
Sequelize
.
DataTypes
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment