add utility scripts for db adjustments
This commit is contained in:
parent
66329819a9
commit
e3fe992cd2
2
util/clear_nonpwd.sh
Executable file
2
util/clear_nonpwd.sh
Executable file
|
@ -0,0 +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';" ';'
|
2
util/clear_to.sh
Executable file
2
util/clear_to.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
find . -iname '*.sqlite' -exec sqlite3 '{}' "DELETE FROM kv_store WHERE key = 'email-to';" ';'
|
Loading…
Reference in a new issue