Skip to content

Commit

Permalink
Auto incremement Comments.CommentNumber
Browse files Browse the repository at this point in the history
Fix for Issue jerryhoff#2
  • Loading branch information
raybeorn committed Mar 1, 2013
1 parent 74341a6 commit fc2573f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebGoat/DB_Scripts/create_webgoatcoins.sql
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ CREATE TABLE Products (
);

CREATE TABLE Comments(
commentNumber INTEGER NOT NULL,
commentNumber INTEGER NOT NULL AUTO_INCREMENT,
productCode VARCHAR(15) NOT NULL,
email VARCHAR(100) NOT NULL,
comment TEXT NOT NULL,
Expand Down

0 comments on commit fc2573f

Please sign in to comment.