不要怂,就是干,撸起袖子干!

Commit cdd6b599 by cavalor Committed by Sushant

docs(query-interface): use common lower case format for addConstraint (#9038)

1 parent 224f329b
Showing with 1 additions and 1 deletions
...@@ -811,7 +811,7 @@ class QueryInterface { ...@@ -811,7 +811,7 @@ class QueryInterface {
* Foreign Key * Foreign Key
* ```js * ```js
* queryInterface.addConstraint('Posts', ['username'], { * queryInterface.addConstraint('Posts', ['username'], {
* type: 'FOREIGN KEY', * type: 'foreign key',
* name: 'custom_fkey_constraint_name', * name: 'custom_fkey_constraint_name',
* references: { //Required field * references: { //Required field
* table: 'target_table_name', * table: 'target_table_name',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!