From 643650a6a714b746be1b3393d33db14bd7110842 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Wed, 13 Aug 2008 18:30:49 +0200 Subject: [PATCH] Added the indexing of the issues in the migration script. --- src/IDF/Migrations/2Search.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/IDF/Migrations/2Search.php b/src/IDF/Migrations/2Search.php index 1b39059..346f2b0 100644 --- a/src/IDF/Migrations/2Search.php +++ b/src/IDF/Migrations/2Search.php @@ -36,6 +36,9 @@ function IDF_Migrations_2Search_up($params=null) $schema->model = new $model(); $schema->createTables(); } + foreach (Pluf::factory('IDF_Issue')->getList() as $i) { + IDF_Search::index($i); + } } function IDF_Migrations_2Search_down($params=null)