Skip to main content

embedded_migrations

Macro embedded_migrations 

Source
embedded_migrations!() { /* proc-macro */ }
Expand description

Embed .yaml migrations from a directory at compile time. Returns an EmbeddedMigrations value carrying both the compiled-in files and the absolute source directory path, so the runtime can validate against config.migrations_dir.