diff options
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/update.php b/update.php index 1fe58486b..6b0bc770e 100644 --- a/update.php +++ b/update.php @@ -22,3 +22,11 @@ function update_1001() { function update_1002() { q("ALTER TABLE `item` ADD `gravity` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `wall` "); } + +function update_1003() { + q("ALTER TABLE `contact` DROP `issued-pubkey` , DROP `ret-id` , DROP `ret-pubkey` "); + q("ALTER TABLE `contact` ADD `usehub` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `ret-aes`"); + q("ALTER TABLE `contact` ADD `hub-verify` CHAR( 255 ) NOT NULL AFTER `usehub`"); + q("ALTER TABLE `contact` ADD INDEX ( `uid` ) , ADD INDEX ( `self` ), ADD INDEX ( `issued-id` ), ADD INDEX ( `dfrn-id` )"); + q("ALTER TABLE `contact` ADD INDEX ( `blocked` ), ADD INDEX ( `readonly` )"); +}
\ No newline at end of file |