add databaseVersion() method for getting the dialect database version