convert db to wal mode