aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-21 15:03:33 -0800
committerzotlabs <mike@macgirvin.com>2016-12-21 15:03:33 -0800
commitbb85e139f110d2d65a54f8aefbd3777a99d053e2 (patch)
tree01cd01d854dfcc02a9571a9f6aca828a639d7975 /install/update.php
parentfcc92299ebaf5a723f31e44e2e16a6248bbdc04b (diff)
downloadvolse-hubzilla-bb85e139f110d2d65a54f8aefbd3777a99d053e2.tar.gz
volse-hubzilla-bb85e139f110d2d65a54f8aefbd3777a99d053e2.tar.bz2
volse-hubzilla-bb85e139f110d2d65a54f8aefbd3777a99d053e2.zip
more vcard work
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index eca7011a8..34f23b049 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1186 );
+define( 'UPDATE_VERSION' , 1187 );
/**
*
@@ -2481,3 +2481,14 @@ function update_r1185() {
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1186() {
+
+ $r1 = q("alter table profile add profile_vcard text not null default '' ");
+
+ if($r1)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+
+
+} \ No newline at end of file