Add --persist and a metadata table