2024-03-16 03:29:06 +01:00
|
|
|
use sea_orm_migration::prelude::*;
|
|
|
|
|
2024-05-24 03:41:45 +02:00
|
|
|
mod m20240524_000001_create_actor_activity_object_tables;
|
|
|
|
mod m20240524_000002_create_relations_likes_shares;
|
|
|
|
mod m20240524_000003_create_users_auth_and_config;
|
|
|
|
mod m20240524_000004_create_addressing_deliveries;
|
|
|
|
mod m20240524_000005_create_attachments_tags_mentions;
|
2024-03-16 03:29:06 +01:00
|
|
|
|
|
|
|
pub struct Migrator;
|
|
|
|
|
|
|
|
#[async_trait::async_trait]
|
|
|
|
impl MigratorTrait for Migrator {
|
|
|
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
|
|
|
vec![
|
2024-05-24 03:41:45 +02:00
|
|
|
Box::new(m20240524_000001_create_actor_activity_object_tables::Migration),
|
|
|
|
Box::new(m20240524_000002_create_relations_likes_shares::Migration),
|
|
|
|
Box::new(m20240524_000003_create_users_auth_and_config::Migration),
|
|
|
|
Box::new(m20240524_000004_create_addressing_deliveries::Migration),
|
|
|
|
Box::new(m20240524_000005_create_attachments_tags_mentions::Migration),
|
2024-03-16 03:29:06 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|