Initial commit
This commit is contained in:
21
src-tauri/src/db/migration/mod.rs
Normal file
21
src-tauri/src/db/migration/mod.rs
Normal file
@@ -0,0 +1,21 @@
|
||||
use sea_orm_migration::prelude::*;
|
||||
|
||||
mod m20260211_000001_init;
|
||||
mod m20260219_000001_folder_command;
|
||||
mod m20260221_000001_folder_is_open;
|
||||
mod m20260226_000001_agent_setting;
|
||||
mod m20260227_000001_folder_parent_branch;
|
||||
pub struct Migrator;
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl MigratorTrait for Migrator {
|
||||
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
||||
vec![
|
||||
Box::new(m20260211_000001_init::Migration),
|
||||
Box::new(m20260219_000001_folder_command::Migration),
|
||||
Box::new(m20260221_000001_folder_is_open::Migration),
|
||||
Box::new(m20260226_000001_agent_setting::Migration),
|
||||
Box::new(m20260227_000001_folder_parent_branch::Migration),
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user