mirror of
https://github.com/friendica/friendica
synced 2025-04-24 02:30:13 +00:00
Mode switch for insert
This commit is contained in:
parent
fa5acb3b21
commit
303aaa00ca
15 changed files with 56 additions and 31 deletions
|
@ -1050,7 +1050,7 @@ class DBStructure
|
|||
{
|
||||
if (self::existsTable('verb') && !DBA::exists('verb', ['id' => 1])) {
|
||||
foreach (Item::ACTIVITIES as $index => $activity) {
|
||||
DBA::insert('verb', ['id' => $index + 1, 'name' => $activity], true);
|
||||
DBA::insert('verb', ['id' => $index + 1, 'name' => $activity], Database::INSERT_IGNORE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue