CLI create-update-scripts which studio generates

When I press run through cuba-plugin I get
And correct update scripts
But when I try to generate these through CLI I do

? Script name (updateSomeTable) > upd04to05
        created  modules\core\db\update\postgres\19\190513-1-upd04to05.sql

But I get an empty file instead of those update scripts generated by Cuba-plugin
How do I get same update scripts as generated by Cuba-plugin using CLI?


It is not supported by design and, probably, will never be supported in CLI, since CLI does not parse entity classes. Command create-update-script just creates a new update script file, so you can write SQL manually.