This commit is contained in:
@@ -102,7 +102,7 @@ class ImportLegalSourceArchive extends Command
|
||||
$links = DB::table('portal_resource_links')->where('resource_id', $resource->id)->orderBy('id')->get();
|
||||
$snapshot = DB::table('portal_resources')->where('id', $resource->id)->first();
|
||||
DB::table('portal_resource_revisions')->insert(['resource_id' => $resource->id, 'revision_no' => $version,
|
||||
'change_type' => 'requirement_evidence_associated',
|
||||
'change_type' => 'evidence_linked',
|
||||
'snapshot' => json_encode(['resource' => $snapshot, 'associations' => $links], JSON_THROW_ON_ERROR),
|
||||
'actor_user_id' => null, 'created_at' => $now]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user