Updated schema to replace double type with decimal

one more fix
This commit is contained in:
Glenn Renfro
2019-04-23 11:38:45 -04:00
parent 6d46829ed6
commit 5f2bfc9a1c
2 changed files with 2 additions and 2 deletions

View File

@@ -5,5 +5,5 @@ CREATE TABLE IF NOT EXISTS BILL_STATEMENTS
last_name varchar(50),
minutes int,
data_usage int,
bill_amount double
bill_amount decimal(10,2)
);

View File

@@ -38,7 +38,7 @@ public class TaskConfiguration {
JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSource);
jdbcTemplate.execute("CREATE TABLE IF NOT EXISTS BILL_STATEMENTS ( id int, " +
"first_name varchar(50), last_name varchar(50), minutes int, " +
"data_usage int, bill_amount double)");
"data_usage int, bill_amount decimal(10,2))");
};
}
}