wtx 0.45.0

A collection of different transport implementations and related tools focused primarily on web technologies.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Embed migrations

#![cfg(feature = "schema-manager")]

mod embedded_migrations;

use wtx::database::schema_manager::Commands;

/// Compiles
pub async fn compiles() {
  let mut commands = Commands::with_executor(());
  commands.migrate_from_groups(embedded_migrations::GROUPS).await.unwrap();
}