diff options
-rw-r--r-- | eg/post_hook.t | 2 | ||||
-rwxr-xr-x | scripts/upgrade_db.pl | 17 |
2 files changed, 2 insertions, 17 deletions
diff --git a/eg/post_hook.t b/eg/post_hook.t index f0d766e..3715abc 100644 --- a/eg/post_hook.t +++ b/eg/post_hook.t @@ -3,7 +3,7 @@ use warnings; use 5.010; use LWP::UserAgent; use HTTP::Request::Common; -use YAML::Syck; +use YAML qw/LoadFile/; use JSON; my $content = LoadFile('t/data/test.yaml'); 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"; |