Skip to content

Commit

Permalink
chore: add sync-await on migration runners
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Jan 8, 2023
1 parent 0b14d8d commit 88e11fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ tasks:
init: |
cd ./examples/simple/migrations
go build .
gp sync-done migration
command: |
exit 0
Expand All @@ -19,6 +20,7 @@ tasks:
--name mysql \
mysql &
gp sync-await migration
./examples/simple/migrations/simple
- name: MongoDB
Expand All @@ -42,6 +44,7 @@ tasks:
--name pgsql \
postgres &
gp sync-await migration
./examples/simple/migrations/simple
- name: SQLite
Expand All @@ -50,6 +53,7 @@ tasks:
command: |
export DB_CONNECTION="$GITPOD_REPO_ROOT/sqlite.db"
gp sync-await migration
./examples/simple/migrations/simple
- before: |
Expand Down

0 comments on commit 88e11fb

Please sign in to comment.