MIGRATIONS

Constant MIGRATIONS 

Source
pub const MIGRATIONS: EmbeddedMigrations;
Expand description

An embedded collection of Diesel migrations stored at compile time.

This constant is used during initialization to run any pending migrations before spinning up the worker threads. The migrations directory is specified by the "./migrations" path at compile time.