[Fusionforge-commits] r9293 - in trunk/gforge: db deb-specific

Christian Bayle cbayle at libremir.placard.fr.eu.org
Tue Mar 30 10:19:15 CEST 2010


Author: cbayle
Date: 2010-03-30 10:19:15 +0200 (Tue, 30 Mar 2010)
New Revision: 9293

Added:
   trunk/gforge/db/20100330-add-system-event.sql
Modified:
   trunk/gforge/deb-specific/db-upgrade.pl
Log:
Add system event table


Added: trunk/gforge/db/20100330-add-system-event.sql
===================================================================
--- trunk/gforge/db/20100330-add-system-event.sql	                        (rev 0)
+++ trunk/gforge/db/20100330-add-system-event.sql	2010-03-30 08:19:15 UTC (rev 9293)
@@ -0,0 +1,20 @@
+CREATE SEQUENCE system_event_pk_seq
+    START WITH 1
+    INCREMENT BY 1
+    MAXVALUE 2147483647
+    NO MINVALUE
+    CACHE 1;
+
+
+
+CREATE TABLE system_event (
+    id integer DEFAULT nextval('system_event_pk_seq'::text) NOT NULL,
+    type character varying(16),
+    parameters text,
+    priority integer DEFAULT 0 NOT NULL,
+    status integer DEFAULT 1 NOT NULL,
+    log text,
+    create_date integer DEFAULT 0,
+    process_date integer DEFAULT 0,
+    end_date integer DEFAULT 0,
+);

Modified: trunk/gforge/deb-specific/db-upgrade.pl
===================================================================
--- trunk/gforge/deb-specific/db-upgrade.pl	2010-03-30 07:52:05 UTC (rev 9292)
+++ trunk/gforge/deb-specific/db-upgrade.pl	2010-03-30 08:19:15 UTC (rev 9293)
@@ -2905,6 +2905,8 @@
 
     &update_with_sql("20100308-forum-attachment-types","4.8.99-6");
 
+    &update_with_sql("20100330-add-system-event","5.0.0-1");
+
     ########################### INSERT HERE #################################
 
     &debug ("It seems your database $action went well and smoothly. That's cool.") ;




More information about the Fusionforge-commits mailing list