Added a column definition.

This commit is contained in:
Jeff Baskin 2022-08-08 07:53:35 -04:00
parent 07baa7bbec
commit c7d9cf0a69

View File

@ -48,6 +48,9 @@ impl Table {
pub async fn new() -> Self { pub async fn new() -> Self {
Self {} Self {}
} }
async fn new_column(&self, _name: &str, _type: &str) {
}
} }
#[cfg(test)] #[cfg(test)]
@ -110,7 +113,8 @@ mod table {
use super::*; use super::*;
#[async_std::test] #[async_std::test]
async fn create() { async fn add_column() {
Table::new().await; let tbl = Table::new().await;
tbl.new_column("fred", "StaticString").await;
} }
} }