mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10:11 +00:00
Call the initial value check in the test
This commit is contained in:
parent
e333f45d0f
commit
d70b77288d
3 changed files with 7 additions and 12 deletions
|
@ -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' => '']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue