rustyroad 1.0.29

Rusty Road is a framework written in Rust that is based on Ruby on Rails. It is designed to provide the familiar conventions and ease of use of Ruby on Rails, while also taking advantage of the performance and efficiency of Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::database::DatabaseType;
use std::path::PathBuf;

#[derive(Debug, PartialEq, Eq)]
pub struct MigrationValidationReport {
    pub database_type: DatabaseType,
    pub migrations_validated: usize,
}

#[derive(Debug)]
pub(super) struct MigrationFile {
    pub(super) name: String,
    pub(super) up_sql_path: PathBuf,
}