Skip to content

Commit

Permalink
after 3-nd code review:
Browse files Browse the repository at this point in the history
 - refactored 'init_db.sql': set DECIMAL in column 'price'
  • Loading branch information
dsumaroka committed Jul 5, 2024
1 parent 764dec5 commit 4f4f1f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/init_db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ USE book;
CREATE TABLE `books` (
`id` BIGINT AUTO_INCREMENT,
`title` VARCHAR(255),
`price` BIGINT,
`price` DECIMAL,
PRIMARY KEY(`id`)
);

0 comments on commit 4f4f1f4

Please sign in to comment.