Changed output mode in persistence

database only