Added event listener to generate session DBAL schema