Move data to sqlite db