# tool_policy

0 rows

### Description

Contains the list of policy documents defined on the site.

### Columns

Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments
--- | --- | --- | --- | --- | --- | --- | --- | ---
id | BIGINT | 19 |  | √ | null |
tool_policy_versions.policyid | toolpolivers_pol2_fkR
sortorder | MEDIUMINT | 7 |  |  | 999 |  |  | Defines the order in which policies should be presented to users
currentversionid | BIGINT | 19 | √ |  | null |  |
tool_policy_versions.id | toolpoli_cur2_fkR
| ID of the current policy version that applies on the site, NULL if the policy does not apply

### Indexes

Constraint Name | Type | Sort | Column(s)
--- | --- | --- | ---
PRIMARY | Primary key | Asc | id
toolpoli_cur_ix | Performance | Asc | currentversionid

### Relationships