Standard upgrade sql command

Hello,
in order to automate seatable upgrade, would it be possible to put the latest sql instruction in a defined placeholder, like /opt/seatable/seatable-server-latest/sql/mysql/upgrade/latest/dtable.sql in addition to the /opt/seatable/seatable-server-latest/sql/mysql/upgrade/VERSION/dtable.sql

thanks