[−][src]Module splinter::biome::migrations
Provides sql migration scripts and methods for executing migrations.
ⓘThis example is not tested
use biome::migrations::run_postgres_migrations; use diesel::{pg::PgConnection}; let connection = PgConnection::establish( "postgres://admin:admin@localhost:5432/splinterd").unwrap(); run_postgres_migrations(&connection).unwrap();
Functions
run_postgres_migrations | Run database migrations to create tables defined in the user module |