Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | gen_random_uuid() |
|
|
||||||
| CompanyId | uuid | 2147483647 | √ | null |
|
|
|||||
| exporterId | uuid | 2147483647 | √ | null |
|
|
|||||
| jobStatus | enum_JobCSVExportRequests_jobStatus | 2147483647 | null |
|
|
||||||
| reportingWindowDays | int4 | 10 | null |
|
|
||||||
| status | enum_JobCSVExportRequests_status | 2147483647 | 'PENDING'::"enum_JobCSVExportRequests_status" |
|
|
||||||
| fileKey | text | 2147483647 | √ | null |
|
|
|||||
| rowCount | int4 | 10 | 0 |
|
|
||||||
| errorCode | text | 2147483647 | √ | null |
|
|
|||||
| createdAt | timestamptz | 35,6 | now() |
|
|
||||||
| updatedAt | timestamptz | 35,6 | now() |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| JobCSVExportRequests_pkey | Primary key | Asc | id |
| JobCSVExportRequests_exporterId_CompanyId_idx | Performance | Asc/Asc | exporterId + CompanyId |
| JobCSVExportRequests_fileKey_key | Must be unique | Asc | fileKey |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| JobCSVExportRequests_reportingWindowDays_check | ((("reportingWindowDays" >= 1) AND ("reportingWindowDays" <= 90))) |

