mirror of
https://github.com/onepanelio/onepanel.git
synced 2024-08-21 00:00:34 +08:00
fix: bash missing character
This commit is contained in:
parent
aeba4ee8a2
commit
bd5641bedc
@ -15,12 +15,12 @@ docker run --rm --mount type=bind,source="${PWD}",target=/root onepanel/helper:v
|
||||
|
||||
#### Windows
|
||||
|
||||
``bash
|
||||
```bash
|
||||
docker run --rm --mount type=bind,source="%CD%",target=/root onepanel/helper:v1.0.0 goose -dir db/sql create wow sql # Create migration in db/sql folder
|
||||
docker run --rm --mount type=bind,source="%CD%",target=/root onepanel/helper:v1.0.0 goose -dir db postgres "${DB_DATASOURCE_NAME}" up # Migrate the DB to the most recent version available
|
||||
docker run --rm --mount type=bind,source="%CD%",target=/root onepanel/helper:v1.0.0 goose -dir db postgres "${DB_DATASOURCE_NAME}" down # Roll back the version by 1
|
||||
docker run --rm --mount type=bind,source="%CD%",target=/root onepanel/helper:v1.0.0 goose help # See all available commands
|
||||
``
|
||||
```
|
||||
|
||||
### Local
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user