Ferreteria/sql/event done: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
(Created page with "==About== * '''Purpose''': dependent table for logging event completion * '''Depends on''': {{l/same|event}} ==History== * '''2017-05-06''' Adapting the good bits from VbzCa...")
(No difference)

Revision as of 13:16, 6 February 2017

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>