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 9b4b34a5
authored
Feb 06, 2019
by
Petar Ivancevic
Committed by
Sushant
Feb 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(migrations): use migrationStorageTableSchema (#10417)
1 parent
4c049993
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
docs/migrations.md
docs/migrations.md
View file @
9b4b34a
...
...
@@ -458,7 +458,8 @@ configuration file. Using `migrationStorage`, you can choose the type of storage
migrations. If you choose
`json`
, you can specify the path of the file using
`migrationStoragePath`
or the CLI will write to the file
`sequelize-meta.json`
. If you want to keep the information in the
database, using
`sequelize`
, but want to use a different table, you can change the table name using
`migrationStorageTableName`
.
`migrationStorageTableName`
. Also you can define a different schema for the
`SequelizeMeta`
table by
providing the
`migrationStorageTableSchema`
property.
```
json
{
...
...
@@ -476,7 +477,10 @@ database, using `sequelize`, but want to use a different table, you can change t
"migrationStoragePath"
:
"sequelizeMeta.json"
,
//
Use
a
different
table
name.
Default
:
SequelizeMeta
"migrationStorageTableName"
:
"sequelize_meta"
"migrationStorageTableName"
:
"sequelize_meta"
,
//
Use
a
different
schema
for
the
SequelizeMeta
table
"migrationStorageTableSchema"
:
"custom_schema"
}
}
```
...
...
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