From 1aad57ba55c0f9a5fc4f2e8550d896758f2532e8 Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Sun, 26 Apr 2020 20:28:23 +0200 Subject: [PATCH] Fix the syntax differences between HSQL and Postgres --- .../main/resources/db/migration/V2019_09_26_7__employees.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webgoat-lessons/sql-injection/src/main/resources/db/migration/V2019_09_26_7__employees.sql b/webgoat-lessons/sql-injection/src/main/resources/db/migration/V2019_09_26_7__employees.sql index 089d00b03..83337029a 100644 --- a/webgoat-lessons/sql-injection/src/main/resources/db/migration/V2019_09_26_7__employees.sql +++ b/webgoat-lessons/sql-injection/src/main/resources/db/migration/V2019_09_26_7__employees.sql @@ -14,7 +14,7 @@ INSERT INTO employees VALUES ('34477','Abraham ', 'Holman', 'Development', 5000 INSERT INTO employees VALUES ('37648','John', 'Smith', 'Marketing', 64350, '3SL99A'); CREATE TABLE access_log ( - id int not null primary key, + id int generated always as identity not null primary key, time varchar(50), action varchar(200) );