summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-02-13 17:29:39 +0100
committerfranck cuny <franck@lumberjaph.net>2011-02-13 17:29:39 +0100
commit7e7c0819104cbd20f9c8f97a0b05e5dc9e835150 (patch)
tree1f0ae814fd244f768ebbca8327838706d69828e9 /scripts
parentMerge branch 'devel' (diff)
downloadjitterbug-7e7c0819104cbd20f9c8f97a0b05e5dc9e835150.tar.gz
use YAML instead of YAML::Syck
Diffstat (limited to '')
-rwxr-xr-xscripts/upgrade_db.pl17
1 files changed, 1 insertions, 16 deletions
diff --git a/scripts/upgrade_db.pl b/scripts/upgrade_db.pl
index 00f6306..629ef25 100755
--- a/scripts/upgrade_db.pl
+++ b/scripts/upgrade_db.pl
@@ -4,7 +4,7 @@ use warnings;
use lib 'lib';
-use YAML::Syck;
+use YAML qw/LoadFile/;
use DBIx::Class::DeploymentHandler;
use SQL::Translator;
@@ -52,19 +52,4 @@ if ( $version > 1 ) {
);
}
-# print "generating graph\n";
-
-# my $trans = SQL::Translator->new(
-# parser => 'SQL::Translator::Parser::DBIx::Class',
-# parser_args => { package => $schema },
-# producer_args => {
-# show_constraints => 1,
-# show_datatypes => 1,
-# show_sizes => 1,
-# show_fk_only => 0,
-# }
-# );
-
-# $trans->translate;
-
print "done\n";