Skip to content

Commit

Permalink
Include a reference to the shape of the migration files in the migrat…
Browse files Browse the repository at this point in the history
…e macro documentation (#1498)
  • Loading branch information
zbigniewzolnierowicz authored Nov 9, 2021
1 parent df2d5c7 commit ce801b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,8 @@ macro_rules! query_file_scalar_unchecked (
/// unlike `include_str!()` which uses compiler internals to get the path of the file where it
/// was invoked.
///
/// See [MigrationSource][crate::migrate::MigrationSource] for details on structure of the ./migrations directory.
///
/// ## Triggering Recompilation on Migration Changes
/// In some cases when making changes to embedded migrations, such as adding a new migration without
/// changing any Rust source files, you might find that `cargo build` doesn't actually do anything,
Expand Down

0 comments on commit ce801b9

Please sign in to comment.