teo_runtime/model/migration/mod.rs
1use serde::Serialize;
2
3#[derive(Debug, Serialize, Clone)]
4pub struct Migration {
5 pub renamed: Option<Vec<String>>,
6 pub version: Option<String>,
7 pub drop: bool,
8}
9
10impl Default for Migration {
11 fn default() -> Self {
12 Migration {
13 renamed: None,
14 version: None,
15 drop: false,
16 }
17 }
18}