copy source template from pt branch
This commit is contained in:
parent
65ee6d703b
commit
44373bc616
39
srce_template.pgsql
Normal file
39
srce_template.pgsql
Normal 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
|
Loading…
Reference in New Issue
Block a user