Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| rec_resource_id | varchar | 20 | null |
|
|
Identifier for the recreational resource associated with the advisory. |
|||||
| advisory_number | int4 | 10 | null |
|
|
Unique number assigned to each advisory for a given resource. |
|||||
| title | varchar | 255 | null |
|
|
Title of the advisory, summarizing the issue or situation being reported. |
|||||
| description | text | 2147483647 | √ | null |
|
|
Detailed description of the advisory, providing more context about the issue, its impact, and any relevant information for users. |
||||
| submitted_by | varchar | 120 | null |
|
|
Name of the individual who submitted the advisory, providing accountability and a point of contact for further information. |
|||||
| access_status_name | varchar | 100 | null |
|
|
Name of the access status associated with the advisory, indicating the current level of access to the resource (e.g. Open, Closed, Restricted). |
|||||
| access_status_grouplabel | varchar | 50 | null |
|
|
Group label for the access status, categorizing the status into broader groups (e.g. Open, Closed, Restricted). |
|||||
| access_status_description | text | 2147483647 | √ | null |
|
|
Detailed description of the access status, providing more information about what the status means for users and any specific conditions or restrictions that apply. |
||||
| event_type | varchar | 100 | null |
|
|
Type of event that triggered the advisory, such as a natural disaster, maintenance work, or safety concern. |
|||||
| urgency | varchar | 25 | null |
|
|
Level of urgency associated with the advisory, indicating how quickly users should respond to the information (e.g. Low, Medium, High). |
|||||
| advisory_status | varchar | 100 | null |
|
|
Current status of the advisory, such as Active, Resolved, or Expired. |
|||||
| is_reservations_affected | bool | 1 | √ | null |
|
|
Indicates whether the advisory affects reservations for the resource, providing important information for users planning to visit. |
||||
| is_advisory_date_displayed | bool | 1 | null |
|
|
Indicates whether the advisory date should be displayed to users, allowing for flexibility in how information is presented. |
|||||
| is_effective_date_displayed | bool | 1 | null |
|
|
Indicates whether the effective date of the advisory should be displayed to users, providing context about when the advisory takes effect. |
|||||
| is_end_date_displayed | bool | 1 | null |
|
|
Indicates whether the end date of the advisory should be displayed to users, providing information about when the advisory is expected to be resolved. |
|||||
| is_updated_date_displayed | bool | 1 | √ | null |
|
|
Indicates whether the updated date of the advisory should be displayed to users, allowing for transparency about when information was last modified. |
||||
| advisory_date | timestamptz | 35,6 | null |
|
|
Date when the advisory was created or submitted, providing a timeline for the advisory. |
|||||
| effective_date | timestamptz | 35,6 | null |
|
|
Date when the advisory takes effect, indicating when users should start following the advisory information. |
|||||
| end_date | timestamptz | 35,6 | √ | null |
|
|
Date when the advisory is expected to end or be resolved, providing users with an expectation for how long the advisory will be in place. |
||||
| expiry_date | timestamptz | 35,6 | √ | null |
|
|
Date when the advisory expires and is no longer relevant, allowing for automatic cleanup of outdated advisories. |
||||
| updated_date | timestamptz | 35,6 | √ | null |
|
|
Date when the advisory was last updated, allowing users to see how current the information is. |
||||
| published_at | timestamptz | 35,6 | √ | null |
|
|
Date when the advisory was published and made visible to users, indicating when the information became available for public consumption. |
||||
| sys_period | tstzrange | 2147483647 | tstzrange(CURRENT_TIMESTAMP, NULL::timestamp with time zone) |
|
|
||||||
| listing_rank | int4 | 10 | 0 |
|
|
Rank for ordering advisories in listings, calculated based on urgency, access status, and event type to ensure the most critical advisories are displayed prominently. |
|||||
| urgency_sequence | int4 | 10 | 0 |
|
|
Sequence number for the urgency level associated with the advisory. |
|||||
| access_status_precedence | int4 | 10 | 0 |
|
|
Precedence level for the access status associated with the advisory. |
|||||
| event_type_precedence | int4 | 10 | 0 |
|
|
Precedence level for the event type associated with the advisory. |
|||||
| updated_at | timestamp | 29,6 | √ | now() |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| act_advisories_flat_pkey | Primary key | Asc/Asc | rec_resource_id + advisory_number |



