linktypes


Description

The link type determines which database table and column are used to construct the final
link. The ”placeholder” in the link (from the links table) will be replaced by the value of the
”target column” in the ”target table”

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT 10 null
links.linktype_id links_ibfk_1C

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

description VARCHAR 255 null

A description of the link .

target_table VARCHAR 255 null

This is the table that the link links to.

target_column VARCHAR 255 null

This is the column that is used to generate the link.

placeholder VARCHAR 255 null

The part of the link that will be replaced by the value of the target column.

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
linktypes_id Performance Asc id
linktypes_target_table Performance Asc/Asc target_table + target_column

Relationships