From 840f69e2c8ba014b89314191859ad0b8b35631d5 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 1 Feb 2012 18:50:11 -0800 Subject: [PATCH] add spam flag to item table, DB version not incremented yet, give large sites a heads up to do it manually --- update.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update.php b/update.php index e0591a3b37..d0fe1645b1 100755 --- a/update.php +++ b/update.php @@ -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`) "); +}