aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbinoam P. Marques Jr <abinoam@gmail.com>2012-02-25 13:06:06 -0800
committerAbinoam P. Marques Jr <abinoam@gmail.com>2012-02-25 16:59:42 -0800
commitedcc33ab5c57eb1f3fcdc79394f791c385760fb4 (patch)
tree21f631ad3b10aeb621d0444a47f8659032bb8e0f
parent3d37a688c71102e8a4b1f4c8ba3d16c0a698c49c (diff)
downloadvolse-hubzilla-edcc33ab5c57eb1f3fcdc79394f791c385760fb4.tar.gz
volse-hubzilla-edcc33ab5c57eb1f3fcdc79394f791c385760fb4.tar.bz2
volse-hubzilla-edcc33ab5c57eb1f3fcdc79394f791c385760fb4.zip
Added notify-threads to update.php
-rwxr-xr-xupdate.php17
1 files changed, 15 insertions, 2 deletions
diff --git a/update.php b/update.php
index 0096754d2..18dc90cce 100755
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1125 );
+define( 'UPDATE_VERSION' , 1126 );
/**
*
@@ -1076,4 +1076,17 @@ set_config('system','allowed_themes','dispy,quattro,testbubble,vier,darkbubble,d
function update_1124() {
q("alter table item add index (`author-name`) ");
-} \ No newline at end of file
+}
+
+function update_1125() {
+ q("CREATE TABLE IF NOT EXISTS `notify-threads` (
+ `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+ `notify-id` INT NOT NULL,
+ `master-parent-item` INT( 10 ) unsigned NOT NULL DEFAULT '0',
+ `parent-item` INT( 10 ) unsigned NOT NULL DEFAULT '0',
+ `receiver-uid` INT NOT NULL,
+ INDEX ( `master-parent-item` ),
+ INDEX ( `receiver-uid` )
+ ) ENGINE = MyISAM DEFAULT CHARSET=utf8");
+}
+