From 5686d75d4a8e40cfc3c62d9977a3af3e22ff7ca6 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Mon, 18 Mar 2024 23:52:47 +0100 Subject: [PATCH] fixed having the direction in which migration comparisons are made mixed up --- .github/workflows/test_migration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_migration.yml b/.github/workflows/test_migration.yml index 88533db1..3f60cceb 100644 --- a/.github/workflows/test_migration.yml +++ b/.github/workflows/test_migration.yml @@ -58,10 +58,10 @@ jobs: run: | EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) && echo "local_to_auto<<$EOF" >> $GITHUB_OUTPUT && - atlas schema diff --from "maria://root:super_secret_passw0rd@localhost:3306/campus_db" --to "maria://root:super_secret_passw0rd@localhost:3300/campus_db" --format '{{ sql . " " }}' >> $GITHUB_OUTPUT && + atlas schema diff --from "maria://root:super_secret_passw0rd@localhost:3300/campus_db" --to "maria://root:super_secret_passw0rd@localhost:3306/campus_db" --format '{{ sql . " " }}' >> $GITHUB_OUTPUT && echo "$EOF" >> $GITHUB_OUTPUT echo "auto_to_local<<$EOF" >> $GITHUB_OUTPUT && - atlas schema diff --from "maria://root:super_secret_passw0rd@localhost:3300/campus_db" --to "maria://root:super_secret_passw0rd@localhost:3306/campus_db" --format '{{ sql . " " }}' >> $GITHUB_OUTPUT && + atlas schema diff --from "maria://root:super_secret_passw0rd@localhost:3306/campus_db" --to "maria://root:super_secret_passw0rd@localhost:3300/campus_db" --format '{{ sql . " " }}' >> $GITHUB_OUTPUT && echo "$EOF" >> $GITHUB_OUTPUT - name: Find Comment uses: peter-evans/find-comment@v3