From fb97c1ad1844af3b594df905e2a7a15cab5c3425 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Tue, 10 Aug 2021 23:03:56 -0400 Subject: [PATCH] sql: Assign the embedded release's id to release_id, #43 --- sql/middle/release_tmp.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/middle/release_tmp.sql b/sql/middle/release_tmp.sql index 2b1ef83..e3ea6fb 100644 --- a/sql/middle/release_tmp.sql +++ b/sql/middle/release_tmp.sql @@ -55,7 +55,7 @@ SELECT r.id AS table_id, collection_id, ocid, - NULL AS release_id, + d.data ->> 'id' AS release_id, data_id, --Kingfisher Process’ compiled_release table has no package_data_id column, so setting package_data_id to null. NULL AS package_data_id,