Skip to content
Snippets Groups Projects
Commit cc9b10fc authored by Stephane Crozat's avatar Stephane Crozat Committed by PICHOU Kyâne
Browse files

corrections dockerfile 3

parent 3ada1da2
No related branches found
No related tags found
1 merge request!5CheckMK stable image
......@@ -13,5 +13,5 @@ export PGDATABASE=$POSTGRES_DB
export PGUSER=$POSTGRES_USER
export PGPASSWORD=$POSTGRES_PASS
SQL_CMD="DELETE FROM posts WHERE id IN (SELECT p.id FROM posts p LEFT JOIN channels c ON p.channelid=c.id LEFT JOIN teams t ON c.teamid=t.id WHERE p.type='system_join_channel' AND t.name = '${MATTERMOST_TEAM}';)"
psql -c \""${SQL_CMD}"\"
SQL_CMD="DELETE FROM posts WHERE id IN (SELECT p.id FROM posts p LEFT JOIN channels c ON p.channelid=c.id LEFT JOIN teams t ON c.teamid=t.id WHERE p.type='system_join_channel' AND t.name = '${MATTERMOST_TEAM}')"
psql -c "${SQL_CMD}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment