DBIx::SchemaChecksum::App::ApplyChanges - Apply changes based on current checksum
version 1.104
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. Use --no_prompt to always accept each change (useful for deployment scripts etc). Use --dry_run to run all changes, but do not apply them.
sqlsnippetdir
--no_prompt
--dry_run
$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...)
Thomas Klausner <domm@plix.at>
Maroš Kollár <maros@cpan.org>
Klaus Ita <koki@worstofall.com>
This software is copyright (c) 2012 - 2021 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.
To install DBIx::SchemaChecksum, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::SchemaChecksum
CPAN shell
perl -MCPAN -e shell install DBIx::SchemaChecksum
For more information on module installation, please visit the detailed CPAN module installation guide.