rebuild hunt so that path is in curlies

This commit is contained in:
Paul Trowbridge 2018-05-30 23:58:35 -04:00
parent ac3fccf84c
commit 7b543dce39
2 changed files with 9 additions and 8 deletions

View File

@ -8,32 +8,32 @@
"schemas": {
"default": [
{
"path": "Date",
"path": "{Date}",
"type": "date",
"column_name": "Date"
},
{
"path": "Reference Number",
"path": "{Reference Number}",
"type": "numeric",
"column_name": "Reference Number"
},
{
"path": "Payee Name",
"path": "{Payee Name}",
"type": "text",
"column_name": "Payee Name"
},
{
"path": "Memo",
"path": "{Memo}",
"type": "text",
"column_name": "Memo"
},
{
"path": "Amount",
"type": "text",
"path": "{Amount}",
"type": "numeric",
"column_name": "Amount"
},
{
"path": "Category Name",
"path": "{Category Name}",
"type": "text",
"column_name": "Cateogry Name"
}

View File

@ -1,3 +1,4 @@
DROP FUNCTION IF EXISTS tps.build_srce_view_sql(text, text);
CREATE OR REPLACE FUNCTION tps.build_srce_view_sql(_srce text, _schema text) RETURNS TEXT
AS
$f$
@ -28,4 +29,4 @@ RAISE NOTICE '%',_sql;
END
$f$
LANGUAGE plpgsql;
LANGUAGE plpgsql;