TheDocumentation Index
Fetch the complete documentation index at: https://docs.wellapp.ai/llms.txt
Use this file to discover all available pages before exploring further.
CompanyWorkspace entity represents the relationship between a company and a workspace in the Well system. It serves as a Many-to-Many linking table and enables sharing companies between different workspaces.
Table structure
Table name:company_workspaces
Main fields
| Name | Type | Required | Constraints | Allowed Values | Description | Example |
|---|---|---|---|---|---|---|
id | string, UUID, π system | β Yes | Unique identifier (read-only) | β | Unique identifier of the company-workspace relationship | βcompany-workspace-uuid-123β |
company | Company (UUID) | β Yes | Foreign key reference | β | Reference to the company | βcompany-uuid-456β |
workspace | Workspace (UUID) | β Yes | Foreign key reference | β | Reference to the workspace | βworkspace-uuid-789β |
created_at | string (ISO 8601) π system | β | auto timestamp | β | Creation timestamp | β2023-01-01T12:00:00Zβ |
updated_at | string (ISO 8601) π system | β | auto timestamp | β | Last updated timestamp | β2024-01-01T12:00:00Zβ |
| string | null π system | βͺ No | nullable ISO 8601 | β | Deletion timestamp (soft delete) | β2024-01-01T12:00:00Zβ |
Relations
Many-to-One relations
- Company: The company in the relationship
- Workspace: The workspace in the relationship