mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
Include a reference to the shape of the migration files in the migrate macro documentation (#1498)
This commit is contained in:
parent
df2d5c7a1b
commit
ce801b9330
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user