DBIx-Auto-Migrate
view release on metacpan or search on metacpan
}
}
And elsewhere:
my $dbh = MyCompany::DB->connect;
my $dbh = MyCompany::DB->connect_cached;
# DESCRIPTION
Sometimes is convenient to be able to make server or desktop programs that
use a database with the ability to be automatically have their database
upgraded in runtime.
This module comes from a snippet of code I was copying all the time between
different projects with different database engines such as PostgreSQL and SQLite,
it is time to stop copying logic like this between projects and make public
my way to apply database migrations defined in code in a extensible way.
It is only possible to migrate forward so be careful.
lib/DBIx/Auto/Migrate.pm view on Meta::CPAN
}
}
And elsewhere:
my $dbh = MyCompany::DB->connect;
my $dbh = MyCompany::DB->connect_cached;
=head1 DESCRIPTION
Sometimes is convenient to be able to make server or desktop programs that
use a database with the ability to be automatically have their database
upgraded in runtime.
This module comes from a snippet of code I was copying all the time between
different projects with different database engines such as PostgreSQL and SQLite,
it is time to stop copying logic like this between projects and make public
my way to apply database migrations defined in code in a extensible way.
It is only possible to migrate forward so be careful.
( run in 1.006 second using v1.01-cache-2.11-cpan-c966e8aa7e8 )