diff --git a/backend/src/main/resources/db/data-migration/V2_2_99__changeTeammanagement.sql b/backend/src/main/resources/db/data-migration/V3_0_99__changeTeammanagementData.sql similarity index 88% rename from backend/src/main/resources/db/data-migration/V2_2_99__changeTeammanagement.sql rename to backend/src/main/resources/db/data-migration/V3_0_99__changeTeammanagementData.sql index 3f50bb4bd6..730d73a07c 100644 --- a/backend/src/main/resources/db/data-migration/V2_2_99__changeTeammanagement.sql +++ b/backend/src/main/resources/db/data-migration/V3_0_99__changeTeammanagementData.sql @@ -1,7 +1,8 @@ -- add gl@gl.com as a user. we set it as champion in dev application properties +/* INSERT INTO person (id, email, firstname, lastname, version, is_okr_champion) VALUES (61, 'gl@gl.com', 'Jaya', 'Norris', 1, FALSE); - +*/ -- map existing users to teams INSERT INTO person_team (id, version, person_id, team_id, is_team_admin) -- peggimann@puzzle.ch @@ -16,9 +17,10 @@ VALUES (1, 1, 1, 4, TRUE), -- egiman@puzzlech (6, 1, 41, 4, FALSE), -- papierer@puzzle.ch - (7, 1, 51, 6, TRUE), + (7, 1, 51, 6, TRUE) -- gl@gl.ch - (8, 1, 61, 5, TRUE), - (9, 1, 61, 6, FALSE); + -- (8, 1, 61, 5, TRUE), + -- (9, 1, 61, 6, FALSE) +; ALTER SEQUENCE sequence_person_team RESTART WITH 1000; \ No newline at end of file diff --git a/backend/src/main/resources/db/migration/V2_2_0__changeTeammanagement.sql b/backend/src/main/resources/db/migration/V3_0_0__changeTeammanagement.sql similarity index 100% rename from backend/src/main/resources/db/migration/V2_2_0__changeTeammanagement.sql rename to backend/src/main/resources/db/migration/V3_0_0__changeTeammanagement.sql