box.schema.downgrade()
Allows you to downgrade a database to the specified Tarantool version. This might be useful if you need to run a database on older Tarantool versions.
To prepare a database for using it on an older Tarantool instance, call
box.schema.downgrade and pass the desired Tarantool version:
tarantool> box.schema.downgrade('2.8.4')
To see Tarantool versions available for downgrade, call
box.schema.downgrade_versions(). The
oldest release available for downgrade is 2.8.2.
Note that the downgrade process might fail if the database enables
specific features not supported in the target Tarantool version. You can
see all such issues using the
box.schema.downgrade_issues() method,
which accepts the target version. For example, downgrade to the
2.8.4 version fails if you use tuple compression
or field constraints in your database:
tarantool> box.schema.downgrade_issues('2.8.4')---- - Tuple compression is found in space 'bands', field 'band_name'. It is supportedstarting from version 2.10.0.- Field constraint is found in space 'bands', field 'year'. It is supported startingfrom version 2.10.0....
See also: box.schema.upgrade()