DB::SQL::Migrations - apply database migrations via scripts in a directory
use DB::SQL::Migrations; my $migrator = DB::SQL::Migrations->new( dbh => $some_db_handle, migrations => $some_path, ) $migrator->create_migrations_table(); #creates schema table if it doesn't exist $migrator->apply();
Run a number of small SQL scripts
Adam Omielan, <email@example.com> Jonathan Taylor, <firstname.lastname@example.org>
Copyright (C) 2012 by Jonathan Taylor
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.