app.supplier_diversity_shares
TableRow level security on
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.
Primary key: id
| Column | Type | Nullable | Description |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Org the certification is shared with.References app.organizations.id |
| supplier_diversity_certification_id | uuid | No | Certification shared.References app.supplier_diversity_certifications.id |
| consent_record_id | uuid | No | The supplier_diversity consent the owner gave the org.References app.consent_records.id |
| shared_at | timestamp with time zone | No | When it was shared. |
| revoked_at | timestamp with time zone | Yes | When the owner revoked the share. |
| deleted_at | timestamp with time zone | Yes | 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 | Yes | Person who inserted the row, or null for a platform process. Set by the database.References app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Yes | Person who last changed the row, or null for a platform process. Set by the database.References app.people.id |