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

Commit d4b82124 by Jeremy Dagorn Committed by Sushant

docs(models-definitions): Fix wrong url for configuration section (#8168)

1 parent 1eeb343a
Showing with 2 additions and 2 deletions
# Model definition
To define mappings between a model and a table, use the `define` method. Sequelize will then automatically add the attributes `createdAt` and `updatedAt` to it. So you will be able to know when the database entry went into the db and when it was updated the last time. If you do not want timestamps on your models, only want some timestamps, or you are working with an existing database where the columns are named something else, jump straight on to [configuration ][0]to see how to do that.
To define mappings between a model and a table, use the `define` method. Sequelize will then automatically add the attributes `createdAt` and `updatedAt` to it. So you will be able to know when the database entry went into the db and when it was updated the last time. If you do not want timestamps on your models, only want some timestamps, or you are working with an existing database where the columns are named something else, jump straight on to [configuration][0] to see how to do that.
```js
......@@ -728,7 +728,7 @@ sequelize.define('user', {}, {
```
[0]: /tutorial/models-definition.html#configuration
[0]: /manual/tutorial/models-definition.html#configuration
[3]: https://github.com/chriso/validator.js
[5]: /docs/final/misc#asynchronicity
[6]: http://bluebirdjs.com/docs/api/spread.html
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!