@wmfs/tymly-pg-plugin
Version:
Replace Tymly's out-the-box memory storage with PostgreSQL
32 lines (31 loc) • 593 B
JSON
{
"Comment": "state-machine to import animals",
"version": "1.0",
"StartAt": "ImportingCsvFiles",
"instigators": [
"user"
],
"States": {
"ImportingCsvFiles": {
"Type": "Task",
"InputPath": "$.sourceDir",
"Resource": "module:importingCsvFiles",
"ResourceConfig": {
"headerColumnNamePkPrefix": ".",
"topDownTableOrder": [
"animal_with_age"
],
"truncateTables": true
},
"End": true
}
},
"restrictions": [
{
"roleId": "$everyone",
"allows": [
"*"
]
}
]
}