Create csv versions of db tables