aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 8bc629f71..ba9e9e430 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1053 );
+define( 'UPDATE_VERSION' , 1054 );
/**
*
@@ -635,3 +635,9 @@ function update_r1052() {
return UPDATE_FAILED;
}
+function update_r1053() {
+ $r = q("ALTER TABLE `profile` ADD `chandesc` TEXT NOT NULL DEFAULT '' AFTER `pdesc` ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}