25 lines
899 B
Rust
25 lines
899 B
Rust
pub use sea_orm_migration::prelude::*;
|
|
|
|
mod m20260616_000001_create_users;
|
|
mod m20260616_000002_create_stream_key;
|
|
mod m20260616_000003_create_stream_session;
|
|
mod m20260616_000004_create_auth_session;
|
|
mod m20260815_000005_add_password_to_stream_key;
|
|
mod m20260815_000006_set_stream_keys_unlisted;
|
|
|
|
pub struct Migrator;
|
|
|
|
#[async_trait::async_trait]
|
|
impl MigratorTrait for Migrator {
|
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
|
vec![
|
|
Box::new(m20260616_000001_create_users::Migration),
|
|
Box::new(m20260616_000002_create_stream_key::Migration),
|
|
Box::new(m20260616_000003_create_stream_session::Migration),
|
|
Box::new(m20260616_000004_create_auth_session::Migration),
|
|
Box::new(m20260815_000005_add_password_to_stream_key::Migration),
|
|
Box::new(m20260815_000006_set_stream_keys_unlisted::Migration),
|
|
]
|
|
}
|
|
}
|