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 2f7b32bf
authored
May 22, 2019
by
Abady
Committed by
Erik Seliger
May 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(types): add missing types to SyncOptions (#10948)
1 parent
41985c5a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
types/lib/sequelize.d.ts
types/lib/sequelize.d.ts
View file @
2f7b32b
...
@@ -51,6 +51,21 @@ export interface SyncOptions extends Logging {
...
@@ -51,6 +51,21 @@ export interface SyncOptions extends Logging {
* The schema that the tables should be created in. This can be overridden for each table in sequelize.define
* The schema that the tables should be created in. This can be overridden for each table in sequelize.define
*/
*/
schema
?:
string
;
schema
?:
string
;
/**
* An optional parameter to specify the schema search_path (Postgres only)
*/
searchPath
?:
string
;
/**
* If hooks is true then beforeSync, afterSync, beforeBulkSync, afterBulkSync hooks will be called
*/
hooks
?:
boolean
;
/**
* Alters tables to fit models. Not recommended for production use. Deletes data in columns that were removed or had their type changed in the model.
*/
alter
?:
boolean
;
}
}
export
interface
DefaultSetOptions
{}
export
interface
DefaultSetOptions
{}
...
...
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