Skip to content
Snippets Groups Projects
Commit a8b12386 authored by Mariusz Trela's avatar Mariusz Trela
Browse files

Small fix

parent a825c004
No related branches found
No related tags found
4 merge requests!456Release candidate v1 24,!230Setup monitoring with pghero,!135Enable postgres monitoring on CI server,!86Post are removed correctly
...@@ -1022,7 +1022,7 @@ def setup(db): ...@@ -1022,7 +1022,7 @@ def setup(db):
# hot and tranding functions # hot and tranding functions
sql = """ sql = """
DROP FUNCTION IF EXISTS date_diff CASCADE DROP FUNCTION IF EXISTS date_diff() CASCADE
; ;
CREATE OR REPLACE FUNCTION date_diff (units VARCHAR(30), start_t TIMESTAMP, end_t TIMESTAMP) CREATE OR REPLACE FUNCTION date_diff (units VARCHAR(30), start_t TIMESTAMP, end_t TIMESTAMP)
RETURNS INT AS $$ RETURNS INT AS $$
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment