Commit 3dc2d5198e63dcf8bf82f1c1b66395401269e8a9
1 parent
c4f2bf1e
KTC-656 - "DB upgrade fails: DB Error: Constraint violation"
Fixed. The server_name.sql file is now removed first as it is no longer used. Committed By: Kevin Fourie Reviewed By: Donald Jackson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@9678 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
3 additions
and
1 deletions
.gitignore
lib/upgrades/UpgradeFunctions.inc.php
| @@ -120,7 +120,8 @@ class UpgradeFunctions { | @@ -120,7 +120,8 @@ class UpgradeFunctions { | ||
| 120 | 120 | ||
| 121 | var $priority = array( | 121 | var $priority = array( |
| 122 | 'addAutoIncrementToTables'=>1, | 122 | 'addAutoIncrementToTables'=>1, |
| 123 | - 'addAutoIncrementToTables2'=>-1 | 123 | + 'addAutoIncrementToTables2'=>-1, |
| 124 | + 'removeOldFilesAndFolders354'=>1 | ||
| 124 | ); | 125 | ); |
| 125 | 126 | ||
| 126 | function addAutoIncrementToTables2() | 127 | function addAutoIncrementToTables2() |