Macro include
Source macro_rules! include {
() => { ... };
}
Expand description
Includes all migration files discovered by the list
function at compile time.
This macro expands to a static slice of Migration
structs containing
all SQL files found in the migrations directory.
§Example
ⓘstatic MIGRATIONS: &[migrations::Migration] = ic_sql_migrate::include!();