Commit ad25b2bb authored by Caleb Cooper's avatar Caleb Cooper Committed by Achilleas Pipinellis

Add instruction to specify group or project when deleting variables

parent 4da5e56d
...@@ -1422,6 +1422,13 @@ after which users must reactivate 2FA. ...@@ -1422,6 +1422,13 @@ after which users must reactivate 2FA.
DELETE FROM ci_variables; 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. You may need to reconfigure or restart GitLab for the changes to take effect.
#### Reset runner registration tokens #### 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