mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 22:58:19 +01:00
19 lines
504 B
Rust
19 lines
504 B
Rust
pub use sea_orm_migration::prelude::*;
|
|
|
|
mod m20220101_000001_post_table;
|
|
mod m20240417_230111_user_table;
|
|
mod m20240417_233430_post_user_keys;
|
|
|
|
pub struct Migrator;
|
|
|
|
#[async_trait::async_trait]
|
|
impl MigratorTrait for Migrator {
|
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
|
vec![
|
|
Box::new(m20220101_000001_post_table::Migration),
|
|
Box::new(m20240417_230111_user_table::Migration),
|
|
Box::new(m20240417_233430_post_user_keys::Migration),
|
|
]
|
|
}
|
|
}
|