aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-03-20 03:17:07 +0000
committerThomas Willingham <founder@kakste.com>2013-03-20 03:17:07 +0000
commit897910b5c96d9ce58eda8c40ea0a8ab19acb151a (patch)
tree42865b2b6f727a93b2cecd5c88671f3c0aafe9a4 /install/update.php
parent9d6a4093baf805891d03eca871c6e3b5ff66eec3 (diff)
downloadvolse-hubzilla-897910b5c96d9ce58eda8c40ea0a8ab19acb151a.tar.gz
volse-hubzilla-897910b5c96d9ce58eda8c40ea0a8ab19acb151a.tar.bz2
volse-hubzilla-897910b5c96d9ce58eda8c40ea0a8ab19acb151a.zip
Add "channels" field to profile table.
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 0c7c6e0df..533fd63e5 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1036 );
+define( 'UPDATE_VERSION' , 1037 );
/**
*
@@ -462,3 +462,7 @@ KEY `k` ( `k` )
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1036() {
+ q("ALTER TABLE `profile` ADD `channels` TEXT NOT NULL AFTER `contact` ");
+}