diff options
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/dawn.sql | 4 |
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 |
