Skip to content

Add migration script from 9.2.5 to 9.3.3

First step to resolve TangoSourceDistribution#41 (closed). Second step will be to change TangoSourceDistribution (bump database version tag and change makefiles).

Tests done in debian stretch with fresh mysql 5.6 instance:

apt install tango-db # do not configure db with dbconfig
mysql -h mysql -uroot -psecret <<< 'create database tango;'
mysql -h mysql -uroot -psecret --database tango < /usr/share/dbconfig-common/data/tango-db/install/mysql
mysql -h mysql -uroot -psecret < /build/tango-9.3.3/cppserver/database/update_db9.2.5.sql

All commands were successful. There were two new entries in device table and one in property_class table.

CC @Picca

Merge request reports

Loading