Added truncating database