app.supplier_diversity_shares
TablaSeguridad a nivel de fila activa
An owner sharing one supplier diversity certification with one org that runs a supplier diversity program, under a supplier_diversity consent record for that org (Section 4.4.1: separate consent). Written only through app.share_supplier_diversity and app.revoke_supplier_diversity_share; the org reads the certification only through app.shared_supplier_diversity.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Org the certification is shared with.Hace referencia a app.organizations.id |
| supplier_diversity_certification_id | uuid | No | Certification shared.Hace referencia a app.supplier_diversity_certifications.id |
| consent_record_id | uuid | No | The supplier_diversity consent the owner gave the org.Hace referencia a app.consent_records.id |
| shared_at | timestamp with time zone | No | When it was shared. |
| revoked_at | timestamp with time zone | Sí | When the owner revoked the share. |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| 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 |