Add pubkey deletion parser
parent
6a5ea5a329
commit
2fba530042
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#generate a list of delete statements, based on pubkeys. raw text, one pubkey per line from source file.
|
||||||
|
while read -r line; do printf "delete FROM public.nostr_events WHERE pubkey='$line';\n" >> banlist.sql ; done < "$1"
|
Loading…
Reference in New Issue