From 01be92c9db0b754c7b3d4f010d0127c01255efc2 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 5 Apr 2023 17:50:14 +0100 Subject: [PATCH] Reverting test sql changes. --- packages/server/scripts/integrations/postgres/init.sql | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/server/scripts/integrations/postgres/init.sql b/packages/server/scripts/integrations/postgres/init.sql index 19a6446ad2..78af4c20b9 100644 --- a/packages/server/scripts/integrations/postgres/init.sql +++ b/packages/server/scripts/integrations/postgres/init.sql @@ -7,7 +7,6 @@ CREATE TABLE Persons ( LastName varchar(255), FirstName varchar(255), Address varchar(255), - Age INT NOT NULL, City varchar(255) DEFAULT 'Belfast', Type person_job ); @@ -43,8 +42,8 @@ CREATE TABLE test.table1 ( id SERIAL PRIMARY KEY, Name varchar(255) ); -INSERT INTO Persons (FirstName, LastName, Address, City, Type, Age) VALUES ('Mike', 'Hughes', '123 Fake Street', 'Belfast', 'qa', 20); -INSERT INTO Persons (FirstName, LastName, Address, City, Type, Age) VALUES ('John', 'Smith', '64 Updown Road', 'Dublin', 'programmer', 30); +INSERT INTO Persons (FirstName, LastName, Address, City, Type) VALUES ('Mike', 'Hughes', '123 Fake Street', 'Belfast', 'qa'); +INSERT INTO Persons (FirstName, LastName, Address, City, Type) VALUES ('John', 'Smith', '64 Updown Road', 'Dublin', 'programmer'); INSERT INTO Tasks (ExecutorID, QaID, TaskName, Completed) VALUES (1, 2, 'assembling', TRUE); INSERT INTO Tasks (ExecutorID, QaID, TaskName, Completed) VALUES (2, 1, 'processing', FALSE); INSERT INTO Products (ProductName) VALUES ('Computers');