44 lines
1.8 KiB
Rust
44 lines
1.8 KiB
Rust
use sea_orm_migration::prelude::*;
|
|
|
|
mod m20240316_000001_create_table;
|
|
mod m20240322_000001_create_relations;
|
|
mod m20240322_000002_add_likes_shares;
|
|
mod m20240322_000003_add_indexes;
|
|
mod m20240323_000001_add_user_configs;
|
|
mod m20240323_000002_add_simple_credentials;
|
|
mod m20240324_000001_add_addressing;
|
|
mod m20240325_000001_add_deliveries;
|
|
mod m20240325_000002_add_system_key;
|
|
mod m20240418_000001_add_statuses_and_reply_to;
|
|
mod m20240421_000001_add_attachments;
|
|
mod m20240424_000001_add_sensitive_field;
|
|
mod m20240429_000001_add_relays_table;
|
|
mod m20240502_000001_add_object_updated;
|
|
mod m20240512_000001_add_url_to_objects;
|
|
mod m20240520_000001_add_published_to_addressing_actor_index;
|
|
|
|
pub struct Migrator;
|
|
|
|
#[async_trait::async_trait]
|
|
impl MigratorTrait for Migrator {
|
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
|
vec![
|
|
Box::new(m20240316_000001_create_table::Migration),
|
|
Box::new(m20240322_000001_create_relations::Migration),
|
|
Box::new(m20240322_000002_add_likes_shares::Migration),
|
|
Box::new(m20240322_000003_add_indexes::Migration),
|
|
Box::new(m20240323_000001_add_user_configs::Migration),
|
|
Box::new(m20240323_000002_add_simple_credentials::Migration),
|
|
Box::new(m20240324_000001_add_addressing::Migration),
|
|
Box::new(m20240325_000001_add_deliveries::Migration),
|
|
Box::new(m20240325_000002_add_system_key::Migration),
|
|
Box::new(m20240418_000001_add_statuses_and_reply_to::Migration),
|
|
Box::new(m20240421_000001_add_attachments::Migration),
|
|
Box::new(m20240424_000001_add_sensitive_field::Migration),
|
|
Box::new(m20240429_000001_add_relays_table::Migration),
|
|
Box::new(m20240502_000001_add_object_updated::Migration),
|
|
Box::new(m20240512_000001_add_url_to_objects::Migration),
|
|
Box::new(m20240520_000001_add_published_to_addressing_actor_index::Migration),
|
|
]
|
|
}
|
|
}
|