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
1 changed files with 12 additions and 0 deletions

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;