add files

This commit is contained in:
Nicholas Orlowsky 2023-08-02 23:14:46 -05:00 committed by Nicholas Orlowsky
commit 206ccb66ad
140 changed files with 367 additions and 0 deletions

View file

@ -0,0 +1,12 @@
use crate::Datatype;
pub struct Column {
pub name: String,
pub data_type: Datatype,
pub length: u16 // used for char(n), varchar(n)
}
pub struct TableDefinition {
pub name: String,
pub column_defs: Vec<Column>,
}