Difference between revisions of "Database Schema"

From MythTV Official Wiki
Jump to: navigation, search
(corrected smartplaylist table names/links)
(Fixed outdated Doxygen link)
Line 17: Line 17:
 
Information about tables within the mythconverg [[database]] at schema 1123, MythTV 0.19 (Currently being updated to the 0.20 schema)
 
Information about tables within the mythconverg [[database]] at schema 1123, MythTV 0.19 (Currently being updated to the 0.20 schema)
  
Note: The schema is also documented in the doxygen [http://www.cuymedia.net/doxygen-dev-docs/html/group__db__schema.html developer documentation].
+
Note: The schema is also documented in the doxygen [http://www.cuymedia.net/mythtv-trunk/group__db__schema.html developer documentation].
  
 
Please place new table articles in [[:Category:DB Table]].
 
Please place new table articles in [[:Category:DB Table]].

Revision as of 20:52, 14 November 2007

Structure

Use the following SQL to list all of the tables in the mythconverg database:

SHOW tables

To list the structure of an individual table:

DESCRIBE name_of_table

To generate the SQL necessary to recreate a table:

SHOW CREATE TABLE name_of_table

Tables

Information about tables within the mythconverg database at schema 1123, MythTV 0.19 (Currently being updated to the 0.20 schema)

Note: The schema is also documented in the doxygen developer documentation.

Please place new table articles in Category:DB Table.