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 962ed3ca
authored
Jun 26, 2020
by
Constantin Metz
Committed by
GitHub
Jun 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(types): references support for string (#12407)
1 parent
871157bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
types/lib/model.d.ts
types/lib/model.d.ts
View file @
962ed3c
...
@@ -1293,9 +1293,9 @@ export interface ModelAttributeColumnOptions<M extends Model = Model> extends Co
...
@@ -1293,9 +1293,9 @@ export interface ModelAttributeColumnOptions<M extends Model = Model> extends Co
comment
?:
string
;
comment
?:
string
;
/**
/**
* An object with reference configurations
* An object with reference configurations
or the column name as string
*/
*/
references
?:
ModelAttributeColumnReferencesOptions
;
references
?:
string
|
ModelAttributeColumnReferencesOptions
;
/**
/**
* What should happen when the referenced key is updated. One of CASCADE, RESTRICT, SET DEFAULT, SET NULL or
* What should happen when the referenced key is updated. One of CASCADE, RESTRICT, SET DEFAULT, SET NULL or
...
...
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