forked from CactuseSecurity/firewall-orchestrator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
68e0f58
commit 7ac2b8e
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
DO $do$ BEGIN | ||
IF EXISTS (SELECT color_name FROM stm_color WHERE color_name='crete blue') THEN | ||
INSERT INTO stm_color (color_name, color_rgb) VALUES ('crete blue', '485cd4') | ||
IF NOT EXISTS (SELECT color_name FROM stm_color WHERE color_name='crete blue') THEN | ||
INSERT INTO stm_color (color_name, color_rgb) VALUES ('crete blue', '485cd4'); | ||
END IF; | ||
IF EXISTS (SELECT color_name FROM stm_color WHERE color_name='state blue') THEN | ||
INSERT INTO stm_color (color_name, color_rgb) VALUES ('state blue', 'a186ed') | ||
IF NOT EXISTS (SELECT color_name FROM stm_color WHERE color_name='state blue') THEN | ||
INSERT INTO stm_color (color_name, color_rgb) VALUES ('state blue', 'a186ed'); | ||
END IF; | ||
IF EXISTS (SELECT color_name FROM stm_color WHERE color_name='olive') THEN | ||
INSERT INTO stm_color (color_name, color_rgb) VALUES ('olive', '617d28') | ||
IF NOT EXISTS (SELECT color_name FROM stm_color WHERE color_name='olive') THEN | ||
INSERT INTO stm_color (color_name, color_rgb) VALUES ('olive', '617d28'); | ||
END IF; | ||
IF EXISTS (SELECT color_name FROM stm_color WHERE color_name='dark gold') THEN | ||
INSERT INTO stm_color (color_name, color_rgb) VALUES ('dark gold', 'cdad00') | ||
IF NOT EXISTS (SELECT color_name FROM stm_color WHERE color_name='dark gold') THEN | ||
INSERT INTO stm_color (color_name, color_rgb) VALUES ('dark gold', 'cdad00'); | ||
END IF; | ||
END $do$; | ||
END $do$; |