[Fusionforge-commits] r7299 - trunk/gforge/deb-specific

Julien HEYMAN jheyman at libremir.placard.fr.eu.org
Thu Apr 2 16:28:39 CEST 2009


Author: jheyman
Date: 2009-04-02 16:28:39 +0200 (Thu, 02 Apr 2009)
New Revision: 7299

Modified:
   trunk/gforge/deb-specific/db-upgrade.pl
Log:
Create table for project's tag

Modified: trunk/gforge/deb-specific/db-upgrade.pl
===================================================================
--- trunk/gforge/deb-specific/db-upgrade.pl	2009-04-02 14:28:35 UTC (rev 7298)
+++ trunk/gforge/deb-specific/db-upgrade.pl	2009-04-02 14:28:39 UTC (rev 7299)
@@ -2819,6 +2819,16 @@
       $dbh->commit () ;
     }
 
+    $version = &get_db_version ;
+    $target = "4.6.99-7" ;
+    if (&is_lesser ($version, $target)) {
+      &debug ("Create table for project's tags") ;
+      &update_with_sql("20090327_create_table_project_tags.sql","4.6.99-7");
+      &update_db_version ($target) ;
+      &debug ("Committing.") ;
+      $dbh->commit () ;
+    }
+
     ########################### INSERT HERE #################################
 
     &debug ("It seems your database $action went well and smoothly. That's cool.") ;




More information about the Fusionforge-commits mailing list