Changes between Version 14 and Version 15 of WikiStart/DB
- Timestamp:
- 08/24/25 21:31:53 (20 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart/DB
v14 v15 40 40 create table deposit( 41 41 id serial primary key, 42 a ccount_id int not null,42 a_id int not null, 43 43 deposit_amount decimal(15,2) not null, 44 44 deposit_timestamp timestamp default current_timestamp, 45 foreign key(a ccount_id) references account(id)45 foreign key(a_id) references account(id) 46 46 ); 47 47 48 48 create table withdraw( 49 49 id serial primary key, 50 a ccount_id int not null,50 a_id int not null, 51 51 withdraw_amount decimal(15,2) not null, 52 52 withdraw_timestamp timestamp default current_timestamp, 53 foreign key(a ccount_id) references account(id)53 foreign key(a_id) references account(id) 54 54 ); 55 55