Skip to content

Commit

Permalink
fix migration 22 not being run (#5439)
Browse files Browse the repository at this point in the history
  • Loading branch information
trinity-1686a authored Sep 19, 2024
1 parent f3dd8f2 commit b046433
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -640,15 +640,14 @@ impl MetastoreService for PostgresqlMetastore {
FROM
UNNEST($1, $2, $3, $4, $5, $6, $7, $8)
AS staged_splits (split_id, time_range_start, time_range_end, tags_json, split_metadata_json, delete_opstamp, maturity_timestamp, node_id)
ON CONFLICT(split_id) DO UPDATE
ON CONFLICT(index_uid, split_id) DO UPDATE
SET
time_range_start = excluded.time_range_start,
time_range_end = excluded.time_range_end,
tags = excluded.tags,
split_metadata_json = excluded.split_metadata_json,
delete_opstamp = excluded.delete_opstamp,
maturity_timestamp = excluded.maturity_timestamp,
index_uid = excluded.index_uid,
node_id = excluded.node_id,
update_timestamp = CURRENT_TIMESTAMP,
create_timestamp = CURRENT_TIMESTAMP
Expand Down

0 comments on commit b046433

Please sign in to comment.