microsandbox_migration/
lib.rs1mod m20260305_000001_create_image_tables;
4mod m20260305_000002_create_sandbox_tables;
5mod m20260305_000003_create_storage_tables;
6mod m20260305_000004_create_sandbox_images_table;
7mod m20260410_000001_erofs_image_schema;
8mod m20260501_000001_create_snapshot_index;
9mod m20260517_000001_drop_sandbox_metric;
10mod m20260527_000001_migrate_oci_rootfs_source;
11mod m20260531_000001_create_sandbox_labels;
12mod m20260531_000002_index_sandbox_labels_key_value;
13mod m20260606_000001_named_volume_kinds;
14mod m20260621_000001_add_sandbox_ephemeral;
15mod m20260621_000002_create_maintenance_lease;
16pub mod schema_metadata;
17
18use sea_orm_migration::prelude::*;
19
20pub use sea_orm_migration::MigratorTrait;
25
26pub struct Migrator;
32
33#[async_trait::async_trait]
38impl MigratorTrait for Migrator {
39 fn migrations() -> Vec<Box<dyn MigrationTrait>> {
40 vec![
41 Box::new(m20260305_000001_create_image_tables::Migration),
42 Box::new(m20260305_000002_create_sandbox_tables::Migration),
43 Box::new(m20260305_000003_create_storage_tables::Migration),
44 Box::new(m20260305_000004_create_sandbox_images_table::Migration),
45 Box::new(m20260410_000001_erofs_image_schema::Migration),
46 Box::new(m20260501_000001_create_snapshot_index::Migration),
47 Box::new(m20260517_000001_drop_sandbox_metric::Migration),
48 Box::new(m20260527_000001_migrate_oci_rootfs_source::Migration),
49 Box::new(m20260531_000001_create_sandbox_labels::Migration),
50 Box::new(m20260531_000002_index_sandbox_labels_key_value::Migration),
51 Box::new(m20260606_000001_named_volume_kinds::Migration),
52 Box::new(m20260621_000001_add_sandbox_ephemeral::Migration),
53 Box::new(m20260621_000002_create_maintenance_lease::Migration),
54 ]
55 }
56}