mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
delete messages whose games have been deleted
This commit is contained in:
parent
ec468ef3ba
commit
fe8bb0932c
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ function cleanup() {
|
|||
fi
|
||||
|
||||
echo "DELETE FROM games WHERE room LIKE 'ROOM_%';" | psql -q -t xwgames
|
||||
echo "DELETE FROM msgs WHERE NOT devid in (SELECT unnest(devids) from games);" | psql -q -t xwgames
|
||||
}
|
||||
|
||||
function connName() {
|
||||
|
|
Loading…
Add table
Reference in a new issue