feat: Add migration scripts for agents and public key revocations
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
pub use sea_orm_migration::prelude::*;
|
||||
|
||||
mod m20260301_000001_create_agents;
|
||||
mod m20260301_000002_create_public_key_revokaction;
|
||||
|
||||
pub struct Migrator;
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl MigratorTrait for Migrator {
|
||||
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
||||
vec![]
|
||||
vec![
|
||||
Box::new(m20260301_000001_create_agents::Migration),
|
||||
Box::new(m20260301_000002_create_public_key_revokaction::Migration),
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user