Added the indexing of the issues in the migration script.

This commit is contained in:
Loic d'Anterroches 2008-08-13 18:30:49 +02:00
parent a1e10bd169
commit 643650a6a7

View File

@ -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)