From 12e92f8a0b3c8e1e0db0cbaf0031cc0ce5b6dc5b Mon Sep 17 00:00:00 2001 From: Badlop Date: Mon, 13 Jan 2025 11:05:31 +0100 Subject: [PATCH] DEBUG - CI: Delete leftcover content of some tables --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f508929117..905242bc409 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -215,6 +215,19 @@ jobs: "payload":{"build_num":$GITHUB_RUN_ID, "status":"done"}}' + - name: Delete 1a DB content (pg) + run: | + echo "caps_features:" + sudo -u postgres psql ejabberd_test -c "DELETE FROM caps_features;" + echo "last:" + sudo -u postgres psql ejabberd_test -c "DELETE FROM last;" + echo "motd:" + sudo -u postgres psql ejabberd_test -c "DELETE FROM motd;" + echo "roster_version:" + sudo -u postgres psql ejabberd_test -c "DELETE FROM roster_version;" + echo "users:" + sudo -u postgres psql ejabberd_test -c "DELETE FROM users;" + - name: Check for changes to trigger schema upgrade test uses: dorny/paths-filter@v3 id: filter