macro_rules! create_migrations {
($($from:literal -> $to:literal @ $migration:tt),* $(,)?) => { ... };
}Expand description
A utility macro to make the migrations easier to declare.
The usage is:
<FROM version> -> <TO version> @ <Migrator object>