Added simple script for deploying the database
This commit is contained in:
parent
f6d2fe9ce3
commit
c1b999c3ed
1 changed files with 12 additions and 0 deletions
12
script/deploy_db
Normal file
12
script/deploy_db
Normal 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;
|
Reference in a new issue