use $pdata instead of $tdata for procedure info
Justin Hunter [Mon, 27 Sep 2010 21:12:51 +0000 (14:12 -0700)]
lib/SQL/Translator/Parser/DDL/YAML.pm

index 1d9d448..9b9da8a 100644 (file)
@@ -105,8 +105,8 @@ role SQL::Translator::Parser::DDL::YAML {
             map   { [ $data->{'procedures'}{ $_ }{'order'}, $_ ] }
             keys %{ $data->{'procedures'} };
     
-        for my $tdata ( @procedures ) {
-             my $procedure = Procedure->new($tdata);
+        for my $pdata ( @procedures ) {
+             my $procedure = Procedure->new($pdata);
              $schema->add_procedure($procedure);
         }