mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-10 12:24:50 +00:00
First version of a web-based import status thing.
This commit is contained in:
@@ -271,13 +271,14 @@ class TestData
|
||||
$insert = [];
|
||||
foreach ($this->data['import-jobs'] as $job) {
|
||||
$insert[] = [
|
||||
'created_at' => $this->time,
|
||||
'updated_at' => $this->time,
|
||||
'user_id' => $job['user_id'],
|
||||
'file_type' => $job['file_type'],
|
||||
'key' => $job['key'],
|
||||
'status' => $job['status'],
|
||||
'configuration' => json_encode($job['configuration']),
|
||||
'created_at' => $this->time,
|
||||
'updated_at' => $this->time,
|
||||
'user_id' => $job['user_id'],
|
||||
'file_type' => $job['file_type'],
|
||||
'key' => $job['key'],
|
||||
'status' => $job['status'],
|
||||
'extended_status' => json_encode($job['extended_status']),
|
||||
'configuration' => json_encode($job['configuration']),
|
||||
];
|
||||
}
|
||||
DB::table('import_jobs')->insert($insert);
|
||||
|
||||
Reference in New Issue
Block a user