Added the git cache in the installation.

This commit is contained in:
Loic d'Anterroches 2009-05-27 17:59:50 +02:00
parent a53c6a1778
commit 7d84da4d7c

View File

@ -46,6 +46,7 @@ function IDF_Migrations_Install_setup($params=null)
'IDF_Review_Patch', 'IDF_Review_Patch',
'IDF_Review_FileComment', 'IDF_Review_FileComment',
'IDF_Key', 'IDF_Key',
'IDF_Scm_Cache_Git',
); );
$db = Pluf::db(); $db = Pluf::db();
$schema = new Pluf_DB_Schema($db); $schema = new Pluf_DB_Schema($db);
@ -83,6 +84,7 @@ function IDF_Migrations_Install_teardown($params=null)
$perm = Pluf_Permission::getFromString('IDF.project-authorized-user'); $perm = Pluf_Permission::getFromString('IDF.project-authorized-user');
if ($perm) $perm->delete(); if ($perm) $perm->delete();
$models = array( $models = array(
'IDF_Scm_Cache_Git',
'IDF_Key', 'IDF_Key',
'IDF_Review_FileComment', 'IDF_Review_FileComment',
'IDF_Review_Patch', 'IDF_Review_Patch',