Module macros

Module macros 

Source
Available on crate feature macros and (crate features runtime-async-std or runtime-tokio) only.
Expand description

This module contains a few useful macros in order to not need the builder.

It provides the following macros:

  • generate! - Generate a destination_path file using migrations from the provided migrations_path folder.

  • generate_using_defaults! - Generate a ./structure.sql file using migrations from the ./migrations folder.