copy source template from pt branch

This commit is contained in:
Paul Trowbridge 2017-10-25 10:44:57 -04:00
parent 65ee6d703b
commit 44373bc616

39
srce_template.pgsql Normal file
View File

@ -0,0 +1,39 @@
insert into tps.srce
SELECT
'CAMZ',
$$
{
"name": "CAMZ",
"description":"Chase Amazon Credit Card",
"type": "csv",
"schema": [
{
"key": "Type",
"type": "text"
},
{
"key": "Trans Date",
"type": "date"
},
{
"key": "Post Date",
"type": "date"
},
{
"key": "Description",
"type": "text"
},
{
"key": "Amount",
"type": "numeric"
}
],
"unique_constraint": {
"type": "key",
"fields": [
"{Trans Date}"
,"{Post Date}"
]
}
}
$$::JSONB