news


Description

Holds news items that are displayed within Germinate.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT 10 null

Primary id for this table. This uniquely identifies the row.

newstype_id INT 10 null
newstypes.id news_ibfk_1C

Foreign key newstypes (newstypes.id).

title VARCHAR 255 null

A title which is used to name this news item. This appears in the Germinate user interface if used.

content MEDIUMTEXT 16777215 null

The textual content of this news item.

image VARCHAR 255 null

Image to use with this news item.

hyperlink VARCHAR 255 null

HTML hyperlink to use for this news item. This can be a link to another source which contains more information or a link to the original source.

user_id INT 10 null

Foreign key users (users.id).

created_on DATETIME 26 CURRENT_TIMESTAMP

When the record was created.

updated_on TIMESTAMP 26 CURRENT_TIMESTAMP

When the record was updated. This may be different from the created on date if subsequent changes have been made to the underlying record.

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
news_type_id Performance Asc newstype_id
news_updated_on Performance Asc updated_on
news_user_id Performance Asc user_id

Relationships