Skip to content

Commit

Permalink
Merge pull request #861 from amazeeio/hotfix-addOrUpdateEnvironment
Browse files Browse the repository at this point in the history
Fix environment variables not present in environments with non-unique names
  • Loading branch information
Schnitzel committed Jan 23, 2019
2 parents d195e3d + 9eb1bf8 commit 9baa9e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/api-db/docker-entrypoint-initdb.d/03-procedures.sql
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ CREATE OR REPLACE PROCEDURE
e.*
FROM environment e
WHERE e.name = name AND
deleted = '0000-00-00 00:00:00';
e.project = pid AND
e.deleted = '0000-00-00 00:00:00';
END;
$$

Expand Down

0 comments on commit 9baa9e6

Please sign in to comment.