Added simple script for deploying the database

This commit is contained in:
Tom Bloor 2017-04-04 22:19:23 +01:00
parent f6d2fe9ce3
commit c1b999c3ed

12
script/deploy_db Normal file
View file

@ -0,0 +1,12 @@
#! /usr/bin/env perl
use strict;
use warnings;
use Pear::LocalLoop::Schema;
my @con = @ARGV;
my $schema = Pear::LocalLoop::Schema->connect(@con);
$schema->deploy;