Reverting test sql changes.

This commit is contained in:
mike12345567 2023-04-05 17:50:14 +01:00
parent 373952a59b
commit 01be92c9db
1 changed files with 2 additions and 3 deletions

View File

@ -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');