]> lifelog.hopto.org Git - LifeLog.git/commitdiff
upd migration.
authorWill Budicm <redacted>
Sat, 29 Aug 2020 02:50:27 +0000 (12:50 +1000)
committerWill Budicm <redacted>
Sat, 29 Aug 2020 02:50:27 +0000 (12:50 +1000)
htdocs/cgi-bin/login_ctr.cgi

index 4d9cca334529121699e676fde4be8970eeee7ad5..38088681313c7e19cdf68c54471836765e91d912 100755 (executable)
@@ -246,11 +246,12 @@ sub checkCreateTables {
                             }
                         }
                 }
-
+                #is above v.1.6 has a notes table.
+                $db->do('DROP TABLE VW_LOG;');
+                delete($curr_tables{'VW_LOG'});
             }
             $db->do('DROP TABLE LOG;');
             #v.1.8 Has fixes, time also properly to take into the sort. Not crucial to drop.
-            $db->do('DROP TABLE VW_LOG;');delete($curr_tables{'VW_LOG'});
             $db->do(&Settings::createLOGStmt);
             $db->do('INSERT INTO LOG (ID_CAT, DATE, LOG, AMOUNT,AFLAG)
                                 SELECT ID_CAT, DATE, LOG, AMOUNT, AFLAG FROM life_log_login_ctr_temp_table ORDER by DATE;');