From 313e7fbf01dd1837356fde988eb4da00e10ced7d Mon Sep 17 00:00:00 2001 From: Will Budicm Date: Wed, 20 May 2020 15:54:13 +1000 Subject: [PATCH] To new 1.9 + VW_LOG migration implemented. --- htdocs/cgi-bin/login_ctr.cgi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/cgi-bin/login_ctr.cgi b/htdocs/cgi-bin/login_ctr.cgi index 7f783dd..073fe61 100755 --- a/htdocs/cgi-bin/login_ctr.cgi +++ b/htdocs/cgi-bin/login_ctr.cgi @@ -282,6 +282,10 @@ sub checkCreateTables { #Need to run slow populuate check from config file. $changed = 1; } + elsif($hasLogTbl && $DEF_VERSION > $DB_VERSION && $DB_VERSION < 2.0){ + #dev 1.9 main log view has changed in 1.8..1.9, above scope will perform anyway, its drop, to be recreated later. + $db->do('DROP TABLE VW_LOG;');delete($curr_tables{'VW_LOG'}); + } if(!$hasLogTbl) { -- 2.34.1