diff options
author | friendica <info@friendica.com> | 2012-02-01 19:23:45 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-02-01 19:23:45 -0800 |
commit | 94e396e6c4fda7a9113bfdb122fadfde0421e81c (patch) | |
tree | 2eb48e4a901751d0fc7e8bdf3f26564f34db6a3d /update.php | |
parent | 64d0616762efcff413a335f2fdde4d8219d44895 (diff) | |
parent | 840f69e2c8ba014b89314191859ad0b8b35631d5 (diff) | |
download | volse-hubzilla-94e396e6c4fda7a9113bfdb122fadfde0421e81c.tar.gz volse-hubzilla-94e396e6c4fda7a9113bfdb122fadfde0421e81c.tar.bz2 volse-hubzilla-94e396e6c4fda7a9113bfdb122fadfde0421e81c.zip |
Merge branch 'master' into spam
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/update.php b/update.php index d961f2932..d0fe1645b 100755 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1118 ); +define( 'UPDATE_VERSION' , 1119 ); /** * @@ -1012,3 +1012,11 @@ 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"); +} + +function update_1119() { +q("ALTER TABLE `item` ADD `spam` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `visible` , ADD INDEX (`spam`) "); +} |