Hi Andy and Racke,

I know of all the modules you mentioned. Personally I've decided to go with App::DH which works fine for me. I don't know the exact differences though.

However, I don't get what you want to tell me. Is the purpose of my
module already implemented in yours?

To make it exactly clear: My module is not about handling migrations
itself. I just happened to have a software based on a schema managed
with App::DH & DBIC::DeploymentHandler and desired a quick way to
add a version check to my web application.

Maybe I'm missing your point. Then please give me a hint how to
easily add a version check to MyApp.pm when using DBIC::DH::CLI
or DBIC::Migration.

Kind regards
Daniel Böhmer


On 2017-01-06 15:33, Andrew Beverley wrote:
On Fri, 6 Jan 2017 "Stefan Hornburg (Racke)" wrote:
we are using DeploymentHandler for all our projects with DBIx::Class.

I'm really fond of it, but it lacks some scripting stuff like querying
the versions and running the prepare and upgrade scripts.

I created a module to support scripting:

https://metacpan.org/pod/DBIx::Class::DeploymentHandler::CLI

There is also DBIx::Class::Migration to manage versions, preparations,
fixtures etc, which is build on DH. It's a relatively heavyweight
solution, but I use it extensively and it works well.

Andy

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to