Skip to content

Commit

Permalink
Merge pull request #224 from geirolz/geirolz-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
geirolz authored Jun 3, 2023
2 parents cd8458a + 5153084 commit 8dd6b0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ For this example, we are going to use a simple `baseline migration` to add a tab

Baseline migrations are versioned and executed only when needed. The version is retrieved from the script file name.

So in this case, `V__001_create_user_table.sql`, the version will be `001`(remember the double underscore after `V`).
So in this case, `V001__create_user_table.sql`, the version will be `001`(remember the double underscore after `V`).

Here we have our first migration(for MySQL database)

`resources/db/V__001_create_user_table.sql`
`resources/db/V001__create_user_table.sql`
```sql
CREATE TABLE `user` (
`id` bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,
Expand Down

0 comments on commit 8dd6b0f

Please sign in to comment.