We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 78293fe + 90db6da commit e0861bbCopy full SHA for e0861bb
1 file changed
diesel/src/migrations/mod.rs
@@ -15,6 +15,10 @@
15
//! folder itself should have the structure `{version}_{migration_name}`. It is recommended that
16
//! you use the timestamp of creation for the version.
17
//!
18
+//! Migrations can either be run with the CLI or embedded into the compiled application
19
+//! and executed with code, for example right after establishing a database connection.
20
+//! For more information, consult the [`embed_migrations!`](../macro.embed_migrations.html) macro.
21
+//!
22
//! ## Example
23
24
//! ```text
0 commit comments