pocket-relay-database 0.4.0

Module for isolating the database logic from the Pocket Relay servers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub use sea_orm_migration::prelude::*;

mod m20221015_142649_players_table;
mod m20221015_153750_galaxy_at_war_table;
mod m20221222_174733_player_data;
pub struct Migrator;

#[async_trait::async_trait]
impl MigratorTrait for Migrator {
    fn migrations() -> Vec<Box<dyn MigrationTrait>> {
        vec![
            Box::new(m20221015_142649_players_table::Migration),
            Box::new(m20221015_153750_galaxy_at_war_table::Migration),
            Box::new(m20221222_174733_player_data::Migration),
        ]
    }
}