diff options
author | Yorhel <git@yorhel.nl> | 2011-02-16 19:24:13 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-02-16 19:24:13 +0100 |
commit | 49a2516e6b076667e163aaff2ae2e94ed52fa083 (patch) | |
tree | 46d864db6670f8304353027ad2ea6eec36cff23a /util/sql | |
parent | cd7b3f34173dfeceec03691957c95f4d4ab9cf47 (diff) |
chardb: Added image to character entries
Diffstat (limited to 'util/sql')
-rw-r--r-- | util/sql/func.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util/sql/func.sql b/util/sql/func.sql index 23ae0fb2..2b204902 100644 --- a/util/sql/func.sql +++ b/util/sql/func.sql @@ -560,6 +560,13 @@ $$ LANGUAGE plpgsql; +-- Send a notify when a new character image is uploaded +CREATE OR REPLACE FUNCTION chars_rev_image_notify() RETURNS trigger AS $$ + BEGIN NOTIFY charimage; RETURN NULL; END; +$$ LANGUAGE plpgsql; + + + -- Send a notify when a screenshot needs to be processed CREATE OR REPLACE FUNCTION screenshot_process_notify() RETURNS trigger AS $$ BEGIN NOTIFY screenshot; RETURN NULL; END; |