add closeness attribute
This commit is contained in:
parent
86c0eac27d
commit
c0c0f2dc15
4 changed files with 11 additions and 5 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue