Skip to content

Commit

Permalink
Fix mysql embed migrations tests
Browse files Browse the repository at this point in the history
  • Loading branch information
weiznich committed Mar 25, 2021
1 parent 2485c7c commit e2dca0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions diesel_migrations/migrations_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ use proc_macro::TokenStream;
/// # }
///
/// fn run_migrations(connection: &impl MigrationHarness<DB>) -> Result<(), Box<dyn Error + Send + Sync + 'static>> {
/// # #[cfg(feature = "mysql")]
/// # connection.revert_all_migrations(MIGRATIONS)?;
///
/// // This will run the necessary migrations.
/// //
Expand Down

0 comments on commit e2dca0a

Please sign in to comment.