You're updating code that needs to be executed against an external layer instead of just the application layer.
Application code that touches the file system is still deployed along with the application code.
You might commit schema.sql into your application repository, but that's not the state of your database.
Schema usually is needed for application that will be using a database. I also don't understand the scare about using schema. Schema is FAR FAR FAR simpler to deploy than a Java application.