mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
language field renamed to "language"
This commit is contained in:
parent
fc22a3e83f
commit
7faa42882b
9 changed files with 23 additions and 12 deletions
13
update.php
13
update.php
|
@ -1410,4 +1410,15 @@ function update_1539()
|
|||
DBA::close($users);
|
||||
|
||||
return Update::SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
function pre_update_1550()
|
||||
{
|
||||
if (DBStructure::existsTable('post-engagement') && DBStructure::existsColumn('post-engagement', ['language'])) {
|
||||
DBA::e("ALTER TABLE `post-engagement` DROP `language`");
|
||||
}
|
||||
if (DBStructure::existsTable('post-searchindex') && DBStructure::existsColumn('post-searchindex', ['network'])) {
|
||||
DBA::e("ALTER TABLE `post-searchindex` DROP `network`, DROP `private`");
|
||||
}
|
||||
return Update::SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue