Skip to content

Commit

Permalink
spellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
levkk committed Oct 18, 2024
1 parent 115b4d2 commit a0498fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/models/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ CREATE TABLE users (
for both inserting and selecting data from the table. When inserting, the `id` column should be `None` and will be automatically
assigned by the database. This ensures that all rows in your tables have a unique primary key.

[^1]: See [migrations](migrations) to learn how to create tables in your database in a reliable way.
[^1]: See [migrations](migrations) to learn how to create tables in your database reliably.

### Naming conventions
The struct fields have the same name as the database columns, and the data types match their respective Rust types. The table name in the database corresponds to the name of the struct, lowercase and pluralized. For example, `User` model will refer to the `"users"` table in the database.
Expand Down

0 comments on commit a0498fc

Please sign in to comment.