aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-23 20:56:11 -0800
committerfriendica <info@friendica.com>2012-01-23 20:56:11 -0800
commita76a497d924a16b8b07b126408db21655aac3bd6 (patch)
treeda677488f3ad710d223ae7e3ad68d1c695f46ada /update.php
parent1f074cb44c5deda5b480f5ff814ff3640ec843d0 (diff)
downloadvolse-hubzilla-a76a497d924a16b8b07b126408db21655aac3bd6.tar.gz
volse-hubzilla-a76a497d924a16b8b07b126408db21655aac3bd6.tar.bz2
volse-hubzilla-a76a497d924a16b8b07b126408db21655aac3bd6.zip
implement "moderate" flag on items
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/update.php b/update.php
index 4dff59c98..aac306a72 100755
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1115 );
+define( 'UPDATE_VERSION' , 1116 );
/**
*
@@ -990,3 +990,8 @@ INDEX ( `stat` )
) ENGINE = MYISAM ");
}
+
+function update_1115() {
+ q("ALTER TABLE `item` ADD `moderated` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `pubmail`,
+ ADD INDEX (`moderated`) ");
+} \ No newline at end of file