mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-27 19:23:01 +00:00
Add cfg sqlite condition
This commit is contained in:
parent
c64b9bee45
commit
7cc0ecb981
@ -48,6 +48,7 @@ impl Migrator {
|
||||
///
|
||||
/// ```rust,no_run
|
||||
/// # use sqlx_core::migrate::MigrateError;
|
||||
/// # [cfg(feature = "sqlite")]
|
||||
/// # fn main() -> Result<(), MigrateError> {
|
||||
/// # sqlx_rt::block_on(async move {
|
||||
/// # use sqlx_core::migrate::Migrator;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user