From 7e7c0819104cbd20f9c8f97a0b05e5dc9e835150 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sun, 13 Feb 2011 17:29:39 +0100 Subject: use YAML instead of YAML::Syck --- scripts/upgrade_db.pl | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'scripts/upgrade_db.pl') 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"; -- cgit 1.4.1