Skip to content

Commit 60f84dd

Browse files
fixes
1 parent fbefc26 commit 60f84dd

File tree

5 files changed

+293
-67
lines changed

5 files changed

+293
-67
lines changed

apps/framework-cli/src/cli/routines/migrate.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,7 @@ mod tests {
10251025
},
10261026
after_column: None,
10271027
database: Some("bad_db".to_string()),
1028+
cluster_name: None,
10281029
},
10291030
SerializableOlapOperation::ModifyTableColumn {
10301031
table: "test".to_string(),
@@ -1051,6 +1052,7 @@ mod tests {
10511052
ttl: None,
10521053
},
10531054
database: Some("another_bad_db".to_string()),
1055+
cluster_name: None,
10541056
},
10551057
];
10561058

apps/framework-cli/src/framework/core/migration_plan.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ mod tests {
199199
database: Some("local".to_string()),
200200
before: None,
201201
after: Some("timestamp + INTERVAL 30 DAY".to_string()),
202+
cluster_name: None,
202203
},
203204
SerializableOlapOperation::DropTable {
204205
table: "old_users".to_string(),
@@ -242,6 +243,7 @@ mod tests {
242243
table: "users".to_string(),
243244
before_column,
244245
after_column,
246+
cluster_name: None,
245247
},
246248
SerializableOlapOperation::DropTable {
247249
table: "old_users".to_string(),
@@ -285,12 +287,14 @@ mod tests {
285287
database: Some("local".to_string()),
286288
before: None,
287289
after: Some("ttl1".to_string()),
290+
cluster_name: None,
288291
},
289292
SerializableOlapOperation::ModifyTableColumn {
290293
database: Some("local".to_string()),
291294
table: "users".to_string(),
292295
before_column,
293296
after_column,
297+
cluster_name: None,
294298
},
295299
SerializableOlapOperation::CreateTable {
296300
table: test_table.clone(),
@@ -330,6 +334,7 @@ mod tests {
330334
before_column: before_column.clone(),
331335
after_column,
332336
database: None,
337+
cluster_name: None,
333338
}],
334339
};
335340

@@ -376,6 +381,7 @@ mod tests {
376381
before_column,
377382
after_column,
378383
database: None,
384+
cluster_name: None,
379385
}],
380386
};
381387

0 commit comments

Comments
 (0)