aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-26 22:37:04 -0700
committerfriendica <info@friendica.com>2014-08-26 22:37:04 -0700
commite179dca446b4e604b7486e79d694d39679d1209f (patch)
treed02302c7ff4be8d44e4bd3204cf4b4504d58f625 /install/update.php
parent5e4298029a4f1bb8dbcef65ef0bd72db3e9a316a (diff)
downloadvolse-hubzilla-e179dca446b4e604b7486e79d694d39679d1209f.tar.gz
volse-hubzilla-e179dca446b4e604b7486e79d694d39679d1209f.tar.bz2
volse-hubzilla-e179dca446b4e604b7486e79d694d39679d1209f.zip
place to store multiple choice and select items for extensible profiles
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 d7a10e11b..7c05173c0 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1125 );
+define( 'UPDATE_VERSION' , 1126 );
/**
*
@@ -1421,3 +1421,12 @@ function update_r1124() {
}
+
+function update_r1125() {
+ $r = q("ALTER TABLE `profdef` ADD `field_inputs` MEDIUMTEXT NOT NULL DEFAULT ''");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+
+}
+