1
0
Fork 0

We now store verbs in a new side table

This commit is contained in:
Michael 2020-05-09 15:38:40 +00:00
commit 5fe6a2dfcd
5 changed files with 132 additions and 2 deletions

View file

@ -422,3 +422,12 @@ function update_1332()
return Update::SUCCESS;
}
function update_1347()
{
foreach (Item::ACTIVITIES as $index => $activity) {
DBA::insert('verb', ['id' => $index + 1, 'name' => $activity], true);
}
return Update::SUCCESS;
}