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