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
804b041
commit d15ac39
Showing
1 changed file
with
14 additions
and
4 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,4 +1,14 @@ | ||
insert into stm_color (color_name, color_rgb) VALUES ('crete blue', '485cd4') ON CONFLICT DO NOTHING; | ||
insert into stm_color (color_name, color_rgb) VALUES ('state blue', 'a186ed') ON CONFLICT DO NOTHING; | ||
insert into stm_color (color_name, color_rgb) VALUES ('olive', '617d28') ON CONFLICT DO NOTHING; | ||
insert into stm_color (color_name, color_rgb) VALUES ('dark gold', 'cdad00') ON CONFLICT DO NOTHING; | ||
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') | ||
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') | ||
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') | ||
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') | ||
END IF; | ||
END $do$; |