This commit is contained in:
zotlabs 2016-10-12 20:41:59 -07:00
parent facc6ee6b3
commit e314510005
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
<?php
namespace Zotlabs\Module;
require_once('include/socgraph.php');

View File

@ -2448,7 +2448,7 @@ function update_r1182() {
function update_r1183() {
$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)
return UPDATE_SUCCESS;