Expanded DB structure

This commit is contained in:
Paolo
2020-04-22 21:21:55 +02:00
parent 2f34e13519
commit 0d2e99860e
10 changed files with 59 additions and 24 deletions
+4 -2
View File
@@ -18,6 +18,7 @@ class DBSkelLib
const RUN_MODE_NEW = 'new'; // build a new database or if database is already present creates only new objects
const RUN_MODE_DIFF = 'diff'; // like new, but it also remove object from database that are NOT present in configuration files
// Step indexes
const STEP_SCHEMA = 1;
const STEP_SEQUENCES = 2;
const STEP_TABLES = 3;
@@ -831,12 +832,12 @@ class DBSkelLib
}
elseif ($step > self::MAX_STEPS) // if it is a number but > MAX_STEPS
{
$this->_ci->eprintflib->printError('The maximun value fot this parameter is: '.self::MAX_STEPS);
$this->_ci->eprintflib->printError('The maximun value for this parameter is: '.self::MAX_STEPS);
return false;
}
elseif ($step < 1) // if it is a number but < 1
{
$this->_ci->eprintflib->printError('The minimum value fot this parameter is 1');
$this->_ci->eprintflib->printError('The minimum value for this parameter is 1');
return false;
}
}
@@ -1249,3 +1250,4 @@ class DBSkelLib
elseif ($this->_isDiffMode()) $this->_printInfo('>> DBSkel is running in diff mode <<');
}
}