Commit 575883a8 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'calebcooper-specific-project-group-variable-delete' into 'master'

Add instruction to specify group or project when deleting variables

See merge request gitlab-org/gitlab!76967
parents 0efa349c ad25b2bb
......@@ -1422,6 +1422,13 @@ after which users must reactivate 2FA.
DELETE FROM ci_variables;
```
1. If you know the specific group or project from which you wish to delete variables, you can include a `WHERE` statement to specify that in your `DELETE`:
```sql
DELETE FROM ci_group_variables WHERE group_id = <GROUPID>;
DELETE FROM ci_variables WHERE project_id = <PROJECTID>;
```
You may need to reconfigure or restart GitLab for the changes to take effect.
#### Reset runner registration tokens
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment