Difference between revisions of "Credits table"

From MythTV Official Wiki
Jump to: navigation, search
m (table style)
Line 1: Line 1:
 
The '''credits''' table lists the ''personid'' and role (actor, director, producer, executive_producer, writer, guest_star, host, adapter, presenter, commentator, guest) of individuals associated with shows in the [[program table]]. ''personids'' can be resolved to names using the [[people table]].
 
The '''credits''' table lists the ''personid'' and role (actor, director, producer, executive_producer, writer, guest_star, host, adapter, presenter, commentator, guest) of individuals associated with shows in the [[program table]]. ''personids'' can be resolved to names using the [[people table]].
  
{| cellpadding="4"
+
== Table Description ==
|- bgcolor="#9999ff"
+
{| border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse; border-color:#8eabd0; background:#e7edf5"
! Field     !! Type                  !! Null !! Key !! Default            !! Extra
+
|- style="background: lightsteelblue"
|- bgcolor="#cccccc"
+
! Field name !! Type                  !! Null !! Key !! Default            !! Extras
| person   || mediumint(8) unsigned ||      || PRI || 0                  ||
+
|-
|- bgcolor="#cccccc"
+
| person     || mediumint(8) unsigned ||      || PRI || 0                  ||
| chanid   || int(10) unsigned      ||      || PRI || 0                  ||
+
|-
|- bgcolor="#cccccc"
+
| chanid     || int(10) unsigned      ||      || PRI || 0                  ||
| starttime || datetime              ||      || PRI || 0000-00-00 00:00:00 ||
+
|-
|- bgcolor="#cccccc"
+
| starttime   || datetime              ||      || PRI || 0000-00-00 00:00:00 ||
| role     || set('actor','director','producer','executive_producer','writer','guest_star','host','adapter','presenter','commentator','guest') ||    || PRI ||    ||
+
|-
 +
| role || set('actor','director','producer','executive_producer','writer','guest_star','host','adapter','presenter','commentator','guest') ||    || PRI ||    ||
 
|-
 
|-
 
|}
 
|}
  
 
[[Category:DB Table]]
 
[[Category:DB Table]]

Revision as of 04:42, 12 March 2007

The credits table lists the personid and role (actor, director, producer, executive_producer, writer, guest_star, host, adapter, presenter, commentator, guest) of individuals associated with shows in the program table. personids can be resolved to names using the people table.

Table Description

Field name Type Null Key Default Extras
person mediumint(8) unsigned PRI 0
chanid int(10) unsigned PRI 0
starttime datetime PRI 0000-00-00 00:00:00
role set('actor','director','producer','executive_producer','writer','guest_star','host','adapter','presenter','commentator','guest') PRI