mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Lots of new code to test the import routine.
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
3
storage/database/.gitignore
vendored
3
storage/database/.gitignore
vendored
@@ -1,4 +1,3 @@
|
||||
*
|
||||
!.gitignore
|
||||
!seed.local.json
|
||||
!seed.split.json
|
||||
!seed.*.json
|
72
storage/database/seed.import-test.json
Normal file
72
storage/database/seed.import-test.json
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"users": [
|
||||
{
|
||||
"email": "thegrumpydictator@gmail.com",
|
||||
"password": "james"
|
||||
}
|
||||
],
|
||||
"roles": [
|
||||
{
|
||||
"user_id": 1,
|
||||
"role": 1
|
||||
}
|
||||
],
|
||||
"accounts": [],
|
||||
"account-meta": [],
|
||||
"bills": [],
|
||||
"budgets": [],
|
||||
"budget-limits": [],
|
||||
"monthly-limits": [],
|
||||
"categories": [],
|
||||
"piggy-banks": [],
|
||||
"piggy-events": [],
|
||||
"rule-groups": [],
|
||||
"rules": [],
|
||||
"rule-triggers": [],
|
||||
"rule-actions": [],
|
||||
"tags": [],
|
||||
"monthly-deposits": [],
|
||||
"monthly-transfers": [],
|
||||
"monthly-withdrawals": [],
|
||||
"attachments": [],
|
||||
"multi-withdrawals": [],
|
||||
"multi-deposits": [],
|
||||
"multi-transfers": [],
|
||||
"import-jobs": [
|
||||
{
|
||||
"user_id": 1,
|
||||
"key": "testImport",
|
||||
"file_type": "csv",
|
||||
"status": "settings_complete",
|
||||
"configuration": {
|
||||
"has-headers": false,
|
||||
"date-format": "Ymd",
|
||||
"delimiter": ",",
|
||||
"import-account": 0,
|
||||
"specifics": [],
|
||||
"column-count": 7,
|
||||
"column-roles": [
|
||||
"account-name",
|
||||
"opposing-name",
|
||||
"amount",
|
||||
"date-transaction",
|
||||
"category-name",
|
||||
"budget-name",
|
||||
"description"
|
||||
],
|
||||
"column-do-mapping": [
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false
|
||||
],
|
||||
"column-roles-complete": false,
|
||||
"column-mapping-config": [],
|
||||
"column-mapping-complete": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@@ -1006,5 +1006,6 @@
|
||||
9
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"import-jobs": []
|
||||
}
|
@@ -297,5 +297,6 @@
|
||||
3
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"import-jobs": []
|
||||
}
|
1011
storage/database/seed.testing.json
Normal file
1011
storage/database/seed.testing.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user