diff options
author | friendica <info@friendica.com> | 2012-01-31 23:54:53 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-01-31 23:54:53 -0800 |
commit | c0c0f2dc151300f7578cf77a059403369edba07d (patch) | |
tree | d6731b4a052e7f055bd79b1ebde81d22e26a7401 /update.php | |
parent | 86c0eac27d4ed2a454f752615a1b446cf2acd2b2 (diff) | |
download | volse-hubzilla-c0c0f2dc151300f7578cf77a059403369edba07d.tar.gz volse-hubzilla-c0c0f2dc151300f7578cf77a059403369edba07d.tar.bz2 volse-hubzilla-c0c0f2dc151300f7578cf77a059403369edba07d.zip |
add closeness attribute
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/update.php b/update.php index d961f2932..e0591a3b3 100755 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1118 ); +define( 'UPDATE_VERSION' , 1119 ); /** * @@ -1012,3 +1012,7 @@ INDEX ( `mid` ) } +function update_1118() { +q("ALTER TABLE `contact` ADD `closeness` TINYINT( 2 ) NOT NULL DEFAULT '99' AFTER `reason` , ADD INDEX (`closensss`) "); +q("update contact set closeness = 0 where self = 1"); +} |