Skip to content

Commit

Permalink
DEBUG - CI: Delete leftcover content of some tables
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Jan 13, 2025
1 parent 7b67548 commit 12e92f8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12e92f8

Please sign in to comment.