Small change to ordering of view and procedure diffs
Chris Hilton [Mon, 19 Mar 2007 17:10:25 +0000 (17:10 +0000)]
lib/SQL/Translator/Diff.pm

index 4d1a727..5759f11 100644 (file)
@@ -350,8 +350,8 @@ END
       push @diffs_view_drops, "DROP VIEW $view_ident;\nGO\n";
     }
 
-    push @diffs, @diffs_view_drops, @diffs_view_creates,
-      @diffs_proc_creates, @diffs_proc_drops;
+    push @diffs, @diffs_view_drops, @diffs_proc_drops,
+      @diffs_view_creates, @diffs_proc_creates;
 
     if ( @diffs ) {
        if ( $target_db !~ /^(MySQL|SQLServer|Oracle)$/ ) {