Ferreteria/sql/event done

From Woozle Writes Code
< Ferreteria‎ | sql
Revision as of 22:48, 6 February 2017 by htyp>Woozle
Jump to navigation Jump to search

About

  • Purpose: dependent table for logging event completion
  • Depends on: event

History

SQL

<mysql>CREATE TABLE `event_log` (

   ID_Event        INT NOT NULL COMMENT "event.ID of parent event",
   WhenFinish DATETIME NOT NULL COMMENT "when the event completed",
   Condition  INT  DEFAULT NULL COMMENT "condition code defined by application (success, error, etc.)",
   Descrip    TEXT DEFAULT NULL COMMENT "description of completion",
 PRIMARY KEY (`ID_Event`)

) ENGINE = InnoDB;</mysql>