blob: d53f46b6f57b68c10dca6be12c7e05ac0bc1ae6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
pub use tosin_macros::gather_migrations as gather;
pub struct Migration {
pub id: usize,
pub name: &'static str,
pub prereqs: &'static [(&'static str, usize)],
pub changes: &'static [DatabaseChange],
}
pub enum DatabaseChange {
CreateModel,
}
|