Skip to content

Commit

Permalink
fix image url
Browse files Browse the repository at this point in the history
  • Loading branch information
ParrySMS committed May 23, 2021
1 parent 2dd41d0 commit 295a9d4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,13 @@ You can find more details from the Flyway document.

[https://flywaydb.org/documentation/getstarted/why](https://flywaydb.org/documentation/getstarted/why)

![1621755190544](./README.assetsts/1621755190544.png)
![1621755190544](./README.assets/1621755190544.png)

After the program finish the database migration. You should view the INFO row as below.

`INFO: Successfully applied X migrations to xxxxxxx`


![1621755625566](./README.assets/1621755625566.png)

You will find your empty database have a migration to the latest project database.
Expand All @@ -107,8 +110,10 @@ Build and run `com.pocket.retal.PocketRentalCompanyApplication`.

If you have your own profiles environment, please input into the `Program arguments`


`--spring.profiles.active=dev `


![1621755906088](./README.assets/1621755906088.png)


Expand Down Expand Up @@ -161,11 +166,10 @@ How Flyway works : https://flywaydb.org/getstarted/how
#### 2. Change the database through SQL

- Please read the **SQL-based migrations naming** below or flyway document before you write an sql file.
-
- write or export sql in new file. Here is some examples.

----------
**versioned migrations: **
**versioned migrations:**

- create or alter something

Expand Down Expand Up @@ -267,7 +271,7 @@ In order to be picked up by Flyway, SQL migrations must comply with the followin

#### Repeatable Migrations

![1621758594698](./README.assetsts/1621758594698.png)
![1621758594698](./README.assets/1621758594698.png)

The file name consists of the following parts:

Expand Down

0 comments on commit 295a9d4

Please sign in to comment.