From ce801b933006c422ada464d0663c68dcf6c680d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20=C5=BBo=C5=82nierowicz?= Date: Mon, 8 Nov 2021 19:02:01 -0800 Subject: [PATCH] Include a reference to the shape of the migration files in the migrate macro documentation (#1498) --- src/macros.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/macros.rs b/src/macros.rs index c1dceaba1b..a35a119a03 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -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,