mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:00:16 +00:00
add spam flag to item table, DB version not incremented yet, give large sites a heads up to do it manually
This commit is contained in:
parent
9fc36d3da4
commit
840f69e2c8
1 changed files with 4 additions and 0 deletions
|
@ -1016,3 +1016,7 @@ function update_1118() {
|
|||
q("ALTER TABLE `contact` ADD `closeness` TINYINT( 2 ) NOT NULL DEFAULT '99' AFTER `reason` , ADD INDEX (`closensss`) ");
|
||||
q("update contact set closeness = 0 where self = 1");
|
||||
}
|
||||
|
||||
function update_1119() {
|
||||
q("ALTER TABLE `item` ADD `spam` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `visible` , ADD INDEX (`spam`) ");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue