0918matter/两行sql.txt

9 lines
641 B
Plaintext

docker exec -it demo-database-1 psql -U postgres -d oauth_db -c "SELECT client_id, client_secret, redirect_uri FROM oauth_clients;"
docker exec -it demo-database-1 psql -U oauth -d oauth_db -c "UPDATE oauth_clients SET redirect_uri='http://localhost/signup/gitlab/complete' WHERE client_id='123456789';"
docker exec -it mattermost_ldap_oauth_db psql -U postgres -d oauth_db -c "SELECT client_id, client_secret, redirect_uri FROM oauth_clients;"
docker exec -it mattermost_ldap_oauth_db psql -U postgres -d oauth_db -c "UPDATE oauth_clients SET redirect_uri = 'http://localhost:8065/signup/gitlab/complete' WHERE client_id = '123456789';