Skip to content

app.warehouse_destinations

TableRow level security on

A customer's own bucket that receives the org's nightly warehouse files (Section 4.6.4, Enterprise). The bucket credential lives in Supabase Vault and is never shown again.

Primary key: id

Columns of app.warehouse_destinations
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
providerapp.warehouse_providerNoS3 (or S3-compatible), Google Cloud Storage, Azure Blob, BigQuery or Snowflake.References private.warehouse_providers.provider
display_nametextNoName the org knows the destination by.
bucket_nametextNoBucket or container the files go to.
regiontextYesBucket region, for example us-east-1.
endpoint_urltextYesHTTPS endpoint of an S3-compatible service other than AWS; NULL for AWS S3. Private and internal hosts are refused.
path_prefixtextNoFolder inside the bucket; each delivery writes <prefix>/<date>/<delivery id>/.
file_formatapp.warehouse_file_formatNoParquet or CSV.
include_confidentialbooleanNoWhether Confidential columns are delivered; only a holder of data.export.confidential turns it on. Restricted columns are never delivered.
delivery_hoursmallintNoHour of the nightly delivery on the org's calendar (its locale.time_zone setting, UTC when unset).
destination_stateapp.warehouse_destination_stateNoActive or Paused.
next_delivery_attimestamp with time zoneYesWhen the next nightly delivery is queued.
credential_stored_attimestamp with time zoneYesWhen the bucket credential was stored in Vault, or NULL.
last_delivered_attimestamp with time zoneYesWhen the last delivery finished.
last_error_codetextYesRule code of the last failed delivery.
last_error_messagetextYesMessage of the last failed delivery.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.