remove needless comments
Justin Hunter [Sat, 5 Sep 2009 16:46:36 +0000 (09:46 -0700)]
lib/SQL/Translator/Parser/DDL/SQLite.pm

index 69dd24e..786813a 100644 (file)
@@ -101,20 +101,6 @@ role SQL::Translator::Parser::DDL::SQLite {
                     $constraint->add_column($table->get_column($_)) for @{$cdata->{fields}};
                 }
                 $table->add_constraint($constraint);
-=cut
-                my $constraint = Constraint->new({
-                    name             => $cdata->{'name'},
-                    type             => $cdata->{'type'},
-                    columns          => $cdata->{'fields'},
-                    reference_table  => $cdata->{'reference_table'},
-                    reference_fields => $cdata->{'reference_fields'},
-                    match_type       => $cdata->{'match_type'} || '',
-                    on_delete        => $cdata->{'on_delete'} || $cdata->{'on_delete_do'},
-                    on_update        => $cdata->{'on_update'} || $cdata->{'on_update_do'},
-                    table            => $table,
-                });
-                $table->add_constraint($constraint);
-=cut
             }
         }