Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
recipe committed Feb 25, 2024
1 parent 8aa561f commit 365eed8
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 @@ -57,11 +57,11 @@ CREATE TABLE versions (
) ENGINE = InnoDB charset utf8mb4;
```
Let's assume the DB table is empty.
When the new version is being added the `sort_order` is undefined, and can be calculated with
When the new version is being added the `sort_order` value is undefined and can be calculated with
the [`GET_SORT_ORDER(version)` stored function][5]:

```sql
SELECT GET_SORT_URDER('1.0.0');
SELECT GET_SORT_ORDER('1.0.0');
9223372036854775807
```
With the help of the [Before Insert TRIGGER][2] on the `versions` table, the `sort_order` property
Expand Down

0 comments on commit 365eed8

Please sign in to comment.