@@ -1360,9 +1360,9 @@ var (
13601360 WHERE runtime = $1::runtime AND id = $2
13611361 )
13621362
1363- INSERT INTO chain.rofl_instances (runtime, app_id, rak, endorsing_node_id, endorsing_entity_id, rek, expiration_epoch, extra_keys, registration_round, last_processed_round)
1363+ INSERT INTO chain.rofl_instances (runtime, app_id, rak, endorsing_node_id, endorsing_entity_id, rek, expiration_epoch, metadata, extra_keys, registration_round, last_processed_round)
13641364 SELECT
1365- $1, $2, $3, $4, $5, $6, $7, $8, $9, $10
1365+ $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11
13661366 FROM
13671367 check_app
13681368 ON CONFLICT (runtime, app_id, rak) DO UPDATE
@@ -1371,6 +1371,7 @@ var (
13711371 endorsing_entity_id = excluded.endorsing_entity_id,
13721372 rek = excluded.rek,
13731373 expiration_epoch = excluded.expiration_epoch,
1374+ metadata = excluded.metadata,
13741375 extra_keys = excluded.extra_keys,
13751376 registration_round = LEAST(excluded.registration_round, chain.rofl_instances.registration_round),
13761377 last_processed_round = COALESCE(chain.rofl_instances.last_processed_round, excluded.last_processed_round)`
0 commit comments