aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-28 16:05:03 -0800
committerfriendica <info@friendica.com>2013-12-28 16:05:03 -0800
commitaacd3164fa9efdb4dc3f835f67a61dfc14dc8d11 (patch)
tree45634525674e8356b5ccb1591212b3f86f9b5e6a /install/update.php
parent1d0fddd39c50205f697b040aab1655b282afa53d (diff)
downloadvolse-hubzilla-aacd3164fa9efdb4dc3f835f67a61dfc14dc8d11.tar.gz
volse-hubzilla-aacd3164fa9efdb4dc3f835f67a61dfc14dc8d11.tar.bz2
volse-hubzilla-aacd3164fa9efdb4dc3f835f67a61dfc14dc8d11.zip
allow objects to have permissions
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 8e64413dc..5025222a6 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1088 );
+define( 'UPDATE_VERSION' , 1089 );
/**
*
@@ -967,3 +967,13 @@ ADD INDEX ( `xprof_hometown` )");
return UPDATE_FAILED;
}
+function update_r1088() {
+ $r = q("ALTER TABLE `obj` ADD `allow_cid` MEDIUMTEXT NOT NULL DEFAULT '',
+ADD `allow_gid` MEDIUMTEXT NOT NULL DEFAULT '',
+ADD `deny_cid` MEDIUMTEXT NOT NULL DEFAULT '',
+ADD `deny_gid` MEDIUMTEXT NOT NULL DEFAULT ''");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+