photo_flags - for adding taxonomy photos and other stuff.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1051 );
|
||||
define( 'UPDATE_VERSION' , 1052 );
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -618,3 +618,11 @@ function update_r1050() {
|
||||
return UPDATE_SUCCESS;
|
||||
return UPDATE_FAILED;
|
||||
}
|
||||
|
||||
function update_r1051() {
|
||||
$r = q("ALTER TABLE `photo` ADD `photo_flags` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `profile` , ADD INDEX ( `photo_flags` ) ");
|
||||
|
||||
if($r)
|
||||
return UPDATE_SUCCESS;
|
||||
return UPDATE_FAILED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user