Skip to content

app.fx_rates

TableRow level security on

Exchange rates an org converts with: one unit of base_currency buys rate units of quote_currency on effective_on.

Primary key: id

Columns of app.fx_rates
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
base_currencycharacter(3)NoISO 4217 currency converted from.References private.currencies.currency_code
quote_currencycharacter(3)NoISO 4217 currency converted to.References private.currencies.currency_code
ratenumericNoUnits of quote_currency per unit of base_currency.
effective_ondateNoDay the rate applies to.
sourcetextNoWhere the rate came from, for example the bank or feed.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
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