Rafael Guerreiro

Results 2 comments of Rafael Guerreiro

You can use the `diesel-migrations` crate and do that programmatically. Here's what I'm doing. ```rust mod all { use crate::db::Connection; embed_migrations!("migrations"); pub fn run(connection: &Connection) { embedded_migrations::run_with_output(connection, &mut std::io::stdout()); }...