create table transfers ( transferid bigint not null, senderid text not null, amount numeric not null, ref_accountid_receiver bigint not null, ref_accountid_sender bigint not null, currency text not null ); comment on table transfers is ' Transfer is defined by the app specifically to manage users transactions (sending and receiving). '; comment on column transfers.transferid is ' Internal unique identifier for this account. '; comment on column transfers.senderid is ' The username registered in the application '; comment on column transfers.amount is ' The amount to be send. This field allows the process transactions. '; comment on column transfers.ref_accountid_receiver is ' The accountid to use to send money and referencing the receiver. '; comment on column transfers.ref_accountid_sender is ' The accountid to use to send money and referencing the sender. '; comment on column transfers.currency is ' The currency specific to a country. ';