But you could say the same for any code that say, touches the filesystem.
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.