Added the indexing of the issues in the migration script.
This commit is contained in:
parent
a1e10bd169
commit
643650a6a7
@ -36,6 +36,9 @@ function IDF_Migrations_2Search_up($params=null)
|
|||||||
$schema->model = new $model();
|
$schema->model = new $model();
|
||||||
$schema->createTables();
|
$schema->createTables();
|
||||||
}
|
}
|
||||||
|
foreach (Pluf::factory('IDF_Issue')->getList() as $i) {
|
||||||
|
IDF_Search::index($i);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function IDF_Migrations_2Search_down($params=null)
|
function IDF_Migrations_2Search_down($params=null)
|
||||||
|
Loading…
Reference in New Issue
Block a user