Macro forest_filecoin::db::migration::migration_map::create_migrations
source ยท 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>