1 2 3 4 5 6 7 8 9 10 11 12 13 14
pub mod generator; pub mod parser; pub mod utils; pub struct Table { pub name: String, pub primary_key: String, pub columns: Vec<Column>, } // name, type, nullable pub type Column = (String, DataType); pub type DataType = (String, bool);