Tryton Version in database

Hello,
I am seeking to automate the Tryton version upgrade path to expedite development and testing. Is there a table within the database from which I can retrieve the version of the corresponding trytonserver? My objective is to execute pre-upgrade tasks prior to starting the tryton server. I did search for the version 7.0 across all tables, but was unsuccessful.

Thank you for your assistance

Since series 7.6, the ir.configuration contains the series number.