DBIx::SchemaChecksum::App::ApplyChanges - Apply changes based on current checksum
Apply all changes found in
sqlsnippetdir based on the current checksum.
For each file there will be a prompt asking if you want to apply the file.
--no_prompt to always accept each change (useful for deployment scripts etc).
--dry_run to run all changes,
but do not apply them.
$self->apply_sql_snippets( $starting_checksum );
Applies SQL snippets in the correct order to the DB. Checks if the checksum after applying the snippets is correct. If it isn't correct rolls back the last change (if your DB supports transactions...)
This software is copyright (c) 2012 by Thomas Klausner, Maroš Kollár, Klaus Ita.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.