ZXDB version number
Moderator: druellan
ZXDB version number
Is there a way to get the ZXDB version number from an instance of the database? I don't see a version table anywhere, but perhaps the version number is located somewhere else?
- Einar Saukas
- Bugaboo
- Posts: 3145
- Joined: Wed Nov 15, 2017 2:48 pm
Re: ZXDB version number
The version number is visible in the ZXDB homepage (current version is 1.0.174) but it's not stored within the files you download.
However there's an easy way to find out the version you have. Compare the date of your file "ZXDB_mysql.sql" with the release dates listed here:
https://github.com/zxdb/ZXDB/commits/master
Re: ZXDB version number
OK. It would just be nice to be able to do "SELECT version FROM version" (say) in a script that connects to an instance of the database, and therefore be certain what version it's using.Einar Saukas wrote: ↑Fri Oct 06, 2023 10:56 pm The version number is visible in the ZXDB homepage (current version is 1.0.174) but it's not stored within the files you download.
Could you add a single-row version table, or would that be too much of a pain to maintain?