app.import_job_sheets
TablaSeguridad a nivel de fila activa
Every sheet the worker found in an import's workbook (Section 4.6.2 step 2): its header row, data range and the target the worker proposes, so each sheet can be imported into its own target.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org, derived from app.import_jobs on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id |
| import_job_id | uuid | No | Import whose workbook holds the sheet.Hace referencia a app.import_jobs.id |
| sheet_name | text | No | Sheet name as the workbook spells it. |
| sheet_index | smallint | No | Zero-based position of the sheet in the workbook. |
| header_row | integer | Sí | One-based row of the headers, or NULL for an empty sheet. |
| first_data_row | integer | Sí | First row with data below the headers, or NULL when there is none. |
| last_row | integer | Sí | Last row with any text. |
| column_count | integer | No | Columns in the header row. |
| data_row_count | integer | No | Non-blank rows below the headers. |
| proposed_target_code | text | Sí | Target the worker proposes for the sheet, or NULL when none fits.Hace referencia a private.import_targets.code |
| proposed_from_playbook | boolean | No | True when the proposal came from the Playbook sheet of the same name; false when it came from the headers. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Sí | Person who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Sí | Person who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |