UI: Programs: Reset app's auto-block on Block action

This commit is contained in:
Nodir Temirkhodjaev 2022-03-04 14:58:48 +03:00
parent 9bd8187840
commit 28dc0fdf15

View File

@ -159,7 +159,8 @@ const char *const sqlUpdateApp = "UPDATE app"
const char *const sqlUpdateAppName = "UPDATE app SET name = ?2 WHERE app_id = ?1;";
const char *const sqlUpdateAppBlocked = "UPDATE app SET blocked = ?2 WHERE app_id = ?1;";
const char *const sqlUpdateAppBlocked = "UPDATE app SET blocked = ?2, end_time = NULL"
" WHERE app_id = ?1;";
const char *const sqlUpdateAppResetGroup = "UPDATE app"
" SET app_group_id = ?2"