pub fn new(conn: DB::Connection) -> Self {
        Self {
            options: MigratorOptions::default(),
            conn,
            table: Cow::Borrowed(DEFAULT_MIGRATIONS_TABLE),
            migrations: Vec::default(),
        }
    }
/// Create a new migrator that uses an existing connection.
Create a new migrator that uses an existing connection.
Create a new migrator that uses an existing connection .
pub fn new(conn: DB::Connection) -> Self {
        Self {
            options: MigratorOptions::default(),
            conn,
            table: Cow::Borrowed(DEFAULT_MIGRATIONS_TABLE),
            migrations: Vec::default(),
        }
    }
pub fn new ( conn : DB :: Connection ) -> Self { Self { options : MigratorOptions :: default ( ) , conn , table : Cow :: Borrowed ( DEFAULT_MIGRATIONS_TABLE ) , migrations : Vec :: default ( ) , } }
Create a new migrator that uses an existing connection.
Create a new migrator that uses an existing connection .
conn
DB::Connection
conn
DB::Connection