Include a reference to the shape of the migration files in the migrate macro documentation (#1498)

This commit is contained in:
Zbigniew Żołnierowicz 2021-11-08 19:02:01 -08:00 committed by GitHub
parent df2d5c7a1b
commit ce801b9330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,