aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-01 21:00:02 -0700
committerredmatrix <git@macgirvin.com>2016-05-01 21:00:02 -0700
commitbd2f11ed8b0be4fb611c33e85b568048f79b7090 (patch)
treeb0bb7e430d6c0a21b5601368b825f6cefc4f181c /install/update.php
parent5e458491f1e0fce5ec9e4855dac13340af627ded (diff)
downloadvolse-hubzilla-bd2f11ed8b0be4fb611c33e85b568048f79b7090.tar.gz
volse-hubzilla-bd2f11ed8b0be4fb611c33e85b568048f79b7090.tar.bz2
volse-hubzilla-bd2f11ed8b0be4fb611c33e85b568048f79b7090.zip
db schema change to add tags to content sources
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 2dc4a6db3..b8e20786c 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1166 );
+define( 'UPDATE_VERSION' , 1167 );
/**
*
@@ -2071,3 +2071,12 @@ function update_r1165() {
return UPDATE_FAILED;
}
+function update_r1166() {
+
+ $r = q("alter table source add src_tag text not null default '' ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+
+