aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-28 21:16:56 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-28 21:16:56 -0700
commitde13497333c9b68e3fa2d73c9a0284da7797f405 (patch)
tree8fd039284fb96bcdb74efad09c69dc34348364f4 /install/update.php
parent1ee1b6a33435a0d05031312f988066d99ea06d5c (diff)
downloadvolse-hubzilla-de13497333c9b68e3fa2d73c9a0284da7797f405.tar.gz
volse-hubzilla-de13497333c9b68e3fa2d73c9a0284da7797f405.tar.bz2
volse-hubzilla-de13497333c9b68e3fa2d73c9a0284da7797f405.zip
no this isn't it. well ok, it's part of it, but not the important part. it's still pretty cool.
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 62c976218..fb49e9a16 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1143 );
+define( 'UPDATE_VERSION' , 1144 );
/**
*
@@ -1656,4 +1656,14 @@ function update_r1142() {
return UPDATE_FAILED;
+}
+
+function update_r1143() {
+
+ $r1 = q("ALTER TABLE abook ADD abook_incl TEXT NOT NULL DEFAULT ''");
+ $r2 = q("ALTER TABLE abook ADD abook_excl TEXT NOT NULL DEFAULT '' ");
+ if($r1 && $r2)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+
} \ No newline at end of file