Skip to content

Commit

Permalink
[*] Changed the createBill method to create the value with type decim…
Browse files Browse the repository at this point in the history
…al(16, 2)
  • Loading branch information
Lei-Tin authored and ScottCTD committed Nov 6, 2022
1 parent d34ed05 commit b0ffe75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/billgates/database/MySQLDatabaseGateway.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void createBill(int billId) {
"(\n" +
" entry_id int auto_increment\n" +
" primary key,\n" +
" value double not null,\n" +
" value decimal(16, 2) not null,\n" +
" date timestamp not null,\n" +
" currency varchar(5) null,\n" +
" description text null,\n" +
Expand Down

0 comments on commit b0ffe75

Please sign in to comment.