From: Jason Etheridge Date: Tue, 13 Aug 2019 03:27:33 +0000 (-0400) Subject: typoes X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=3282699cdc8a2f7701617f496588d4fad3641467 typoes Signed-off-by: Jason Etheridge --- diff --git a/mig-bin/mig-stagebibs b/mig-bin/mig-stagebibs index 88564df..1801f02 100755 --- a/mig-bin/mig-stagebibs +++ b/mig-bin/mig-stagebibs @@ -80,8 +80,8 @@ foreach my $arg (@ARGV) { my $bre_test = check_for_table($dbh,'biblio_record_entry'); my $bre_legacy_test = check_for_table($dbh,'biblio_record_entry_legacy'); -if ($bre_test == 0 and $bre_legacy_test == 0 ) { create_child_bre($dbh); rename_child_bre($db); } -if ($bre_test == 1 and $bre_legacy_test == 0 ) { rename_child_bre($db); } +if ($bre_test == 0 and $bre_legacy_test == 0 ) { create_child_bre($dbh); rename_child_bre($dbh); } +if ($bre_test == 1 and $bre_legacy_test == 0 ) { rename_child_bre($dbh); } my $xmig_test = check_for_column($dbh,'biblio_record_entry','x_migrate'); if ($xmig_test == 0) { add_column($dbh,'biblio_record_entry','x_migrate','BOOLEAN DEFAULT TRUE'); }