diff --git a/xwords4/relay/scripts/showinplay.sh b/xwords4/relay/scripts/showinplay.sh index 957f30470..a1cc65a6d 100755 --- a/xwords4/relay/scripts/showinplay.sh +++ b/xwords4/relay/scripts/showinplay.sh @@ -54,7 +54,7 @@ echo "; relay pid[s]: $(pidof xwrelay)" echo "Row count:" $(psql -t xwgames -c "select count(*) FROM games $QUERY;") # Games -echo "SELECT dead as d,connname,room,lang as lg,clntVers as cv ,ntotal as t,njoined as nj,nperdevice as npd,nsents as snts, seeds,devids,tokens,ack, mtimes "\ +echo "SELECT dead as d,connname,room,lang as lg,clntVers as cv ,ntotal as t,nperdevice as npd,nsents as snts, seeds,devids,tokens,ack, mtimes "\ "FROM games $QUERY ORDER BY NOT dead, ctime DESC LIMIT $LIMIT;" \ | psql xwgames diff --git a/xwords4/relay/xwrelay.sh b/xwords4/relay/xwrelay.sh index 5422e5259..1665c603f 100755 --- a/xwords4/relay/xwrelay.sh +++ b/xwords4/relay/xwrelay.sh @@ -49,8 +49,6 @@ cid integer ,pub BOOLEAN ,connName VARCHAR(64) UNIQUE PRIMARY KEY ,nTotal INTEGER -,nJoined INTEGER DEFAULT 0 -,jtimes TIMESTAMP(0)[] ,clntVers INTEGER[] ,nPerDevice INTEGER[] ,seeds INTEGER[] @@ -61,7 +59,7 @@ cid integer ,addrs INET[] ,devids INTEGER[] ,tokens INTEGER[] -,CHECK (nJoined <= nTotal)) +); EOF cat <<-EOF | psql $DBNAME --file -