Call the initial value check in the test

This commit is contained in:
Michael 2020-05-15 18:08:06 +00:00
parent e333f45d0f
commit d70b77288d
3 changed files with 7 additions and 12 deletions

View file

@ -983,7 +983,10 @@ class DBStructure
return DBA::toArray($stmtColumns);
}
private static function checkInitialValues()
/**
* Check if initial database values do exist - or create them
*/
public static function checkInitialValues()
{
if (DBA::tableExists('contact') && !DBA::exists('contact', ['id' => 0])) {
DBA::insert('contact', ['nurl' => '']);