ketr.photos/reset-identities.sh
James P. Ketrenos 75221f6cd9 +x on reset-identities
Signed-off-by: James P. Ketrenos <james.p.ketrenos@intel.com>
2023-01-17 10:15:03 -08:00

8 lines
198 B
Bash
Executable File

#!/bin/bash
. .env
cat << EOF | ./query.sh
update faces set identityId=NULL where identityId is not null;
delete from identities where id>0;
delete from sqlite_sequence where name='identities';
EOF