Columns
| Column | Type | Children | Parents | Comments |
|---|---|---|---|---|
| id | int8 |
|
|
|
| membership_id | int8 |
|
|
|
| note | text |
|
|
|
| pinned_at | timestamp |
|
|
|
| created_at | timestamp |
|
|
|
| updated_at | timestamp |
|
|
|
| creator_id | int8 |
|
|
|
| created_as | varchar |
|
|
|
| note_type | varchar |
|
|
|
| title | text |
|
|
|
| bool |
|
|
||
| ticket_id | int8 |
|
|
|
| source_type | varchar |
|
|
|
| source_id | int8 |
|
|
|
| company_id | int8 |
|
|
The owning tenant’s ID. @example 1. |
| notebooks_category_id | int8 |
|
|
The foreign key of the category the note belongs to. @example 1 |
| pinned_at_in_company_tz | timestamp |
|
|
|
| created_at_in_company_tz | timestamp |
|
|
|
| updated_at_in_company_tz | timestamp |
|
|
|
| company_timezone | varchar |
|
|
The company timezone. E.g. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| edge_membership_notes_pkey | Primary key | Asc | id |
| idx_edge_membership_notes_company_id | Performance | Asc | company_id |
| idx_edge_membership_notes_creator_id | Performance | Asc | creator_id |
| idx_edge_membership_notes_membership_id | Performance | Asc | membership_id |
| idx_edge_membership_notes_notebooks_category_id | Performance | Asc | notebooks_category_id |
| idx_edge_membership_notes_source_id | Performance | Asc | source_id |
| idx_edge_membership_notes_ticket_id | Performance | Asc | ticket_id |