minor
This commit is contained in:
parent
facc6ee6b3
commit
e314510005
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Zotlabs\Module;
|
namespace Zotlabs\Module;
|
||||||
|
|
||||||
require_once('include/socgraph.php');
|
require_once('include/socgraph.php');
|
||||||
|
@ -2448,7 +2448,7 @@ function update_r1182() {
|
|||||||
|
|
||||||
function update_r1183() {
|
function update_r1183() {
|
||||||
$r1 = q("alter table hook CHANGE priority priority smallint NOT NULL DEFAULT '0' ");
|
$r1 = q("alter table hook CHANGE priority priority smallint NOT NULL DEFAULT '0' ");
|
||||||
$r2 = q("create index priority on hook (priority)");
|
$r2 = q("create index priority_idx on hook (priority)");
|
||||||
|
|
||||||
if($r1 && $r2)
|
if($r1 && $r2)
|
||||||
return UPDATE_SUCCESS;
|
return UPDATE_SUCCESS;
|
||||||
|
Reference in New Issue
Block a user