Switch digest to sqlc