aboutsummaryrefslogtreecommitdiffstats
path: root/sql/dawn.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/dawn.sql')
-rw-r--r--sql/dawn.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/dawn.sql b/sql/dawn.sql
index 77e0e819..76757f1a 100644
--- a/sql/dawn.sql
+++ b/sql/dawn.sql
@@ -382,8 +382,8 @@ $$ LANGUAGE plpgsql;
CREATE OR REPLACE function days_accrued(p_date date)
RETURNS integer AS $$
-from dates import days_accrued
-return days_accrued(p_date)
+FROM dates import days_accrued
+RETURN days_accrued(p_date)
$$ LANGUAGE plpython2u;
CREATE MATERIALIZED VIEW factors_history AS