1 2 3 4 5 6 7 8 9 10 11 12 13
use sqrite::migrations::Migration; pub struct M1InitialLayout; impl Migration for M1InitialLayout { fn get_content(&self) -> &'static str { include_str!("m1_initial_layout.sql") } fn get_name(&self) -> &'static str { "Initial Layout" } }