Skip to main content

docbox_management_interface/types/
migration.rs

1use serde::{Deserialize, Serialize};
2
3/// Which service the migration is for
4#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
5pub enum TenantMigrationService {
6    Database,
7    Search,
8    Storage,
9}
10
11#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
12pub struct PendingMigration {
13    /// The service the migration is for
14    pub service: TenantMigrationService,
15    /// The name of the migration
16    pub name: String,
17}