Edgewall Software

Trac Database Schema: Wiki System

Trac's wiki system stores the pages (including old versions) in just a single database table.

Table wiki

TableKey
wikiname, version
ColumnsTypeNotes
name
versionint
timeint64
author
ipnr Removed in Trac 1.3.1 (see #9612)
text
comment
readonlyint
Indexes
time

Stores the wiki pages (current and old versions).

Use the trac.wiki.model.WikiPage model class instead of accessing this table directly.

See trac.wiki.model.WikiPage, TracDev/DataModels#WikiPage

Last modified 17 months ago Last modified on Feb 9, 2017, 11:17:47 PM
Note: See TracWiki for help on using the wiki.