Ferreteria/sql/event done

From Woozle Writes Code
< Ferreteria‎ | sql
Revision as of 13:16, 6 February 2017 by htyp>Woozle (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>