1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::ReferenceDb;

use super::AbstractMigrations;

#[async_trait]
impl AbstractMigrations for ReferenceDb {
    #[cfg(test)]
    /// Drop the database
    async fn drop_database(&self) {}

    /// Migrate the database
    async fn migrate_database(&self) -> Result<(), ()> {
        // Here you would do your typical migrations if this was a real database.
        Ok(())
    }
}