Skip to content

Commit e0495c1

Browse files
committed
Add departments table to database
1 parent 2433cb5 commit e0495c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inventoryDB.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CREATE TABLE departments
2222
(
2323
department_id INTEGER(2) NOT NULL AUTO_INCREMENT,
2424
department_name VARCHAR(50) NOT NULL,
25-
over_head_costs DECIMAL(10,0) NOT NULL,
25+
over_head_costs DECIMAL(10,2) NOT NULL,
2626
PRIMARY KEY(department_id)
2727
);
2828
ALTER TABLE departments AUTO_INCREMENT = 01;

0 commit comments

Comments
 (0)