Edgewall Software

Version 1 (modified by Peter Suter, 12 years ago) ( diff )

Trac Database Schema: Attachments

Trac's attachment module uses just a single database table.

Table attachment

TableKey
attachmenttype, id, filename
ColumnsType
type
id
filename
sizeint
timeint64
description
author
ipnr

Stores metadata describing the attachments of e.g. Wiki pages or tickets. The actual file contents are stored on disk, not in the DB.

Use the trac.attachment.Attachment model class to access this table.

See trac.attachment.Attachment

Note: See TracWiki for help on using the wiki.