Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xalaida authored Feb 8, 2023
1 parent 4d73fed commit 374ee2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ Schema::create('categories', function (Blueprint $table) {
### How it works
Models simply have an integer `position' attribute corresponding to the model's position in the sequence, which is automatically calculated on write and used for sorting the models on reads.
Models simply have an integer `position` attribute corresponding to the model's position in the sequence, which is automatically calculated on write and used for sorting the models on reads.
### Creating models
The `position' attribute is a kind of array index and is automatically inserted when a new model is created.
The `position` attribute is a kind of array index and is automatically inserted when a new model is created.
By default, the model takes a position at the very end of the sequence.
Expand Down

0 comments on commit 374ee2f

Please sign in to comment.