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 258d8aa0
authored
Apr 11, 2019
by
Jeff Bernstein
Committed by
Sushant
Apr 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(migrations): typo (#10755)
1 parent
e33462aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
docs/migrations.md
docs/migrations.md
View file @
258d8aa
...
@@ -259,7 +259,7 @@ This is a special configuration file. It lets you specify various options that y
...
@@ -259,7 +259,7 @@ This is a special configuration file. It lets you specify various options that y
And a whole lot more. Let's see how you can use this file for custom configuration.
And a whole lot more. Let's see how you can use this file for custom configuration.
For starters, let's create an empty file in root directory of your project.
For starters, let's create an empty file in
the
root directory of your project.
```
bash
```
bash
$
touch .sequelizerc
$
touch .sequelizerc
...
@@ -291,7 +291,7 @@ Configuration file is by default a JSON file called `config.json`. But sometimes
...
@@ -291,7 +291,7 @@ Configuration file is by default a JSON file called `config.json`. But sometimes
Sequelize CLI can read from both
`JSON`
and
`JS`
files. This can be setup with
`.sequelizerc`
file. Let see how
Sequelize CLI can read from both
`JSON`
and
`JS`
files. This can be setup with
`.sequelizerc`
file. Let see how
First you need to create a
`.sequelizerc`
file in root folder of your project. This file should override config path to a
`JS`
file. Like this
First you need to create a
`.sequelizerc`
file in
the
root folder of your project. This file should override config path to a
`JS`
file. Like this
```
js
```
js
const
path
=
require
(
'path'
);
const
path
=
require
(
'path'
);
...
...
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