Move database schema version check to database libraries
IMHO the code checking for instance the MySQL schema version should be a class (aka static in C++) method of MySqlConnection taking as argument the database connection parameters.
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information