exchange_rate

0 rows


Description

Currency exchange rate

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id int4 10 √ null
currency bpchar 3 √ null

Currency code

rate_type bpchar 1 √ 'N'::bpchar

N = Bank Note, T = Travel Cheque

start_date date 13 √ null
end_date date 13 √ null
description text 2147483647 √ null
rate t_money 15,2 √ null
unit int4 10 √ 1
update_time timestamptz 35,6 √ CURRENT_TIMESTAMP

Indexes

Constraint Name Type Sort Column(s)
exchange_rate_pkey Primary key Asc id
exchange_rate_currency_ratetype_date_unq Must be unique Asc/Asc/Asc currency + rate_type + start_date

Relationships