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

Commit 23aa67e9 by Shreyansh shrey Committed by GitHub

Typo: Changes name to username (#13504)

Co-authored-by: Sascha Depold <sdepold@users.noreply.github.com>
1 parent 0726ede5
...@@ -46,7 +46,7 @@ Our code example above defines a unique constraint on the `username` field: ...@@ -46,7 +46,7 @@ Our code example above defines a unique constraint on the `username` field:
} /* ... */ } /* ... */
``` ```
When this model is synchronized (by calling `sequelize.sync` for example), the `username` field will be created in the table as `` `name` TEXT UNIQUE``, and an attempt to insert an username that already exists there will throw a `SequelizeUniqueConstraintError`. When this model is synchronized (by calling `sequelize.sync` for example), the `username` field will be created in the table as `` `username` TEXT UNIQUE``, and an attempt to insert an username that already exists there will throw a `SequelizeUniqueConstraintError`.
## Allowing/disallowing null values ## Allowing/disallowing null values
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!