Deployment Handler Script

Adding the script and required items for deployment handler script to work
This commit is contained in:
Tom Bloor 2017-07-20 17:08:02 +01:00
parent e76025c44e
commit dde8988345
4 changed files with 269 additions and 6 deletions

View file

@ -6,10 +6,6 @@ use warnings;
use FindBin qw/ $Bin /;
use lib "$Bin/../lib";
use Pear::LocalLoop::Schema;
use Pear::LocalLoop::Schema::Script::DeploymentHandler;
my @con = @ARGV;
my $schema = Pear::LocalLoop::Schema->connect(@con);
$schema->deploy;
Pear::LocalLoop::Schema::Script::DeploymentHandler->new_with_actions(schema_class => 'Pear::LocalLoop::Schema');