Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 349 Bytes
use strict;
use warnings;
use jitterbug::Schema;
use YAML qw/LoadFile/;
my $config = shift;
die "need configuration file" unless $config;
my $dancer_conf = LoadFile($config);
my $dbix_conf = $dancer_conf->{plugins}->{DBIC}->{schema};
my $schema = jitterbug::Schema->connect( @{ $dbix_conf->{connect_info} } );
$schema->deploy;
print "done!\n";
Something went wrong with that request. Please try again.