diff --git a/util/clear_nonpwd.sh b/util/clear_nonessential.sh similarity index 70% rename from util/clear_nonpwd.sh rename to util/clear_nonessential.sh index 31fa080..0364929 100755 --- a/util/clear_nonpwd.sh +++ b/util/clear_nonessential.sh @@ -1,2 +1,2 @@ #!/bin/sh -find . -iname '*.sqlite' -exec sqlite3 '{}' "DELETE FROM kv_store WHERE key NOT LIKE '%-password' AND key NOT LIKE '%-secret' AND key != 'email-to';" ';' +find . -iname '*.sqlite' -exec sqlite3 '{}' "DELETE FROM kv_store WHERE key NOT LIKE '%-password' AND key NOT LIKE '%-secret' AND key NOT LIKE 'hedgedoc-%-id' AND key != 'email-to';" ';'