Changes between Version 13 and Version 14 of WikiStart/DB


Ignore:
Timestamp:
08/24/25 21:23:00 (21 hours ago)
Author:
203206
Comment:

korekcii vo dokumentacija

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart/DB

    v13 v14  
    44* '''transaction''' (id, amount, type, timestamp, account_id*)
    55* '''transfer''' (id, s_id*, r_id*)
    6 * '''withdraw''' (id, a_id*, amount, timestamp)
    7 * '''deposit''' (id, a_id*, amount, timestamp)
     6* '''withdraw''' (id, a_id*, withdraw_amount, withdraw_timestamp)
     7* '''deposit''' (id, a_id*, deposit_amount, deposit_timestamp)
    88* '''transferred_money''' (id, s_id*, r_id*, t_id*, currency)
    99
     
    4141    id serial primary key,
    4242    account_id int not null,
    43     amount decimal(15,2) not null,
    44     timestamp timestamp default current_timestamp,
     43    deposit_amount decimal(15,2) not null,
     44    deposit_timestamp timestamp default current_timestamp,
    4545    foreign key(account_id) references account(id)
    4646);
     
    4949    id serial primary key,
    5050    account_id int not null,
    51     amount decimal(15,2) not null,
    52     timestamp timestamp default current_timestamp,
     51    withdraw_amount decimal(15,2) not null,
     52    withdraw_timestamp timestamp default current_timestamp,
    5353    foreign key(account_id) references account(id)
    5454);