Skip to main content

mz_catalog/durable/upgrade/
v84_to_v85.rs

1// Copyright Materialize, Inc. and contributors. All rights reserved.
2//
3// Use of this software is governed by the Business Source License
4// included in the LICENSE file.
5//
6// As of the Change Date specified in that file, in accordance with
7// the Business Source License, use of this software will be governed
8// by the Apache License, Version 2.0.
9
10use crate::durable::upgrade::MigrationAction;
11use crate::durable::upgrade::objects_v84 as v84;
12use crate::durable::upgrade::objects_v85 as v85;
13
14/// No-op migration. All types are JSON-compatible between v84 and v85.
15/// The only changes are adding the new `AlterAddColumnV1` and
16/// `AlterSourceTimestampIntervalV1` audit log event types.
17pub fn upgrade(
18    _snapshot: Vec<v84::StateUpdateKind>,
19) -> Vec<MigrationAction<v84::StateUpdateKind, v85::StateUpdateKind>> {
20    Vec::new()
21}