aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-29 22:57:15 -0700
committerfriendica <info@friendica.com>2012-05-29 22:57:15 -0700
commit88a0d6a1d53a93fa0d43591f85b72a8a72c13d53 (patch)
tree4347cab04767aafe7b5567d68539e666284fa3cc /update.php
parentb6fe837a643c9c7bb63a5196d4d14c508f3fce55 (diff)
downloadvolse-hubzilla-88a0d6a1d53a93fa0d43591f85b72a8a72c13d53.tar.gz
volse-hubzilla-88a0d6a1d53a93fa0d43591f85b72a8a72c13d53.tar.bz2
volse-hubzilla-88a0d6a1d53a93fa0d43591f85b72a8a72c13d53.zip
private group tests, cont.
Diffstat (limited to 'update.php')
-rw-r--r--update.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/update.php b/update.php
index f25d16f9d..f94b89fd3 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1144 );
+define( 'UPDATE_VERSION' , 1145 );
/**
*
@@ -1253,5 +1253,9 @@ function update_1143() {
return UPDATE_SUCCESS ;
}
-
-
+function update_1144() {
+ $r = q("alter table contact add prv tinyint(1) not null default '0' after forum");
+ if(! $r)
+ return UPDATE_FAILED ;
+ return UPDATE_SUCCESS ;
+}