SET @gameuuid = UUID();

-- game
INSERT INTO game (title, uuid) VALUES ('bcns test game', @gameuuid);

-- rating
INSERT INTO rating (gameId, ratingOrganId, rating) VALUES (1,1,"18+");

-- additionalFile
INSERT INTO additionalFile (gameId, name, typeId, location, filename) VALUES (1, 'test file', 1, '/srv/bcnsgdstestdata/', 'testfile.txt');

-- artwork
INSERT INTO artwork (gameId, type, location, filename) VALUES (1, 'front', '/srv/bcnsgdstestdata/', 'frontartwork.jpg');

-- cdkey
INSERT INTO cdkey (gameId, cdkey) VALUES (1, 'asd-123-qwe-456');

-- collaborator
INSERT INTO collaborator (name, description) VALUES ('testcollaborator', 'the test user');

-- company
INSERT INTO company (name) VALUES ('testcompany GmbH');

-- gameCollaborator
INSERT INTO gameCollaborator (collaboratorId, gameId) VALUES (1, 1);

-- gameCompany
INSERT INTO gameCompany (gameId, companyId, relationId) VALUES (1, 1, 1);
INSERT INTO gameCompany (gameId, companyId, relationId) VALUES (1, 1, 2);

-- gameGenre
INSERT INTO gameGenre (gameId, genreId) VALUES (1, 1);

-- gamePlayerMode
INSERT INTO gamePlayerMode (gameId, playerModeId) VALUES (1, 1);

--medium
INSERT INTO medium (gameId, type, location, filename) VALUES (1, 1, '/srv/bcnsgdstestdata/', 'testimage.iso');
