15 | | amount decimal(15, 2) not null, |
16 | | type varchar(50) not null, |
17 | | timestamp timestamp default current_timestamp, |
18 | | account_id int not null, |
19 | | foreign key (account_id) references account(id) |
| 15 | amount decimal(15, 2) not null, |
| 16 | type varchar(50) not null, |
| 17 | timestamp timestamp default current_timestamp, |
| 18 | account_id int not null, |
| 19 | foreign key (account_id) references account(id) |
34 | | account_id int not null, |
35 | | amount decimal(15,2) not null, |
36 | | timestamp timestamp default current_timestamp, |
37 | | foreign key(account_id) references account(id) |
| 34 | account_id int not null, |
| 35 | amount decimal(15,2) not null, |
| 36 | timestamp timestamp default current_timestamp, |
| 37 | foreign key(account_id) references account(id) |
42 | | account_id int not null, |
43 | | amount decimal(15,2) not null, |
44 | | timestamp timestamp default current_timestamp, |
45 | | foreign key(account_id) references account(id) |
| 42 | account_id int not null, |
| 43 | amount decimal(15,2) not null, |
| 44 | timestamp timestamp default current_timestamp, |
| 45 | foreign key(account_id) references account(id) |
49 | | id serial primary key, |
50 | | s_account_id int not null, |
51 | | r_account_id int not null, |
52 | | t_id int not null, |
53 | | currency varchar(50) not null, |
54 | | foreign key (s_account_id) references account(id), |
55 | | foreign key (r_account_id) references account(id), |
56 | | foreign key (t_id) references transaction(id) |
| 49 | id serial primary key, |
| 50 | s_account_id int not null, |
| 51 | r_account_id int not null, |
| 52 | t_id int not null, |
| 53 | currency varchar(50) not null, |
| 54 | foreign key (s_account_id) references account(id), |
| 55 | foreign key (r_account_id) references account(id), |
| 56 | foreign key (t_id) references transaction(id) |