ketr.photos/reset-identities.sh
James Ketrenos e8de846ed0 Identities are loading; starting to think through workflow
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2023-01-16 18:11:33 -08:00

8 lines
198 B
Bash

#!/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