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

Commit faa1c586 by Jeff Lee

Fix typo in docs on Model.schema() method

1 parent 4a072a5d
Showing with 1 additions and 1 deletions
...@@ -53,7 +53,7 @@ Drop the table represented by this Model ...@@ -53,7 +53,7 @@ Drop the table represented by this Model
*** ***
<a name="schema"></a> <a name="schema"></a>
## `schema(schema, [options])` -> `hi` ## `schema(schema, [options])` -> `this`
[View code](https://github.com/sequelize/sequelize/blob/2c4a9f3cf9887fb33c31e397e758dd4aa3374d01/lib/model.js#L914) [View code](https://github.com/sequelize/sequelize/blob/2c4a9f3cf9887fb33c31e397e758dd4aa3374d01/lib/model.js#L914)
Apply a schema to this model. For postgres, this will actually place the schema in front of the table name - `"schema"."tableName"`, Apply a schema to this model. For postgres, this will actually place the schema in front of the table name - `"schema"."tableName"`,
while the schema will be prepended to the table name for mysql and sqlite - `'schema.tablename'`. while the schema will be prepended to the table name for mysql and sqlite - `'schema.tablename'`.
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!