aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-01 18:50:11 -0800
committerfriendica <info@friendica.com>2012-02-01 18:50:11 -0800
commit840f69e2c8ba014b89314191859ad0b8b35631d5 (patch)
treefc77f8de1c072b11287dd7d542d63096065526a1 /update.php
parent9fc36d3da4e85b4b25b7abe1917cb2188eea77ea (diff)
downloadvolse-hubzilla-840f69e2c8ba014b89314191859ad0b8b35631d5.tar.gz
volse-hubzilla-840f69e2c8ba014b89314191859ad0b8b35631d5.tar.bz2
volse-hubzilla-840f69e2c8ba014b89314191859ad0b8b35631d5.zip
add spam flag to item table, DB version not incremented yet, give large sites a heads up to do it manually
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/update.php b/update.php
index e0591a3b3..d0fe1645b 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`) ");
+}