the ideal is that you create separate DDL and DML scripts, so that you can have control over the changes. Furthermore, I recommend that the entire pipeline be executed in a homologation and pre-production environment.